Package org.hl7.fhir.dstu3.terminologies
Interface ITerminologyServices
public interface ITerminologyServices
The value set system has a collection of value sets
that define code systems, and construct value sets from
them
Large external terminologies - LOINC, Snomed, etc - are too big, and
trying to represent their definition as a native value set is too
large. (e.g. LOINC + properties ~ 500MB). So we don't try. Instead.
we assume that there's some external server that provides these
services, using this interface
The FHIR build tool uses http://fhir.healthintersections.com.au for
these services
- Author:
- Grahame
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkVS
(ValueSet.ConceptSetComponent vsi, String system, String code) Test the value set fragment (system | codes | filters).Expand the value set fragment (system | codes | filters).getCodeDefinition
(String system, String code) given a system|code, return a definition for it.boolean
supportsSystem
(String system) return true if the service handles code or value set resolution on the systemvalidateCode
(String system, String code, String display) for this system|code and display, validate the triple against the rules of the underlying code systemboolean
verifiesSystem
(String system)
-
Method Details
-
supportsSystem
return true if the service handles code or value set resolution on the system -
getCodeDefinition
given a system|code, return a definition for it. Nil means not valid -
validateCode
for this system|code and display, validate the triple against the rules of the underlying code system -
expandVS
Expand the value set fragment (system | codes | filters). Note that this might fail if the expansion is very large. If the expansion fails, then the checkVS will be called instead- Throws:
Exception
-
expand
-
checkVS
Test the value set fragment (system | codes | filters). -
verifiesSystem
-