
Package ca.uhn.fhir.jpa.term
Class TermVersionAdapterSvcR4
java.lang.Object
ca.uhn.fhir.jpa.term.BaseTermVersionAdapterSvcImpl
ca.uhn.fhir.jpa.term.TermVersionAdapterSvcR4
- All Implemented Interfaces:
ITermVersionAdapterSvc
public class TermVersionAdapterSvcR4
extends BaseTermVersionAdapterSvcImpl
implements ITermVersionAdapterSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IIdTypecreateOrUpdateCodeSystem(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) voidcreateOrUpdateConceptMap(org.hl7.fhir.r4.model.ConceptMap theConceptMap) voidcreateOrUpdateValueSet(org.hl7.fhir.r4.model.ValueSet theValueSet) voidstart(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
validateCodeSystemForStorageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.term.api.ITermVersionAdapterSvc
createOrUpdateCodeSystem
-
Constructor Details
-
TermVersionAdapterSvcR4
public TermVersionAdapterSvcR4()
-
-
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:
createOrUpdateCodeSystemin interfaceITermVersionAdapterSvc
-
createOrUpdateConceptMap
- Specified by:
createOrUpdateConceptMapin interfaceITermVersionAdapterSvc
-
createOrUpdateValueSet
- Specified by:
createOrUpdateValueSetin interfaceITermVersionAdapterSvc
-