Package ca.uhn.fhir.jpa.term
Class TermVersionAdapterSvcR5
java.lang.Object
ca.uhn.fhir.jpa.term.BaseTermVersionAdapterSvcImpl
ca.uhn.fhir.jpa.term.TermVersionAdapterSvcR5
- All Implemented Interfaces:
ITermVersionAdapterSvc
public class TermVersionAdapterSvcR5
extends BaseTermVersionAdapterSvcImpl
implements ITermVersionAdapterSvc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IIdType
createOrUpdateCodeSystem
(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) void
createOrUpdateConceptMap
(org.hl7.fhir.r4.model.ConceptMap theConceptMap) void
createOrUpdateValueSet
(org.hl7.fhir.r4.model.ValueSet theValueSet) void
start
(org.springframework.context.event.ContextRefreshedEvent theEvent) Initialize the beans that are used by this service.Methods inherited from class ca.uhn.fhir.jpa.term.BaseTermVersionAdapterSvcImpl
validateCodeSystemForStorage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.jpa.term.api.ITermVersionAdapterSvc
createOrUpdateCodeSystem
-
Constructor Details
-
TermVersionAdapterSvcR5
public TermVersionAdapterSvcR5()
-
-
Method Details
-
start
Initialize the beans that are used by this service. Note: There is a circular dependency here where the CodeSystem DAO needs terminology services, and the term services need the CodeSystem DAO. So we look these up in a refresh event instead of just autowiring them in order to avoid weird circular reference errors. -
createOrUpdateCodeSystem
public org.hl7.fhir.instance.model.api.IIdType createOrUpdateCodeSystem(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
createOrUpdateCodeSystem
in interfaceITermVersionAdapterSvc
-
createOrUpdateConceptMap
- Specified by:
createOrUpdateConceptMap
in interfaceITermVersionAdapterSvc
-
createOrUpdateValueSet
- Specified by:
createOrUpdateValueSet
in interfaceITermVersionAdapterSvc
-