
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
Modifier and TypeMethodDescriptioncreateFhirPathExecutor(FhirContext theFhirContext) generateProfile(RuntimeResourceDefinition theRuntimeResourceDefinition, String theServerBase) Class<?> getLastUpdated(IBaseResource theResource) Returns an instance ofIFhirVersionServerfor this version.newBundleFactory(FhirContext theContext) default IIdTypeCreates a newIIdTypeinstance for the given version with the given valuedefault IIdTypeCreates a newIIdTypeinstance for the given version with the given value
-
Method Details
-
createFhirPathExecutor
-
generateProfile
IBaseResource generateProfile(RuntimeResourceDefinition theRuntimeResourceDefinition, String theServerBase) -
getContainedType
Class<?> getContainedType() -
getFhirVersionPropertiesFile
-
getLastUpdated
-
getPathToSchemaDefinitions
-
getResourceReferenceType
Class<? extends IBase> getResourceReferenceType() -
getVersion
-
newBundleFactory
-
newCodingDt
-
newIdType
-
newIdType
Creates a newIIdTypeinstance for the given version with the given value- Since:
- 8.0.0
-
newIdType
Creates a newIIdTypeinstance for the given version with the given value- Since:
- 8.0.0
-
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
-