
Package ca.uhn.fhir.model.base.composite
Class BaseIdentifierDt
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.base.composite.BaseIdentifierDt
- All Implemented Interfaces:
ICompositeDatatype,ICompositeElement,IDatatype,IElement,IIdentifiableElement,IQueryParameterType,ISupportsUndeclaredExtensions,Serializable,IBase,IBaseDatatype,ICompositeType
public abstract class BaseIdentifierDt
extends BaseIdentifiableElement
implements ICompositeDatatype, IQueryParameterType
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.get/setMissing is not supported in StringDt.This method will return any qualifier that should be appended to the parameter name (e.g ":exact").abstract UriDtGets the value(s) for system (The namespace for the identifier). creating it if it does not exist.Returns a representation of this parameter's value as it will be represented "over the wire".abstract StringDtGets the value(s) for value (The value that is unique). creating it if it does not exist.booleanmatchesSystemAndValue(BaseIdentifierDt theIdentifier) setMissing(Boolean theMissing) Deprecated.get/setMissing is not supported in StringDt.abstract BaseIdentifierDtSets the value for system (The namespace for the identifier)abstract BaseIdentifierDtSets the value for value (The value that is unique)voidsetValueAsQueryToken(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.Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods 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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.ICompositeElement
getAllPopulatedChildElementsOfTypeMethods inherited from interface ca.uhn.fhir.model.api.IQueryParameterType
getValueAsQueryToken, isEmpty
-
Constructor Details
-
BaseIdentifierDt
public BaseIdentifierDt()
-
-
Method Details
-
getQueryParameterQualifier
Description copied from interface:IQueryParameterTypeThis method will return any qualifier that should be appended to the parameter name (e.g ":exact"). Returns null if none are present.- Specified by:
getQueryParameterQualifierin interfaceIQueryParameterType
-
getSystemElement
Gets the value(s) for system (The namespace for the identifier). creating it if it does not exist. Will not returnnull.Definition: Establishes the namespace in which set of possible id values is unique.
-
getValueElement
Gets the value(s) for value (The value that is unique). creating it if it does not exist. Will not returnnull.Definition: The portion of the identifier typically displayed to the user and which is unique within the context of the system.
-
getValueAsQueryToken
Returns a representation of this parameter's value as it will be represented "over the wire". In other words, how it will be presented in a URL (although not URL escaped)See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
- Specified by:
getValueAsQueryTokenin interfaceIQueryParameterType- Returns:
- Returns a representation of this parameter's value as it will be represented "over the wire". In other words, how it will be presented in a URL (although not URL escaped)
-
matchesSystemAndValue
-
setSystem
Sets the value for system (The namespace for the identifier)Definition: Establishes the namespace in which set of possible id values is unique.
-
setValue
Sets the value for value (The value that is unique)Definition: The portion of the identifier typically displayed to the user and which is unique within the context of the system.
-
setValueAsQueryToken
public 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.See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
- Specified by:
setValueAsQueryTokenin interfaceIQueryParameterType- Parameters:
theContext- TODOtheParamName- TODOtheQualifier- The parameter name qualifier that accompanied this value. For example, if the complete query washttp://foo?name:exact=John, qualifier would be ":exact"theParameter- The actual parameter value. For example, if the complete query washttp://foo?name:exact=John, the value would be "John"
-
getMissing
Deprecated.get/setMissing is not supported in StringDt. UseStringParaminstead if you need this functionalityNot supported!- Specified by:
getMissingin interfaceIQueryParameterType
-
setMissing
Deprecated.get/setMissing is not supported in StringDt. UseStringParaminstead if you need this functionalityNot supported!- Specified by:
setMissingin interfaceIQueryParameterType- Returns:
- Returns a reference to
thisfor easier method chaining
-