public class CodingDt extends ca.uhn.fhir.model.base.composite.BaseCodingDt implements ca.uhn.fhir.model.api.ICompositeDatatype, org.hl7.fhir.instance.model.api.IBaseCoding
Definition: A reference to a code defined by a terminology system
Requirements: References to codes are very common in healthcare models
| Constructor and Description |
|---|
CodingDt()
Constructor
|
CodingDt(ca.uhn.fhir.model.base.composite.BaseCodingDt theCoding)
Copy constructor: Creates a new Coding with the system and code copied out of the given coding
|
CodingDt(String theSystem,
String theCode)
Creates a new Coding with the given system and code
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCode()
Gets the value(s) for code ().
|
ca.uhn.fhir.model.primitive.CodeDt |
getCodeElement()
Gets the value(s) for code ().
|
String |
getDisplay()
Gets the value(s) for display ().
|
ca.uhn.fhir.model.primitive.StringDt |
getDisplayElement()
Gets the value(s) for display ().
|
String |
getSystem()
Gets the value(s) for system ().
|
ca.uhn.fhir.model.primitive.UriDt |
getSystemElement()
Gets the value(s) for system ().
|
Boolean |
getUserSelected()
Gets the value(s) for userSelected ().
|
ca.uhn.fhir.model.primitive.BooleanDt |
getUserSelectedElement()
Gets the value(s) for userSelected ().
|
String |
getVersion()
Gets the value(s) for version ().
|
ca.uhn.fhir.model.primitive.StringDt |
getVersionElement()
Gets the value(s) for version ().
|
boolean |
isEmpty() |
CodingDt |
setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for code ()
|
CodingDt |
setCode(String theCode)
Sets the value for code ()
|
CodingDt |
setDisplay(String theString)
Sets the value for display ()
|
CodingDt |
setDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for display ()
|
CodingDt |
setSystem(String theUri)
Sets the value for system ()
|
CodingDt |
setSystem(ca.uhn.fhir.model.primitive.UriDt theValue)
Sets the value(s) for system ()
|
CodingDt |
setUserSelected(boolean theBoolean)
Sets the value for userSelected ()
|
CodingDt |
setUserSelected(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for userSelected ()
|
CodingDt |
setVersion(String theString)
Sets the value for version ()
|
CodingDt |
setVersion(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for version ()
|
getMissing, getQueryParameterQualifier, getValueAsQueryToken, matchesSystemAndCode, matchesToken, setMissing, setValueAsQueryTokengetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptypublic CodingDt()
public CodingDt(String theSystem, String theCode)
public CodingDt(ca.uhn.fhir.model.base.composite.BaseCodingDt theCoding)
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.primitive.UriDt getSystemElement()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
getSystemElement in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic String getSystem()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
getSystem in interface org.hl7.fhir.instance.model.api.IBaseCodingpublic CodingDt setSystem(ca.uhn.fhir.model.primitive.UriDt theValue)
Definition: The identification of the code system that defines the meaning of the symbol in the code.
public CodingDt setSystem(String theUri)
Definition: The identification of the code system that defines the meaning of the symbol in the code.
setSystem in interface org.hl7.fhir.instance.model.api.IBaseCodingsetSystem in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic ca.uhn.fhir.model.primitive.StringDt getVersionElement()
null.
Definition: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged
public String getVersion()
null.
Definition: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged
public CodingDt setVersion(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged
public CodingDt setVersion(String theString)
Definition: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged
public ca.uhn.fhir.model.primitive.CodeDt getCodeElement()
null.
Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
getCodeElement in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic String getCode()
null.
Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
getCode in interface org.hl7.fhir.instance.model.api.IBaseCodingpublic CodingDt setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
public CodingDt setCode(String theCode)
Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
setCode in interface org.hl7.fhir.instance.model.api.IBaseCodingsetCode in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic ca.uhn.fhir.model.primitive.StringDt getDisplayElement()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system
getDisplayElement in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic String getDisplay()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system
getDisplay in interface org.hl7.fhir.instance.model.api.IBaseCodingpublic CodingDt setDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: A representation of the meaning of the code in the system, following the rules of the system
public CodingDt setDisplay(String theString)
Definition: A representation of the meaning of the code in the system, following the rules of the system
setDisplay in interface org.hl7.fhir.instance.model.api.IBaseCodingsetDisplay in class ca.uhn.fhir.model.base.composite.BaseCodingDtpublic ca.uhn.fhir.model.primitive.BooleanDt getUserSelectedElement()
null.
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public Boolean getUserSelected()
null.
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setUserSelected(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setUserSelected(boolean theBoolean)
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
Copyright © 2014–2018 University Health Network. All rights reserved.