Package ca.uhn.fhir.jpa.term
Class TermConceptMappingSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.term.TermConceptClientMappingSvcImpl
ca.uhn.fhir.jpa.term.TermConceptMappingSvcImpl
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport
,ITermConceptClientMappingSvc
,ITermConceptMappingSvc
public class TermConceptMappingSvcImpl
extends TermConceptClientMappingSvcImpl
implements 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.CodeValidationIssue, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCoding, 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.GroupConceptProperty, 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
Modifier and TypeFieldDescriptionprotected ITermConceptMapGroupDao
protected ITermConceptMapGroupElementDao
protected ITermConceptMapGroupElementTargetDao
Fields inherited from class ca.uhn.fhir.jpa.term.TermConceptClientMappingSvcImpl
myConceptMapDao, myContext, myEntityManager, myIdHelperService, myMemoryCacheService, ourLastResultsFromTranslationCache, ourLastResultsFromTranslationWithReverseCache
Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET
-
Constructor Summary
-
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) getName()
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
translateConcept
(ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest theRequest) Methods inherited from class ca.uhn.fhir.jpa.term.TermConceptClientMappingSvcImpl
getFhirContext, translate, translateWithReverse
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.ITermConceptClientMappingSvc
translate, translateWithReverse
Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport
expandValueSet, expandValueSet, fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllSearchParameters, fetchAllStructureDefinitions, fetchBinary, fetchCodeSystem, fetchResource, fetchStructureDefinition, fetchValueSet, generateSnapshot, getFhirContext, invalidateCaches, isCodeSystemSupported, isEnabledValidationForCodingsLogicalAnd, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, lookupCode, validateCode, validateCodeInValueSet
-
Field Details
-
myConceptMapGroupDao
-
myConceptMapGroupElementDao
-
myConceptMapGroupElementTargetDao
-
-
Constructor Details
-
TermConceptMappingSvcImpl
public TermConceptMappingSvcImpl()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
deleteConceptMapAndChildren
- Specified by:
deleteConceptMapAndChildren
in interfaceITermConceptMappingSvc
-
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
-
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)
-