public class Order extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Order.OrderWhenComponent |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
date
When the order was made.
|
protected List<Reference> |
detail
What action is being ordered.
|
protected List<Resource> |
detailTarget
The actual objects that are the target of the reference (What action is being ordered.)
|
protected List<Identifier> |
identifier
Identifiers assigned to this order by the orderer or by the receiver.
|
protected Type |
reason
Text - why the order was made.
|
protected Reference |
source
Who initiated the order.
|
protected Resource |
sourceTarget
The actual object that is the target of the reference (Who initiated the order.)
|
static String |
SP_DATE |
static String |
SP_DETAIL |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_SOURCE |
static String |
SP_SUBJECT |
static String |
SP_TARGET |
static String |
SP_WHEN |
static String |
SP_WHENCODE |
protected Reference |
subject
Patient this order is about.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Patient this order is about.)
|
protected Reference |
target
Who is intended to fulfill the order.
|
protected Resource |
targetTarget
The actual object that is the target of the reference (Who is intended to fulfill the order.)
|
protected Order.OrderWhenComponent |
when
When order should be fulfilled.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Order() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected DateTimeType date
protected Resource subjectTarget
protected Resource sourceTarget
protected Resource targetTarget
protected Order.OrderWhenComponent when
protected List<Resource> detailTarget
public static final String SP_DATE
public static final String SP_IDENTIFIER
public static final String SP_SUBJECT
public static final String SP_PATIENT
public static final String SP_SOURCE
public static final String SP_DETAIL
public static final String SP_WHEN
public static final String SP_TARGET
public static final String SP_WHENCODE
public Order()
public List<Identifier> getIdentifier()
identifier (Identifiers assigned to this order by the orderer or by the receiver.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifiers assigned to this order by the orderer or by the receiver.)public Order addIdentifier(Identifier t)
public DateTimeType getDateElement()
date (When the order was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic boolean hasDateElement()
public boolean hasDate()
public Order setDateElement(DateTimeType value)
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 valuepublic Reference getSubject()
subject (Patient this order is about.)public boolean hasSubject()
public Order setSubject(Reference value)
value - subject (Patient this order is about.)public Resource getSubjectTarget()
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.)public Order setSubjectTarget(Resource value)
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.)public boolean hasSource()
public Order setSource(Reference value)
value - source (Who initiated the order.)public Resource getSourceTarget()
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.)public Order setSourceTarget(Resource value)
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.)public boolean hasTarget()
public Order setTarget(Reference value)
value - target (Who is intended to fulfill the order.)public Resource getTargetTarget()
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.)public Order setTargetTarget(Resource value)
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.)public CodeableConcept getReasonCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
reason (Text - why the order was made.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReasonCodeableConcept()
public Reference getReasonReference() throws org.hl7.fhir.exceptions.FHIRException
reason (Text - why the order was made.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReasonReference()
public boolean hasReason()
public Order setReason(Type value)
value - reason (Text - why the order was made.)public Order.OrderWhenComponent getWhen()
when (When order should be fulfilled.)public boolean hasWhen()
public Order setWhen(Order.OrderWhenComponent value)
value - when (When order should be fulfilled.)public boolean hasDetail()
public List<Resource> getDetailTarget()
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.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Order copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.