Package org.hl7.fhir.dstu2.model
Class Order
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
A request to perform an action.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
When the order was made.What action is being ordered.The actual objects that are the target of the reference (What action is being ordered.)protected List
<Identifier> Identifiers assigned to this order by the orderer or by the receiver.protected Type
Text - why the order was made.protected Reference
Who initiated the order.protected Resource
The actual object that is the target of the reference (Who initiated the order.)static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Reference
Patient this order is about.protected Resource
The actual object that is the target of the reference (Patient this order is about.)protected Reference
Who is intended to fulfill the order.protected Resource
The actual object that is the target of the reference (Who is intended to fulfill the order.)protected Order.OrderWhenComponent
When order should be fulfilled.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getDate()
getWhen()
boolean
hasDate()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasWhen()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDateElement
(DateTimeType value) void
setProperty
(String name, Base value) setSourceTarget
(Resource value) setSubject
(Reference value) setSubjectTarget
(Resource value) setTargetTarget
(Resource value) setWhen
(Order.OrderWhenComponent value) protected Order
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifiers assigned to this order by the orderer or by the receiver. -
date
When the order was made. -
subject
Patient this order is about. -
subjectTarget
The actual object that is the target of the reference (Patient this order is about.) -
source
Who initiated the order. -
sourceTarget
The actual object that is the target of the reference (Who initiated the order.) -
target
Who is intended to fulfill the order. -
targetTarget
The actual object that is the target of the reference (Who is intended to fulfill the order.) -
reason
Text - why the order was made. -
when
When order should be fulfilled. -
detail
What action is being ordered. -
detailTarget
The actual objects that are the target of the reference (What action is being ordered.) -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SOURCE
- See Also:
-
SP_DETAIL
- See Also:
-
SP_WHEN
- See Also:
-
SP_TARGET
- See Also:
-
SP_WHENCODE
- See Also:
-
-
Constructor Details
-
Order
public Order()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifiers assigned to this order by the orderer or by the receiver.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifiers assigned to this order by the orderer or by the receiver.)
-
addIdentifier
-
getDateElement
- Returns:
date
(When the order was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(When the order was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- When the order was made.
-
setDate
- Parameters:
value
- When the order was made.
-
getSubject
- Returns:
subject
(Patient this order is about.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(Patient this order is about.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Patient this order is about.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Patient this order is about.)
-
getSource
- Returns:
source
(Who initiated the order.)
-
hasSource
-
setSource
- Parameters:
value
-source
(Who initiated the order.)
-
getSourceTarget
- Returns:
source
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who initiated the order.)
-
setSourceTarget
- Parameters:
value
-source
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who initiated the order.)
-
getTarget
- Returns:
target
(Who is intended to fulfill the order.)
-
hasTarget
-
setTarget
- Parameters:
value
-target
(Who is intended to fulfill the order.)
-
getTargetTarget
- Returns:
target
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who is intended to fulfill the order.)
-
setTargetTarget
- Parameters:
value
-target
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who is intended to fulfill the order.)
-
getReason
- Returns:
reason
(Text - why the order was made.)
-
getReasonCodeableConcept
- Returns:
reason
(Text - why the order was made.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason
(Text - why the order was made.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value
-reason
(Text - why the order was made.)
-
getWhen
- Returns:
when
(When order should be fulfilled.)
-
hasWhen
-
setWhen
- Parameters:
value
-when
(When order should be fulfilled.)
-
getDetail
- Returns:
detail
(What action is being ordered.)
-
hasDetail
-
addDetail
- Returns:
detail
(What action is being ordered.)
-
addDetail
-
getDetailTarget
- Returns:
detail
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. What action is being ordered.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-