
Package org.hl7.fhir.r5.openehr
Class TERM_MAPPING
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.TERM_MAPPING
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
public class TERM_MAPPING
extends LogicalBase
implements org.hl7.fhir.instance.model.api.ICompositeType
Items which are truly boolean data, such as true/false or yes/no answers. For such data, it is important to devise the meanings (usually questions in subjective data) carefully, so that the only allowed results are in fact true or false.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringTypeThe relative match of the target term with respect to the mapped text item.protected DV_CODED_TEXTPurpose of the mapping e.g.protected CODE_PHRASEThe target term of the mapping. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(TERM_MAPPING dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getMatch()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanhasMatch()booleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setMatchElement(StringType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setPurpose(DV_CODED_TEXT value) setTarget(CODE_PHRASE value) protected TERM_MAPPINGMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
match
The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri). -
purpose
Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'. -
target
The target term of the mapping.
-
-
Constructor Details
-
TERM_MAPPING
public TERM_MAPPING()Constructor -
TERM_MAPPING
Constructor
-
-
Method Details
-
getMatchElement
- Returns:
match(The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).). This is the underlying object with id, value and extensions. The accessor "getMatch" gives direct access to the value
-
hasMatchElement
-
hasMatch
-
setMatchElement
- Parameters:
value-match(The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).). This is the underlying object with id, value and extensions. The accessor "getMatch" gives direct access to the value
-
getMatch
- Returns:
- The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).
-
setMatch
- Parameters:
value- The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).
-
getPurpose
- Returns:
purpose(Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'.)
-
hasPurpose
-
setPurpose
- Parameters:
value-purpose(Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'.)
-
getTarget
- Returns:
target(The target term of the mapping.)
-
hasTarget
-
setTarget
- Parameters:
value-target(The target term of the mapping.)
-
listChildren
- Overrides:
listChildrenin classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classBase
-
equalsShallow
- Overrides:
equalsShallowin classBase
-
isEmpty
-