Class FhirEntityGeneric


  • public class FhirEntityGeneric
    extends FhirEntity
    Author:
    Laurent Hasson
    • Field Detail

      • LOG

        protected static final org.apache.logging.log4j.Logger LOG
      • _resourceJsonObj

        protected com.google.gson.JsonObject _resourceJsonObj
    • Constructor Detail

      • FhirEntityGeneric

        public FhirEntityGeneric​(java.lang.String resourceType,
                                 java.lang.String primaryIdentifierSystem,
                                 java.lang.String resourceJson,
                                 java.lang.String uuid)
    • 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 class FhirEntity
        Returns: