Class FhirUtils


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

      • FhirUtils

        public FhirUtils()
    • Method Detail

      • 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