Class Order
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: A request to perform an action.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Order
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Order.when () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for detailstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter constant for datestatic final String
Search parameter constant for detailstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for sourcestatic final String
Search parameter constant for subjectstatic final String
Search parameter constant for targetstatic final String
Search parameter constant for whenstatic final String
Search parameter constant for when_codestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for targetstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for whenstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for when_codeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for detail ()Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getDate()
Gets the value(s) for date (when.done).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date (when.done).Gets the value(s) for detail ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for reason[x] (why).Gets the value(s) for source (who.cause).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject (who.focus).Gets the value(s) for target (who.actor).getWhen()
Gets the value(s) for when ().boolean
isEmpty()
setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date (when.done)Sets the value for date (when.done)setDateWithSecondsPrecision
(Date theDate) Sets the value for date (when.done)setDetail
(List<ResourceReferenceDt> theValue) Sets the value(s) for detail ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setReason
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for reason[x] (why)setSource
(ResourceReferenceDt theValue) Sets the value(s) for source (who.cause)setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)setTarget
(ResourceReferenceDt theValue) Sets the value(s) for target (who.actor)setWhen
(Order.When theValue) Sets the value(s) for when ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: Order.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: Order.date
-
SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: Order.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: Order.subject
-
SP_SOURCE
Search parameter constant for sourceDescription:
Type: reference
Path: Order.source
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription:
Type: reference
Path: Order.source
-
SP_TARGET
Search parameter constant for targetDescription:
Type: reference
Path: Order.target
- See Also:
-
TARGET
Fluent Client search parameter constant for targetDescription:
Type: reference
Path: Order.target
-
SP_WHEN_CODE
Search parameter constant for when_codeDescription:
Type: token
Path: Order.when.code
- See Also:
-
WHEN_CODE
Fluent Client search parameter constant for when_codeDescription:
Type: token
Path: Order.when.code
-
SP_WHEN
Search parameter constant for whenDescription:
Type: date
Path: Order.when.schedule
- See Also:
-
WHEN
Fluent Client search parameter constant for whenDescription:
Type: date
Path: Order.when.schedule
-
SP_DETAIL
Search parameter constant for detailDescription:
Type: reference
Path: Order.detail
- See Also:
-
DETAIL
Fluent Client search parameter constant for detailDescription:
Type: reference
Path: Order.detail
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Order.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Order.subject
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: Instance id from source, target, and/or others
Type: token
Path: Order.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Instance id from source, target, and/or others
Type: token
Path: Order.identifier
-
INCLUDE_DETAIL
Constant for fluent queries to be used to add include statements. Specifies the path value of "Order:detail". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Order:patient". -
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Order:source". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Order:subject". -
INCLUDE_TARGET
Constant for fluent queries to be used to add include statements. Specifies the path value of "Order:target".
-
-
Constructor Details
-
Order
public Order()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition:
-
setIdentifier
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getDateElement
Gets the value(s) for date (when.done). creating it if it does not exist. Will not returnnull
.Definition:
-
getDate
Gets the value(s) for date (when.done). creating it if it does not exist. This method may returnnull
.Definition:
-
setDate
Sets the value(s) for date (when.done)Definition:
-
setDateWithSecondsPrecision
Sets the value for date (when.done)Definition:
-
setDate
Sets the value for date (when.done)Definition:
-
getSubject
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull
.Definition:
-
setSubject
Sets the value(s) for subject (who.focus)Definition:
-
getSource
Gets the value(s) for source (who.cause). creating it if it does not exist. Will not returnnull
.Definition:
-
setSource
Sets the value(s) for source (who.cause)Definition:
-
getTarget
Gets the value(s) for target (who.actor). creating it if it does not exist. Will not returnnull
.Definition:
-
setTarget
Sets the value(s) for target (who.actor)Definition:
-
getReason
Gets the value(s) for reason[x] (why). creating it if it does not exist. Will not returnnull
.Definition:
-
setReason
Sets the value(s) for reason[x] (why)Definition:
-
getWhen
Gets the value(s) for when (). creating it if it does not exist. Will not returnnull
.Definition:
-
setWhen
Sets the value(s) for when ()Definition:
-
getDetail
Gets the value(s) for detail (). creating it if it does not exist. Will not returnnull
.Definition:
-
setDetail
Sets the value(s) for detail ()Definition:
-
addDetail
Adds and returns a new value for detail ()Definition:
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-