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 ofIFhirVersionServer
for this version.
newBundleFactory
(FhirContext theContext) default IIdType
Creates a newIIdType
instance for the given version with the given valuedefault IIdType
Creates a newIIdType
instance 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 newIIdType
instance for the given version with the given value- Since:
- 8.0.0
-
newIdType
Creates a newIIdType
instance for the given version with the given value- Since:
- 8.0.0
-
getServerVersion
Returns an instance ofIFhirVersionServer
for this version. Note that this method may only be called if the
hapi-fhir-server
JAR is on the classpath. Otherwise it will result in aClassNotFoundException
-