
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 ITermConceptMapDao
protected ITermConceptMapGroupDao
protected ITermConceptMapGroupElementDao
protected ITermConceptMapGroupElementTargetDao
protected javax.persistence.EntityManager
Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
This method is present only for unit tests, do not call from client codestatic void
This method is present only for unit tests, do not call from client codevoid
deleteConceptMap
(ResourceTable theResourceTable) void
deleteConceptMapAndChildren
(ResourceTable theResourceTable) ca.uhn.fhir.context.FhirContext
void
storeTermConceptMapAndChildren
(ResourceTable theResourceTable, org.hl7.fhir.r4.model.ConceptMap theConceptMap) static org.hl7.fhir.r4.model.Parameters
toParameters
(ca.uhn.fhir.context.support.TranslateConceptResults theTranslationResult) ca.uhn.fhir.context.support.TranslateConceptResults
translate
(TranslationRequest theTranslationRequest) ca.uhn.fhir.context.support.TranslateConceptResults
translateConcept
(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) ca.uhn.fhir.context.support.TranslateConceptResults
translateWithReverse
(TranslationRequest theTranslationRequest) 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.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:
deleteConceptMapAndChildren
in interfaceITermConceptMappingSvc
-
getFhirContext
- Specified by:
getFhirContext
in 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:
translateConcept
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
storeTermConceptMapAndChildren
@Transactional public void storeTermConceptMapAndChildren(ResourceTable theResourceTable, org.hl7.fhir.r4.model.ConceptMap theConceptMap) - Specified by:
storeTermConceptMapAndChildren
in interfaceITermConceptMappingSvc
-
translate
@Transactional(propagation=REQUIRED) public ca.uhn.fhir.context.support.TranslateConceptResults translate(TranslationRequest theTranslationRequest) - Specified by:
translate
in interfaceITermConceptMappingSvc
-
translateWithReverse
@Transactional(propagation=REQUIRED) public ca.uhn.fhir.context.support.TranslateConceptResults translateWithReverse(TranslationRequest theTranslationRequest) - Specified by:
translateWithReverse
in 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)
-