Class MetaUtil

java.lang.Object
ca.uhn.fhir.util.MetaUtil

public class MetaUtil extends Object
  • Method Details

    • getSource

      public static String getSource(FhirContext theContext, IBaseMetaType theMeta)
    • setSource

      public static void setSource(FhirContext theContext, IBaseResource theResource, String theValue)
      Sets the value for Resource.meta.source for R4+ resources, and places the value in an extension on Resource.meta with the URL http://hapifhir.io/fhir/StructureDefinition/resource-meta-source for DSTU3.
      Parameters:
      theContext - The FhirContext object
      theResource - The resource to modify
      theValue - The source URI
      See Also:
    • setSource

      public static void setSource(FhirContext theContext, IBaseMetaType theMeta, String theValue)