Package com.ibm.fhir.term.service
Class FHIRTermService
- java.lang.Object
-
- com.ibm.fhir.term.service.FHIRTermService
-
public class FHIRTermService extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProvider(FHIRTermServiceProvider provider)Add the givenFHIRTermServiceProviderto the serviceSet<com.ibm.fhir.model.resource.CodeSystem.Concept>closure(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened.Map<com.ibm.fhir.model.type.Code,Set<com.ibm.fhir.model.resource.CodeSystem.Concept>>closure(com.ibm.fhir.model.resource.CodeSystem codeSystem, Set<com.ibm.fhir.model.type.Code> codes)Get a map of sets containingCodeSystem.Conceptinstances where all structural hierarchies have been flattenedSet<com.ibm.fhir.model.resource.CodeSystem.Concept>closure(com.ibm.fhir.model.type.Coding coding)Generate the transitive closure for the code system concept represented by the given codingMap<com.ibm.fhir.model.type.Coding,Set<com.ibm.fhir.model.resource.CodeSystem.Concept>>closure(Set<com.ibm.fhir.model.type.Coding> codings)Generate a map containing the transitive closures for the code system concepts represented by the giving codingscom.ibm.fhir.model.resource.ValueSetexpand(com.ibm.fhir.model.resource.ValueSet valueSet)Expand the given value setcom.ibm.fhir.model.resource.ValueSetexpand(com.ibm.fhir.model.resource.ValueSet valueSet, ExpansionParameters parameters)Expand the given value set and expansion parameterscom.ibm.fhir.model.resource.CodeSystem.ConceptgetConcept(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)Get the concept in the provided code system with the specified code.Set<com.ibm.fhir.model.resource.CodeSystem.Concept>getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem)Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened.<R> Set<R>getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, Function<com.ibm.fhir.model.resource.CodeSystem.Concept,? extends R> function)Get a set containingFHIRTermServiceinstances mapped from concepts where all structural hierarchies have been flattened.Set<com.ibm.fhir.model.resource.CodeSystem.Concept>getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, List<com.ibm.fhir.model.resource.ValueSet.Compose.Include.Filter> filters)Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened and filtered by the given set of value set include filters.<R> Set<R>getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, List<com.ibm.fhir.model.resource.ValueSet.Compose.Include.Filter> filters, Function<com.ibm.fhir.model.resource.CodeSystem.Concept,? extends R> function)Get a set containingFHIRTermServiceinstances mapped from concepts where all structural hierarchies have been flattened and filtered by the given set of value set include filters.static FHIRTermServicegetInstance()booleanhasConcept(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)Indicates whether the given code system contains a concept with the specified code.booleanhasConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, Set<com.ibm.fhir.model.type.Code> codes)Indicates whether the given code system contains a concept for each of the specified codes.booleanisExpandable(com.ibm.fhir.model.resource.ValueSet valueSet)Indicates whether the given value set is expandablebooleanisSupported(com.ibm.fhir.model.resource.CodeSystem codeSystem)Indicates whether the given code system is supported.LookupOutcomelookup(com.ibm.fhir.model.type.Coding coding)Lookup the code system concept for the given codingLookupOutcomelookup(com.ibm.fhir.model.type.Coding coding, LookupParameters parameters)Lookup the code system concept for the given coding and lookup parametersLookupOutcomelookup(com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code)Lookup the code system concept for the given system, version, and codeLookupOutcomelookup(com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, LookupParameters parameters)Lookup the code system concept for the given system, version, code and lookup parametersbooleansubsumes(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code codeA, com.ibm.fhir.model.type.Code codeB)Find the concept in tree rooted by the provided concept that matches the specified code.com.ibm.fhir.model.type.code.ConceptSubsumptionOutcomesubsumes(com.ibm.fhir.model.type.Coding codingA, com.ibm.fhir.model.type.Coding codingB)Perform a subsumption test to determine if the code system concept represented by the given coding "A" subsumes the code system concept represented by the given coding "B"TranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.CodeableConcept codeableConcept)Translate the given coding using the provided concept mapTranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.CodeableConcept codeableConcept, TranslationParameters parameters)Translate the given codeable concept using the provided concept map and translation parametersTranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Coding coding)Translate the given coding using the provided concept mapTranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Coding coding, TranslationParameters parameters)Translate the given coding using the provided concept map and translation parametersTranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code)Translate the given system, version and code using the provided concept mapTranslationOutcometranslate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, TranslationParameters parameters)Translate the given system, version and code using the provided concept map and translation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.CodeableConcept codeableConcept)Validate a codeable concept using the provided code systemValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.CodeableConcept codeableConcept, ValidationParameters parameters)Validate a codeable concept using the provided code system and validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display)Validate a code and display using the provided code systemValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display, ValidationParameters parameters)Validate a code and display using the provided code system and validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Coding coding)Validate a coding using the provided code systemValidationOutcomevalidateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Coding coding, ValidationParameters parameters)Validate a coding using the provided code system and validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Code code)Validate a code using the provided value setValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.CodeableConcept codeableConcept)Validate a codeable concept using the provided value setValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.CodeableConcept codeableConcept, ValidationParameters parameters)Validate a codeable concept using the provided value set using the provided validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Code code, ValidationParameters parameters)Validate a code using the provided value set and validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Coding coding)Validate a coding using the provided value set using the provided validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Coding coding, ValidationParameters parameters)Validate a coding using the provided value set using the provided validation parametersValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display)Validate a code and display using the provided value setValidationOutcomevalidateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display, ValidationParameters parameters)Validate a code and display using the provided value set and validation parameters
-
-
-
Method Detail
-
addProvider
public void addProvider(FHIRTermServiceProvider provider)
Add the givenFHIRTermServiceProviderto the service- Parameters:
provider- the term service provider
-
closure
public Set<com.ibm.fhir.model.resource.CodeSystem.Concept> closure(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)
Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened.- Parameters:
codeSystem- the code systemcode- the root of the hierarchy containing the Concept instances to be flattened- Returns:
- flattened set of Concept instances for the given tree
-
closure
public Set<com.ibm.fhir.model.resource.CodeSystem.Concept> closure(com.ibm.fhir.model.type.Coding coding)
Generate the transitive closure for the code system concept represented by the given coding- Parameters:
coding- the coding- Returns:
- a set containing the transitive closure for the code system concept represented by the given coding
-
closure
public Map<com.ibm.fhir.model.type.Coding,Set<com.ibm.fhir.model.resource.CodeSystem.Concept>> closure(Set<com.ibm.fhir.model.type.Coding> codings)
Generate a map containing the transitive closures for the code system concepts represented by the giving codings- Parameters:
codings- the codings- Returns:
- a map of sets containing the transitive closures for the code system concepts represented by the given codings
-
closure
public Map<com.ibm.fhir.model.type.Code,Set<com.ibm.fhir.model.resource.CodeSystem.Concept>> closure(com.ibm.fhir.model.resource.CodeSystem codeSystem, Set<com.ibm.fhir.model.type.Code> codes)
Get a map of sets containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened- Parameters:
codeSystem- the code systemcodes- the set of roots of hierarchies containing the Concept instances to be flattened- Returns:
- a map containing flattened sets of Concept instances for the given trees
-
expand
public com.ibm.fhir.model.resource.ValueSet expand(com.ibm.fhir.model.resource.ValueSet valueSet)
Expand the given value set- Parameters:
valueSet- the value set to expand- Returns:
- the expanded value set, or the original value set if already expanded or unable to expand
-
expand
public com.ibm.fhir.model.resource.ValueSet expand(com.ibm.fhir.model.resource.ValueSet valueSet, ExpansionParameters parameters)Expand the given value set and expansion parameters- Parameters:
valueSet- the value set to expandparameters- the expansion parameters- Returns:
- the expanded value set, or the original value set if already expanded or unable to expand
-
getConcept
public com.ibm.fhir.model.resource.CodeSystem.Concept getConcept(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)Get the concept in the provided code system with the specified code.- Parameters:
codeSystem- the code system to searchcode- the code to match- Returns:
- the code system concept with the specified code, or null if no such concept exists
-
getConcepts
public Set<com.ibm.fhir.model.resource.CodeSystem.Concept> getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem)
Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened.- Parameters:
codeSystem- the code system containing the set of Concept instances to be flattened- Returns:
- flattened set of Concept instances for the given code system
-
getConcepts
public <R> Set<R> getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, Function<com.ibm.fhir.model.resource.CodeSystem.Concept,? extends R> function)
Get a set containingFHIRTermServiceinstances mapped from concepts where all structural hierarchies have been flattened.- Type Parameters:
R- the element type of the result set- Parameters:
codeSystem- the code system containing the set of Concept instances to be flattenedfunction- the function to apply to each element of the result set- Returns:
- flattened set of
FHIRTermServiceinstances mapped from concepts for the given code system
-
getConcepts
public Set<com.ibm.fhir.model.resource.CodeSystem.Concept> getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, List<com.ibm.fhir.model.resource.ValueSet.Compose.Include.Filter> filters)
Get a set containingCodeSystem.Conceptinstances where all structural hierarchies have been flattened and filtered by the given set of value set include filters.- Parameters:
codeSystem- the code systemfilters- the value set include filters- Returns:
- flattened / filtered list of Concept instances for the given code system
-
getConcepts
public <R> Set<R> getConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, List<com.ibm.fhir.model.resource.ValueSet.Compose.Include.Filter> filters, Function<com.ibm.fhir.model.resource.CodeSystem.Concept,? extends R> function)
Get a set containingFHIRTermServiceinstances mapped from concepts where all structural hierarchies have been flattened and filtered by the given set of value set include filters.- Type Parameters:
R- the element type of the result set- Parameters:
codeSystem- the code system containing the set of Concept instances to be flattened / filteredfilters- the value set include filtersfunction- the function to apply to each element of the result set- Returns:
- flattened / filtered set of
FHIRTermServiceinstances mapped from concepts for the given code system
-
hasConcept
public boolean hasConcept(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code)Indicates whether the given code system contains a concept with the specified code.- Parameters:
codeSystem- the code systemcode- the code- Returns:
- true if the given code system contains a concept with the specified code, false otherwise
-
hasConcepts
public boolean hasConcepts(com.ibm.fhir.model.resource.CodeSystem codeSystem, Set<com.ibm.fhir.model.type.Code> codes)Indicates whether the given code system contains a concept for each of the specified codes.- Parameters:
codeSystem- the code systemcodes- the codes- Returns:
- true if the given code system contains a concept for each of the specified codes, false otherwise
-
isExpandable
public boolean isExpandable(com.ibm.fhir.model.resource.ValueSet valueSet)
Indicates whether the given value set is expandable- Parameters:
valueSet- the value set- Returns:
- true if the given value set is expandable, false otherwise
-
isSupported
public boolean isSupported(com.ibm.fhir.model.resource.CodeSystem codeSystem)
Indicates whether the given code system is supported.- Parameters:
codeSystem- the code system- Returns:
- true if the given code system is supported, false otherwise
-
lookup
public LookupOutcome lookup(com.ibm.fhir.model.type.Coding coding)
Lookup the code system concept for the given coding- Parameters:
coding- the coding to lookup- Returns:
- the outcome of the lookup
-
lookup
public LookupOutcome lookup(com.ibm.fhir.model.type.Coding coding, LookupParameters parameters)
Lookup the code system concept for the given coding and lookup parameters- Parameters:
coding- the coding to lookupparameters- the lookup parameters- Returns:
- the outcome of the lookup
-
lookup
public LookupOutcome lookup(com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code)
Lookup the code system concept for the given system, version, and code- Parameters:
system- the systemversion- the versioncode- the code- Returns:
- the outcome of the lookup
-
lookup
public LookupOutcome lookup(com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, LookupParameters parameters)
Lookup the code system concept for the given system, version, code and lookup parameters- Parameters:
system- the systemversion- the versioncode- the codeparameters- the lookup parameters- Returns:
- the outcome of the lookup
-
subsumes
public boolean subsumes(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code codeA, com.ibm.fhir.model.type.Code codeB)Find the concept in tree rooted by the provided concept that matches the specified code.- Parameters:
codeSystem- the code systemcodeA- the code "A"codeB- the code "B"- Returns:
- true if the concept represented by code "A" subsumes the concept represented by code "B", false otherwise
-
subsumes
public com.ibm.fhir.model.type.code.ConceptSubsumptionOutcome subsumes(com.ibm.fhir.model.type.Coding codingA, com.ibm.fhir.model.type.Coding codingB)Perform a subsumption test to determine if the code system concept represented by the given coding "A" subsumes the code system concept represented by the given coding "B"- Parameters:
codingA- the coding "A"codingB- the coding "B"- Returns:
- the outcome of the subsumption test, or null if the relationship could not be tested
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.CodeableConcept codeableConcept)
Translate the given coding using the provided concept map- Parameters:
conceptMap- the concept mapcodeable- concept the codeable concept- Returns:
- the outcome of translation
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.CodeableConcept codeableConcept, TranslationParameters parameters)
Translate the given codeable concept using the provided concept map and translation parameters- Parameters:
conceptMap- the concept mapcodeableConcept- the codeable conceptparameters- the translation parameters- Returns:
- the outcome of translation
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Coding coding)
Translate the given coding using the provided concept map- Parameters:
conceptMap- the concept mapcoding- the coding- Returns:
- the outcome of translation
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Coding coding, TranslationParameters parameters)
Translate the given coding using the provided concept map and translation parameters- Parameters:
conceptMap- the concept mapcoding- the codingparameters- the translation parameters- Returns:
- the outcome of translation
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code)
Translate the given system, version and code using the provided concept map- Parameters:
conceptMap- the concept mapsystem- the systemversion- the versioncode- the code- Returns:
- the outcome of translation
-
translate
public TranslationOutcome translate(com.ibm.fhir.model.resource.ConceptMap conceptMap, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, TranslationParameters parameters)
Translate the given system, version and code using the provided concept map and translation parameters- Parameters:
conceptMap- the concept mapsystem- the systemversion- the versioncode- the codeparameters- the translation parameters- Returns:
- the outcome of translation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.CodeableConcept codeableConcept)
Validate a codeable concept using the provided code system- Parameters:
codeableConcept- the codeable concept- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.CodeableConcept codeableConcept, ValidationParameters parameters)
Validate a codeable concept using the provided code system and validation parameters- Parameters:
codeSystem- the code systemcodeableConcept- the codeable conceptparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Coding coding)
Validate a coding using the provided code system- Parameters:
codeSystem- the codeSystemcoding- the coding- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Coding coding, ValidationParameters parameters)
Validate a coding using the provided code system and validation parameters- Parameters:
codeSystem- the code systemcoding- the codingparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display)
Validate a code and display using the provided code system- Parameters:
code- system the code systemcode- the codedisplay- the display- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.CodeSystem codeSystem, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display, ValidationParameters parameters)
Validate a code and display using the provided code system and validation parameters- Parameters:
codeSystem- the code systemcode- the codedisplay- the displayparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Code code)
Validate a code using the provided value set- Parameters:
valueSet- the value setcode- the code- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Code code, ValidationParameters parameters)
Validate a code using the provided value set and validation parameters- Parameters:
valueSet- the value setcode- the codeparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.CodeableConcept codeableConcept)
Validate a codeable concept using the provided value set- Parameters:
valueSet- the value setcodeable- concept the codeable concept- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.CodeableConcept codeableConcept, ValidationParameters parameters)
Validate a codeable concept using the provided value set using the provided validation parameters- Parameters:
valueSet- the value setcodeable- concept the codeable conceptparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Coding coding)
Validate a coding using the provided value set using the provided validation parameters- Parameters:
valueSet- the value setcoding- the codingparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Coding coding, ValidationParameters parameters)
Validate a coding using the provided value set using the provided validation parameters- Parameters:
valueSet- the value setcoding- the codingparameters- the validation parameters- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display)
Validate a code and display using the provided value set- Parameters:
valueSet- the value setsystem- the systemversion- the versioncode- the codedisplay- the display- Returns:
- the outcome of validation
-
validateCode
public ValidationOutcome validateCode(com.ibm.fhir.model.resource.ValueSet valueSet, com.ibm.fhir.model.type.Uri system, com.ibm.fhir.model.type.String version, com.ibm.fhir.model.type.Code code, com.ibm.fhir.model.type.String display, ValidationParameters parameters)
Validate a code and display using the provided value set and validation parameters- Parameters:
valueSet- the value setsystem- the systemversion- the versioncode- the codedisplay- the displayparameters- the validation parameters- Returns:
- the outcome of validation
-
getInstance
public static FHIRTermService getInstance()
-
-