Package ca.uhn.fhir.util
Class MetaUtil
- java.lang.Object
-
- ca.uhn.fhir.util.MetaUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetSource(FhirContext theContext, IBaseMetaType theMeta)static voidsetSource(FhirContext theContext, IBaseMetaType theMeta, String theValue)static voidsetSource(FhirContext theContext, IBaseResource theResource, String theValue)Sets the value forResource.meta.sourcefor R4+ resources, and places the value in an extension onResource.metawith the URLhttp://hapifhir.io/fhir/StructureDefinition/resource-meta-sourcefor DSTU3.
-
-
-
Method Detail
-
getSource
public static String getSource(FhirContext theContext, IBaseMetaType theMeta)
-
setSource
public static void setSource(FhirContext theContext, IBaseResource theResource, String theValue)
Sets the value forResource.meta.sourcefor R4+ resources, and places the value in an extension onResource.metawith the URLhttp://hapifhir.io/fhir/StructureDefinition/resource-meta-sourcefor DSTU3.- Parameters:
theContext- The FhirContext objecttheResource- The resource to modifytheValue- The source URI- See Also:
- Meta.source
-
setSource
public static void setSource(FhirContext theContext, IBaseMetaType theMeta, String theValue)
-
-