Package ca.uhn.fhir.model.api
Interface IFhirVersion
-
public interface IFhirVersion
Each structure version JAR will have an implementation of this interface. This is used internally by HAPI and subject to change. Do not use this interface directly in user code. See also IFhirVersionServer for the hapi-fhir-server equivalent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFluentPathcreateFluentPathExecutor(FhirContext theFhirContext)IContextValidationSupport<?,?,?,?,?,?>createValidationSupport()IBaseResourcegenerateProfile(RuntimeResourceDefinition theRuntimeResourceDefinition, String theServerBase)Class<?>getContainedType()InputStreamgetFhirVersionPropertiesFile()IPrimitiveType<Date>getLastUpdated(IBaseResource theResource)StringgetPathToSchemaDefinitions()Class<? extends IBase>getResourceReferenceType()ObjectgetServerVersion()Returns an instance ofIFhirVersionServerfor this version.FhirVersionEnumgetVersion()IVersionSpecificBundleFactorynewBundleFactory(FhirContext theContext)IBasenewCodingDt()IIdTypenewIdType()
-
-
-
Method Detail
-
createFluentPathExecutor
IFluentPath createFluentPathExecutor(FhirContext theFhirContext)
-
createValidationSupport
IContextValidationSupport<?,?,?,?,?,?> createValidationSupport()
-
generateProfile
IBaseResource generateProfile(RuntimeResourceDefinition theRuntimeResourceDefinition, String theServerBase)
-
getContainedType
Class<?> getContainedType()
-
getFhirVersionPropertiesFile
InputStream getFhirVersionPropertiesFile()
-
getLastUpdated
IPrimitiveType<Date> getLastUpdated(IBaseResource theResource)
-
getPathToSchemaDefinitions
String getPathToSchemaDefinitions()
-
getResourceReferenceType
Class<? extends IBase> getResourceReferenceType()
-
getVersion
FhirVersionEnum getVersion()
-
newBundleFactory
IVersionSpecificBundleFactory newBundleFactory(FhirContext theContext)
-
newCodingDt
IBase newCodingDt()
-
getServerVersion
Object getServerVersion()
Returns an instance ofIFhirVersionServerfor this version. Note that this method may only be called if thehapi-fhir-serverJAR is on the classpath. Otherwise it will result in aClassNotFoundException
-
-