Package org.hl7.fhir.dstu2.model
Class OrderResponse
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.OrderResponse
-
- 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
public class OrderResponse extends DomainResource
A response to an order.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrderResponse.OrderStatusstatic classOrderResponse.OrderStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTypedateThe date and time at which this order response was made (created/posted).protected StringTypedescriptionAdditional description about the response - e.g.protected List<Reference>fulfillmentLinks to resources that provide details of the outcome of performing the order; e.g.protected List<Resource>fulfillmentTargetThe actual objects that are the target of the reference (Links to resources that provide details of the outcome of performing the order; e.g.protected List<Identifier>identifierIdentifiers assigned to this order.protected Enumeration<OrderResponse.OrderStatus>orderStatusWhat this response says about the status of the original order.protected ReferencerequestA reference to the order that this is in response to.protected OrderrequestTargetThe actual object that is the target of the reference (A reference to the order that this is in response to.)static StringSP_CODEstatic StringSP_DATEstatic StringSP_FULFILLMENTstatic StringSP_IDENTIFIERstatic StringSP_REQUESTstatic StringSP_WHOprotected ReferencewhoThe person, organization, or device credited with making the response.protected ResourcewhoTargetThe actual object that is the target of the reference (The person, organization, or device credited with making the response.)-
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
-
-
Constructor Summary
Constructors Constructor Description OrderResponse()OrderResponse(Reference request, Enumeration<OrderResponse.OrderStatus> orderStatus)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, 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
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.
-
requestTarget
protected Order requestTarget
The actual object that is the target of the reference (A reference to the order that this is in response to.)
-
date
protected DateTimeType date
The date and time at which this order response was made (created/posted).
-
whoTarget
protected Resource whoTarget
The actual object that is the target of the reference (The person, organization, or device credited with making the response.)
-
orderStatus
protected Enumeration<OrderResponse.OrderStatus> orderStatus
What this response says about the status of the original order.
-
description
protected StringType description
Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
-
fulfillment
protected List<Reference> fulfillment
Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.
-
fulfillmentTarget
protected List<Resource> fulfillmentTarget
The actual objects that are the target of the reference (Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_REQUEST
public static final String SP_REQUEST
- See Also:
- Constant Field Values
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_CODE
public static final String SP_CODE
- See Also:
- Constant Field Values
-
SP_FULFILLMENT
public static final String SP_FULFILLMENT
- See Also:
- Constant Field Values
-
SP_WHO
public static final String SP_WHO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrderResponse
public OrderResponse()
-
OrderResponse
public OrderResponse(Reference request, Enumeration<OrderResponse.OrderStatus> orderStatus)
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.)
-
addIdentifier
public OrderResponse addIdentifier(Identifier t)
-
getRequest
public Reference getRequest()
- Returns:
request(A reference to the order that this is in response to.)
-
hasRequest
public boolean hasRequest()
-
setRequest
public OrderResponse setRequest(Reference value)
- Parameters:
value-request(A reference to the order that this is in response to.)
-
getRequestTarget
public Order getRequestTarget()
- Returns:
requestThe 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. (A reference to the order that this is in response to.)
-
setRequestTarget
public OrderResponse setRequestTarget(Order value)
- Parameters:
value-requestThe 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. (A reference to the order that this is in response to.)
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(The date and time at which this order response was made (created/posted).). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public OrderResponse setDateElement(DateTimeType value)
- Parameters:
value-date(The date and time at which this order response was made (created/posted).). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
public Date getDate()
- Returns:
- The date and time at which this order response was made (created/posted).
-
setDate
public OrderResponse setDate(Date value)
- Parameters:
value- The date and time at which this order response was made (created/posted).
-
getWho
public Reference getWho()
- Returns:
who(The person, organization, or device credited with making the response.)
-
hasWho
public boolean hasWho()
-
setWho
public OrderResponse setWho(Reference value)
- Parameters:
value-who(The person, organization, or device credited with making the response.)
-
getWhoTarget
public Resource getWhoTarget()
- Returns:
whoThe 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. (The person, organization, or device credited with making the response.)
-
setWhoTarget
public OrderResponse setWhoTarget(Resource value)
- Parameters:
value-whoThe 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. (The person, organization, or device credited with making the response.)
-
getOrderStatusElement
public Enumeration<OrderResponse.OrderStatus> getOrderStatusElement()
- Returns:
orderStatus(What this response says about the status of the original order.). This is the underlying object with id, value and extensions. The accessor "getOrderStatus" gives direct access to the value
-
hasOrderStatusElement
public boolean hasOrderStatusElement()
-
hasOrderStatus
public boolean hasOrderStatus()
-
setOrderStatusElement
public OrderResponse setOrderStatusElement(Enumeration<OrderResponse.OrderStatus> value)
- Parameters:
value-orderStatus(What this response says about the status of the original order.). This is the underlying object with id, value and extensions. The accessor "getOrderStatus" gives direct access to the value
-
getOrderStatus
public OrderResponse.OrderStatus getOrderStatus()
- Returns:
- What this response says about the status of the original order.
-
setOrderStatus
public OrderResponse setOrderStatus(OrderResponse.OrderStatus value)
- Parameters:
value- What this response says about the status of the original order.
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public OrderResponse setDescriptionElement(StringType value)
- Parameters:
value-description(Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
-
setDescription
public OrderResponse setDescription(String value)
- Parameters:
value- Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
-
getFulfillment
public List<Reference> getFulfillment()
- Returns:
fulfillment(Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
-
hasFulfillment
public boolean hasFulfillment()
-
addFulfillment
public Reference addFulfillment()
- Returns:
fulfillment(Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
-
addFulfillment
public OrderResponse addFulfillment(Reference t)
-
getFulfillmentTarget
public List<Resource> getFulfillmentTarget()
- Returns:
fulfillment(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. Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public OrderResponse copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected OrderResponse typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-