public interface IWorkerContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
IWorkerContext.ValidationResult |
| Modifier and Type | Method and Description |
|---|---|
List<StructureDefinition> |
allStructures() |
ValueSet.ValueSetExpansionComponent |
expandVS(ValueSet.ConceptSetComponent inc)
Value set expanion inside the internal expansion engine - used
for references to supported system (see "supportsSystem") for
which there is no value set.
|
ValueSetExpander.ValueSetExpansionOutcome |
expandVS(ValueSet source,
boolean cacheOk)
ValueSet Expansion - see $expand
|
CodeSystem |
fetchCodeSystem(String system)
Find the code system definition for the nominated system uri.
|
<T extends Resource> |
fetchResource(Class<T> class_,
String uri)
Find an identified resource.
|
List<ConceptMap> |
findMapsForSource(String url)
find concept maps for a source
|
String |
getAbbreviation(String name)
returns the recommended tla for the type
|
IParser |
getParser(ParserType type)
Get a parser to read/write instances.
|
IParser |
getParser(String type)
Get a parser to read/write instances.
|
List<String> |
getResourceNames() |
<T extends Resource> |
hasResource(Class<T> class_,
String uri)
find whether a resource is available.
|
IParser |
newJsonParser()
Get a JSON parser
|
IResourceValidator |
newValidator()
Get a validator that can check whether a resource is valid
|
IParser |
newXmlParser()
Get an XML parser
|
String |
oid2Uri(String code) |
boolean |
supportsSystem(String system)
True if the underlying terminology service provider will do
expansion and code validation for the terminology.
|
Set<String> |
typeTails() |
IWorkerContext.ValidationResult |
validateCode(CodeableConcept code,
ValueSet vs) |
IWorkerContext.ValidationResult |
validateCode(Coding code,
ValueSet vs) |
IWorkerContext.ValidationResult |
validateCode(String system,
String code,
String display)
Validation of a code - consult the terminology service
to see whether it is known.
|
IWorkerContext.ValidationResult |
validateCode(String system,
String code,
String display,
ValueSet.ConceptSetComponent vsi)
Validation of a code - consult the terminology service
to see whether it is known.
|
IWorkerContext.ValidationResult |
validateCode(String system,
String code,
String display,
ValueSet vs)
Validation of a code - consult the terminology service
to see whether it is known.
|
IParser getParser(ParserType type)
type - IParser getParser(String type)
type - IParser newJsonParser()
IParser newXmlParser()
IResourceValidator newValidator()
<T extends Resource> T fetchResource(Class<T> class_, String uri)
Exception<T extends Resource> boolean hasResource(Class<T> class_, String uri)
class_ - uri - List<String> getResourceNames()
List<StructureDefinition> allStructures()
CodeSystem fetchCodeSystem(String system)
system - boolean supportsSystem(String system)
system - List<ConceptMap> findMapsForSource(String url)
url - ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet source, boolean cacheOk)
source - ValueSet.ValueSetExpansionComponent expandVS(ValueSet.ConceptSetComponent inc)
inc - IWorkerContext.ValidationResult validateCode(String system, String code, String display)
system - code - display - IWorkerContext.ValidationResult validateCode(String system, String code, String display, ValueSet vs)
system - code - display - IWorkerContext.ValidationResult validateCode(Coding code, ValueSet vs)
IWorkerContext.ValidationResult validateCode(CodeableConcept code, ValueSet vs)
IWorkerContext.ValidationResult validateCode(String system, String code, String display, ValueSet.ConceptSetComponent vsi)
system - code - display - String getAbbreviation(String name)
name - Copyright © 2014–2018 University Health Network. All rights reserved.