Class HapiWorkerContext
- java.lang.Object
-
- org.hl7.fhir.utilities.i18n.I18nBase
-
- org.hl7.fhir.dstu2016may.hapi.validation.HapiWorkerContext
-
- All Implemented Interfaces:
org.hl7.fhir.dstu2016may.utils.IWorkerContext
public final class HapiWorkerContext extends org.hl7.fhir.utilities.i18n.I18nBase implements org.hl7.fhir.dstu2016may.utils.IWorkerContext
-
-
Constructor Summary
Constructors Constructor Description HapiWorkerContext(ca.uhn.fhir.context.FhirContext theCtx, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.hl7.fhir.dstu2016may.model.StructureDefinition>allStructures()org.hl7.fhir.dstu2016may.model.ValueSet.ValueSetExpansionComponentexpandVS(org.hl7.fhir.dstu2016may.model.ValueSet.ConceptSetComponent theInc)org.hl7.fhir.dstu2016may.terminologies.ValueSetExpander.ValueSetExpansionOutcomeexpandVS(org.hl7.fhir.dstu2016may.model.ValueSet theSource, boolean theCacheOk)org.hl7.fhir.dstu2016may.model.CodeSystemfetchCodeSystem(String theSystem)<T extends org.hl7.fhir.dstu2016may.model.Resource>
TfetchResource(Class<T> theClass, String theUri)org.hl7.fhir.dstu2016may.model.StructureDefinitionfetchTypeDefinition(String typeName)List<org.hl7.fhir.dstu2016may.model.ConceptMap>findMapsForSource(String theUrl)StringgetAbbreviation(String theName)org.hl7.fhir.dstu2016may.utils.INarrativeGeneratorgetNarrativeGenerator(String theS, String theS1)org.hl7.fhir.dstu2016may.formats.IParsergetParser(String theType)org.hl7.fhir.dstu2016may.formats.IParsergetParser(org.hl7.fhir.dstu2016may.formats.ParserType theType)List<String>getResourceNames()<T extends org.hl7.fhir.dstu2016may.model.Resource>
booleanhasResource(Class<T> theClass_, String theUri)org.hl7.fhir.dstu2016may.formats.IParsernewJsonParser()org.hl7.fhir.dstu2016may.formats.IParsernewXmlParser()Stringoid2Uri(String theCode)booleansupportsSystem(String theSystem)Set<String>typeTails()org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResultvalidateCode(String theSystem, String theCode, String theDisplay)org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResultvalidateCode(String theSystem, String theCode, String theDisplay, org.hl7.fhir.dstu2016may.model.ValueSet theVs)org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResultvalidateCode(String theSystem, String theCode, String theDisplay, org.hl7.fhir.dstu2016may.model.ValueSet.ConceptSetComponent theVsi)org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResultvalidateCode(org.hl7.fhir.dstu2016may.model.CodeableConcept theCode, org.hl7.fhir.dstu2016may.model.ValueSet theVs)org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResultvalidateCode(org.hl7.fhir.dstu2016may.model.Coding theCode, org.hl7.fhir.dstu2016may.model.ValueSet theVs)-
Methods inherited from class org.hl7.fhir.utilities.i18n.I18nBase
formatMessage, getLocale, isWarnAboutMissingMessages, setLocale, setValidationMessageLanguage, setWarnAboutMissingMessages
-
-
-
-
Constructor Detail
-
HapiWorkerContext
public HapiWorkerContext(ca.uhn.fhir.context.FhirContext theCtx, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
-
-
Method Detail
-
allStructures
public List<org.hl7.fhir.dstu2016may.model.StructureDefinition> allStructures()
- Specified by:
allStructuresin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
fetchCodeSystem
public org.hl7.fhir.dstu2016may.model.CodeSystem fetchCodeSystem(String theSystem)
- Specified by:
fetchCodeSystemin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
fetchResource
public <T extends org.hl7.fhir.dstu2016may.model.Resource> T fetchResource(Class<T> theClass, String theUri)
- Specified by:
fetchResourcein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
findMapsForSource
public List<org.hl7.fhir.dstu2016may.model.ConceptMap> findMapsForSource(String theUrl)
- Specified by:
findMapsForSourcein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
getAbbreviation
public String getAbbreviation(String theName)
- Specified by:
getAbbreviationin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
getParser
public org.hl7.fhir.dstu2016may.formats.IParser getParser(org.hl7.fhir.dstu2016may.formats.ParserType theType)
- Specified by:
getParserin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
getParser
public org.hl7.fhir.dstu2016may.formats.IParser getParser(String theType)
- Specified by:
getParserin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
getResourceNames
public List<String> getResourceNames()
- Specified by:
getResourceNamesin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
hasResource
public <T extends org.hl7.fhir.dstu2016may.model.Resource> boolean hasResource(Class<T> theClass_, String theUri)
- Specified by:
hasResourcein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
newJsonParser
public org.hl7.fhir.dstu2016may.formats.IParser newJsonParser()
- Specified by:
newJsonParserin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
newXmlParser
public org.hl7.fhir.dstu2016may.formats.IParser newXmlParser()
- Specified by:
newXmlParserin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
getNarrativeGenerator
public org.hl7.fhir.dstu2016may.utils.INarrativeGenerator getNarrativeGenerator(String theS, String theS1)
- Specified by:
getNarrativeGeneratorin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
oid2Uri
public String oid2Uri(String theCode)
- Specified by:
oid2Uriin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
fetchTypeDefinition
public org.hl7.fhir.dstu2016may.model.StructureDefinition fetchTypeDefinition(String typeName)
- Specified by:
fetchTypeDefinitionin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
supportsSystem
public boolean supportsSystem(String theSystem)
- Specified by:
supportsSystemin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
typeTails
public Set<String> typeTails()
- Specified by:
typeTailsin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
validateCode
public org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.dstu2016may.model.CodeableConcept theCode, org.hl7.fhir.dstu2016may.model.ValueSet theVs)
- Specified by:
validateCodein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
validateCode
public org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.dstu2016may.model.Coding theCode, org.hl7.fhir.dstu2016may.model.ValueSet theVs)
- Specified by:
validateCodein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
validateCode
public org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResult validateCode(String theSystem, String theCode, String theDisplay)
- Specified by:
validateCodein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
validateCode
public org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResult validateCode(String theSystem, String theCode, String theDisplay, org.hl7.fhir.dstu2016may.model.ValueSet.ConceptSetComponent theVsi)
- Specified by:
validateCodein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
validateCode
public org.hl7.fhir.dstu2016may.utils.IWorkerContext.ValidationResult validateCode(String theSystem, String theCode, String theDisplay, org.hl7.fhir.dstu2016may.model.ValueSet theVs)
- Specified by:
validateCodein interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
expandVS
public org.hl7.fhir.dstu2016may.terminologies.ValueSetExpander.ValueSetExpansionOutcome expandVS(org.hl7.fhir.dstu2016may.model.ValueSet theSource, boolean theCacheOk)
- Specified by:
expandVSin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
expandVS
public org.hl7.fhir.dstu2016may.model.ValueSet.ValueSetExpansionComponent expandVS(org.hl7.fhir.dstu2016may.model.ValueSet.ConceptSetComponent theInc)
- Specified by:
expandVSin interfaceorg.hl7.fhir.dstu2016may.utils.IWorkerContext
-
-