
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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeWhen 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 TypeText - why the order was made.protected ReferenceWho initiated the order.protected ResourceThe actual object that is the target of the reference (Who initiated the order.)static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected ReferencePatient this order is about.protected ResourceThe actual object that is the target of the reference (Patient this order is about.)protected ReferenceWho is intended to fulfill the order.protected ResourceThe actual object that is the target of the reference (Who is intended to fulfill the order.)protected Order.OrderWhenComponentWhen order should be fulfilled.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getDate()getWhen()booleanhasDate()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasWhen()booleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDateElement(DateTimeType value) voidsetProperty(String name, Base value) setSourceTarget(Resource value) setSubject(Reference value) setSubjectTarget(Resource value) setTargetTarget(Resource value) setWhen(Order.OrderWhenComponent value) protected OrderMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
subjectThe 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-subjectThe 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:
sourceThe 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-sourceThe 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:
targetThe 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-targetThe 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-