Package tilda.utils.fhir
Class FhirEntityGeneric
- java.lang.Object
-
- tilda.utils.fhir.FhirEntity
-
- tilda.utils.fhir.FhirEntityGeneric
-
public class FhirEntityGeneric extends FhirEntity
- Author:
- Laurent Hasson
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gson.JsonObject
_resourceJsonObj
protected static org.apache.logging.log4j.Logger
LOG
-
Fields inherited from class tilda.utils.fhir.FhirEntity
_lastUpdated, _primaryIdentifierSystem, _primaryIdentifierValue, _resourceType, _uuid, _versionId
-
-
Constructor Summary
Constructors Constructor Description FhirEntityGeneric​(java.lang.String resourceType, java.lang.String primaryIdentifierSystem, java.lang.String resourceJson, java.lang.String uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getResource()
Must be called only after al dependencies have been re-hydrated.-
Methods inherited from class tilda.utils.fhir.FhirEntity
getLastUpdated, getPrimaryIdentifierSystem, getPrimaryIdentifierValue, getReference, getResourceType, getUuid, getVersionId, setUuid
-
-
-
-
Method Detail
-
getResource
public com.google.gson.JsonObject getResource()
Description copied from class:FhirEntity
Must be called only after al dependencies have been re-hydrated. For example, an encounter depends on a patient and an organization, so those dependencies must have been read/created before this entity is written.- Specified by:
getResource
in classFhirEntity
- Returns:
-
-