Class MetaUtil

    • Method Detail

      • 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:
        Meta.source