Class FhirUtils

java.lang.Object
au.csiro.pathling.fhir.FhirUtils

public class FhirUtils extends Object
A utility class for working with FHIR resources.
Author:
John Grimes
  • Constructor Details

    • FhirUtils

      public FhirUtils()
  • Method Details

    • getResourceType

      public static Enumerations.ResourceType getResourceType(@Nullable String resourceCode)
      A method for getting a FHIR resource type from a string. This method will always throw an error if the string does not match a known resource type.
      Parameters:
      resourceCode - the string to convert to a resource type
      Returns:
      the resource type