Package ca.uhn.fhir.jpa.term
Class TermConceptMappingSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.term.TermConceptMappingSvcImpl
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport,ITermConceptMappingSvc
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IValidationSupport
ca.uhn.fhir.context.support.IValidationSupport.BaseConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult, ca.uhn.fhir.context.support.IValidationSupport.CodingConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.ConceptDesignation, ca.uhn.fhir.context.support.IValidationSupport.IssueSeverity, ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult, ca.uhn.fhir.context.support.IValidationSupport.StringConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest, ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ITermConceptMapDaoprotected ITermConceptMapGroupDaoprotected ITermConceptMapGroupElementDaoprotected ITermConceptMapGroupElementTargetDaoprotected javax.persistence.EntityManagerFields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method is present only for unit tests, do not call from client codestatic voidThis method is present only for unit tests, do not call from client codevoiddeleteConceptMap(ResourceTable theResourceTable) voiddeleteConceptMapAndChildren(ResourceTable theResourceTable) ca.uhn.fhir.context.FhirContextvoidstoreTermConceptMapAndChildren(ResourceTable theResourceTable, org.hl7.fhir.r4.model.ConceptMap theConceptMap) static org.hl7.fhir.r4.model.ParameterstoParameters(ca.uhn.fhir.context.support.TranslateConceptResults theTranslationResult) ca.uhn.fhir.context.support.TranslateConceptResultstranslate(TranslationRequest theTranslationRequest) ca.uhn.fhir.context.support.TranslateConceptResultstranslateConcept(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) ca.uhn.fhir.context.support.TranslateConceptResultstranslateWithReverse(TranslationRequest theTranslationRequest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.context.support.IValidationSupport
expandValueSet, expandValueSet, fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllSearchParameters, fetchAllStructureDefinitions, fetchBinary, fetchCodeSystem, fetchResource, fetchStructureDefinition, fetchValueSet, generateSnapshot, invalidateCaches, isCodeSystemSupported, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, validateCode, validateCodeInValueSet
-
Field Details
-
myConceptMapDao
-
myConceptMapGroupDao
-
myConceptMapGroupElementDao
-
myConceptMapGroupElementTargetDao
-
myEntityManager
-
-
Constructor Details
-
TermConceptMappingSvcImpl
public TermConceptMappingSvcImpl()
-
-
Method Details
-
deleteConceptMapAndChildren
- Specified by:
deleteConceptMapAndChildrenin interfaceITermConceptMappingSvc
-
getFhirContext
- Specified by:
getFhirContextin interfaceca.uhn.fhir.context.support.IValidationSupport
-
translateConcept
@Transactional public ca.uhn.fhir.context.support.TranslateConceptResults translateConcept(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) - Specified by:
translateConceptin interfaceca.uhn.fhir.context.support.IValidationSupport
-
storeTermConceptMapAndChildren
@Transactional public void storeTermConceptMapAndChildren(ResourceTable theResourceTable, org.hl7.fhir.r4.model.ConceptMap theConceptMap) - Specified by:
storeTermConceptMapAndChildrenin interfaceITermConceptMappingSvc
-
translate
@Transactional(propagation=REQUIRED) public ca.uhn.fhir.context.support.TranslateConceptResults translate(TranslationRequest theTranslationRequest) - Specified by:
translatein interfaceITermConceptMappingSvc
-
translateWithReverse
@Transactional(propagation=REQUIRED) public ca.uhn.fhir.context.support.TranslateConceptResults translateWithReverse(TranslationRequest theTranslationRequest) - Specified by:
translateWithReversein interfaceITermConceptMappingSvc
-
deleteConceptMap
-
clearOurLastResultsFromTranslationCache
This method is present only for unit tests, do not call from client code -
clearOurLastResultsFromTranslationWithReverseCache
This method is present only for unit tests, do not call from client code -
toParameters
public static org.hl7.fhir.r4.model.Parameters toParameters(ca.uhn.fhir.context.support.TranslateConceptResults theTranslationResult)
-