Class FhirResourceDaoCodeSystemR4

java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<org.hl7.fhir.r4.model.CodeSystem>
ca.uhn.fhir.jpa.dao.r4.FhirResourceDaoCodeSystemR4
All Implemented Interfaces:
ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r4.model.CodeSystem>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>, ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r4.model.CodeSystem>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FhirResourceDaoCodeSystemR4
extends BaseHapiFhirResourceDao<org.hl7.fhir.r4.model.CodeSystem>
implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>
  • Field Details

  • Constructor Details

  • Method Details

    • findCodeSystemIdsContainingSystemAndCode

      public List<org.hl7.fhir.instance.model.api.IIdType> findCodeSystemIdsContainingSystemAndCode​(String theCode, String theSystem, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
      Specified by:
      findCodeSystemIdsContainingSystemAndCode in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>
    • lookupCode

      @Nonnull public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode​(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.r4.model.Coding theCoding, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      lookupCode in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>
    • subsumes

      public ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem.SubsumesResult subsumes​(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeA, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeB, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.r4.model.Coding theCodingA, org.hl7.fhir.r4.model.Coding theCodingB, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      subsumes in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>
    • preDelete

      protected void preDelete​(org.hl7.fhir.r4.model.CodeSystem theResourceToDelete, ResourceTable theEntityToDelete)
      Description copied from class: BaseHapiFhirResourceDao
      Subclasses may override to provide behaviour. Invoked within a delete transaction with the resource that is about to be deleted.
      Overrides:
      preDelete in class BaseHapiFhirResourceDao<org.hl7.fhir.r4.model.CodeSystem>
    • updateEntity

      public ResourceTable updateEntity​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, IBasePersistedResource theEntity, Date theDeletedTimestampOrNull, boolean thePerformIndexing, boolean theUpdateVersion, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theForceUpdate, boolean theCreateNewHistoryEntry)
      Specified by:
      updateEntity in interface ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r4.model.CodeSystem>
      Overrides:
      updateEntity in class BaseHapiFhirDao<org.hl7.fhir.r4.model.CodeSystem>
    • validateCode

      public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode​(org.hl7.fhir.instance.model.api.IIdType theCodeSystemId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeSystemUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, org.hl7.fhir.r4.model.Coding theCoding, org.hl7.fhir.r4.model.CodeableConcept theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      validateCode in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r4.model.CodeSystem,​org.hl7.fhir.r4.model.Coding,​org.hl7.fhir.r4.model.CodeableConcept>