Class FhirResourceDaoCodeSystemR5

  • All Implemented Interfaces:
    ca.uhn.fhir.jpa.api.dao.IDao, ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r5.model.CodeSystem>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.model.CodeableConcept>, ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r5.model.CodeSystem>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class FhirResourceDaoCodeSystemR5
    extends BaseHapiFhirResourceDao<org.hl7.fhir.r5.model.CodeSystem>
    implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.model.CodeableConcept>
    • Method Detail

      • 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.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.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.r5.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.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.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.r5.model.Coding theCoding,
                                                                                          org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplayLanguage,
                                                                                          ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
        Specified by:
        lookupCode in interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<org.hl7.fhir.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.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.r5.model.Coding theCodingA,
                                                                                          org.hl7.fhir.r5.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.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.model.CodeableConcept>
      • preDelete

        protected void preDelete​(org.hl7.fhir.r5.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.r5.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.r5.model.CodeSystem>
        Overrides:
        updateEntity in class BaseHapiFhirDao<org.hl7.fhir.r5.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.r5.model.Coding theCoding,
                                                                                                org.hl7.fhir.r5.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.r5.model.CodeSystem,​org.hl7.fhir.r5.model.Coding,​org.hl7.fhir.r5.model.CodeableConcept>