public abstract class BaseCodingDt extends BaseIdentifiableElement implements ICompositeDatatype, IQueryParameterType
| Constructor and Description |
|---|
BaseCodingDt() |
| Modifier and Type | Method and Description |
|---|---|
abstract CodeDt |
getCodeElement()
Gets the value(s) for code (Symbol in syntax defined by the system).
|
abstract StringDt |
getDisplayElement()
Gets the value(s) for display (Representation defined by the system).
|
Boolean |
getMissing()
Deprecated.
get/setMissing is not supported in StringDt. Use
TokenParam instead if you
need this functionality |
String |
getQueryParameterQualifier()
This method will return any qualifier that should be appended to the parameter name (e.g ":exact").
|
abstract UriDt |
getSystemElement()
Gets the value(s) for system (Identity of the terminology system).
|
String |
getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
boolean |
matchesSystemAndCode(BaseCodingDt theCoding)
|
boolean |
matchesToken(BaseCodingDt theSearchParam)
returns true if
this Coding matches a search for the coding specified by theSearchParam, according
to the following:
[parameter]=[namespace]|[code] matches a code/value in the given system namespace
[parameter]=[code] matches a code/value irrespective of it's system namespace
[parameter]=|[code] matches a code/value that has no system namespace
|
abstract BaseCodingDt |
setCode(String theCode)
Sets the value for code (Symbol in syntax defined by the system)
|
abstract BaseCodingDt |
setDisplay(String theString) |
IQueryParameterType |
setMissing(Boolean theMissing)
Deprecated.
get/setMissing is not supported in StringDt. Use
TokenParam instead if you
need this functionality |
abstract BaseCodingDt |
setSystem(String theUri)
Sets the value for system (Identity of the terminology system)
|
void |
setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theParameter)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllPopulatedChildElementsOfTypepublic BaseCodingDt()
public abstract 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)
public String getQueryParameterQualifier()
IQueryParameterTypegetQueryParameterQualifier in interface IQueryParameterTypepublic abstract UriDt getSystemElement()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
public abstract StringDt getDisplayElement()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system.
public abstract BaseCodingDt setDisplay(String theString)
public String getValueAsQueryToken(FhirContext theContext)
See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
getValueAsQueryToken in interface IQueryParameterTypetheContext - TODOpublic void setValueAsQueryToken(FhirContext theContext, String theParamName, String theQualifier, String theParameter)
See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
setValueAsQueryToken in interface IQueryParameterTypetheContext - TODOtheParamName - TODOtheQualifier - The parameter name qualifier that accompanied this value. For example, if the complete query was
http://foo?name:exact=John, qualifier would be ":exact"theParameter - The actual parameter value. For example, if the complete query was
http://foo?name:exact=John, the value would be "John"public boolean matchesSystemAndCode(BaseCodingDt theCoding)
public boolean matchesToken(BaseCodingDt theSearchParam)
this Coding matches a search for the coding specified by theSearchParam, according
to the following:
theSearchParam - - coding to test this againstpublic abstract BaseCodingDt 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)
public abstract BaseCodingDt setSystem(String theUri)
Definition: The identification of the code system that defines the meaning of the symbol in the code.
@Deprecated public Boolean getMissing()
TokenParam instead if you
need this functionalitygetMissing in interface IQueryParameterType@Deprecated public IQueryParameterType setMissing(Boolean theMissing)
TokenParam instead if you
need this functionalitysetMissing in interface IQueryParameterTypethis for easier method chainingCopyright © 2014–2019 University Health Network. All rights reserved.