Class OrderResponse
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.OrderResponse
-
- 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
public class OrderResponse extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR OrderResponse Resource (workflow.order)Definition: A response to an order.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/OrderResponse
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamFULFILLMENTFluent Client search parameter constant for fulfillmentstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_FULFILLMENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_REQUESTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_WHOConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTFluent Client search parameter constant for requeststatic StringSP_CODESearch parameter constant for codestatic StringSP_DATESearch parameter constant for datestatic StringSP_FULFILLMENTSearch parameter constant for fulfillmentstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_REQUESTSearch parameter constant for requeststatic StringSP_WHOSearch parameter constant for whostatic ca.uhn.fhir.rest.gclient.ReferenceClientParamWHOFluent Client search parameter constant for who-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description OrderResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddFulfillment()Adds and returns a new value for fulfillment ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)OrderResponseaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)DategetDate()Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDtgetDateElement()Gets the value(s) for date (when.recorded).StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().List<ResourceReferenceDt>getFulfillment()Gets the value(s) for fulfillment ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.StringgetOrderStatus()Gets the value(s) for orderStatus ().ca.uhn.fhir.model.primitive.BoundCodeDt<OrderStatusEnum>getOrderStatusElement()Gets the value(s) for orderStatus ().ResourceReferenceDtgetRequest()Gets the value(s) for request ().StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetWho()Gets the value(s) for who (who.actor).booleanisEmpty()OrderResponsesetDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for date (when.recorded)OrderResponsesetDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for date (when.recorded)OrderResponsesetDateWithSecondsPrecision(Date theDate)Sets the value for date (when.recorded)OrderResponsesetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()OrderResponsesetDescription(String theString)Sets the value for description ()OrderResponsesetFulfillment(List<ResourceReferenceDt> theValue)Sets the value(s) for fulfillment ()OrderResponsesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)OrderResponsesetOrderStatus(OrderStatusEnum theValue)Sets the value(s) for orderStatus ()OrderResponsesetOrderStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<OrderStatusEnum> theValue)Sets the value(s) for orderStatus ()OrderResponsesetRequest(ResourceReferenceDt theValue)Sets the value(s) for request ()OrderResponsesetWho(ResourceReferenceDt theValue)Sets the value(s) for who (who.actor)-
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
-
-
-
-
Field Detail
-
SP_REQUEST
public static final String SP_REQUEST
Search parameter constant for requestDescription:
Type: reference
Path: OrderResponse.request
- See Also:
- Constant Field Values
-
REQUEST
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST
Fluent Client search parameter constant for requestDescription:
Type: reference
Path: OrderResponse.request
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: OrderResponse.date
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: OrderResponse.date
-
SP_WHO
public static final String SP_WHO
Search parameter constant for whoDescription:
Type: reference
Path: OrderResponse.who
- See Also:
- Constant Field Values
-
WHO
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam WHO
Fluent Client search parameter constant for whoDescription:
Type: reference
Path: OrderResponse.who
-
SP_CODE
public static final String SP_CODE
Search parameter constant for codeDescription:
Type: token
Path: OrderResponse.orderStatus
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription:
Type: token
Path: OrderResponse.orderStatus
-
SP_FULFILLMENT
public static final String SP_FULFILLMENT
Search parameter constant for fulfillmentDescription:
Type: reference
Path: OrderResponse.fulfillment
- See Also:
- Constant Field Values
-
FULFILLMENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FULFILLMENT
Fluent Client search parameter constant for fulfillmentDescription:
Type: reference
Path: OrderResponse.fulfillment
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: Identifiers assigned to this order by the orderer or by the receiver
Type: token
Path: OrderResponse.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Identifiers assigned to this order by the orderer or by the receiver
Type: token
Path: OrderResponse.identifier
-
INCLUDE_FULFILLMENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_FULFILLMENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "OrderResponse:fulfillment".
-
INCLUDE_REQUEST
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST
Constant for fluent queries to be used to add include statements. Specifies the path value of "OrderResponse:request".
-
INCLUDE_WHO
public static final ca.uhn.fhir.model.api.Include INCLUDE_WHO
Constant for fluent queries to be used to add include statements. Specifies the path value of "OrderResponse:who".
-
-
Constructor Detail
-
OrderResponse
public OrderResponse()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: 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
-
setIdentifier
public OrderResponse setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: 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 IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: 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(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: 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
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: 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
-
getRequest
public ResourceReferenceDt getRequest()
Gets the value(s) for request (). creating it if it does not exist. Will not returnnull.Definition: A reference to the order that this is in response to
-
setRequest
public OrderResponse setRequest(ResourceReferenceDt theValue)
Sets the value(s) for request ()Definition: A reference to the order that this is in response to
-
getDateElement
public ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
Gets the value(s) for date (when.recorded). creating it if it does not exist. Will not returnnull.Definition: The date and time at which this order response was made (created/posted)
-
getDate
public Date getDate()
Gets the value(s) for date (when.recorded). creating it if it does not exist. This method may returnnull.Definition: The date and time at which this order response was made (created/posted)
-
setDate
public OrderResponse setDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for date (when.recorded)Definition: The date and time at which this order response was made (created/posted)
-
setDate
public OrderResponse setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for date (when.recorded)Definition: The date and time at which this order response was made (created/posted)
-
setDateWithSecondsPrecision
public OrderResponse setDateWithSecondsPrecision(Date theDate)
Sets the value for date (when.recorded)Definition: The date and time at which this order response was made (created/posted)
-
getWho
public ResourceReferenceDt getWho()
Gets the value(s) for who (who.actor). creating it if it does not exist. Will not returnnull.Definition: The person, organization, or device credited with making the response
-
setWho
public OrderResponse setWho(ResourceReferenceDt theValue)
Sets the value(s) for who (who.actor)Definition: The person, organization, or device credited with making the response
-
getOrderStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<OrderStatusEnum> getOrderStatusElement()
Gets the value(s) for orderStatus (). creating it if it does not exist. Will not returnnull.Definition: What this response says about the status of the original order
-
getOrderStatus
public String getOrderStatus()
Gets the value(s) for orderStatus (). creating it if it does not exist. This method may returnnull.Definition: What this response says about the status of the original order
-
setOrderStatus
public OrderResponse setOrderStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<OrderStatusEnum> theValue)
Sets the value(s) for orderStatus ()Definition: What this response says about the status of the original order
-
setOrderStatus
public OrderResponse setOrderStatus(OrderStatusEnum theValue)
Sets the value(s) for orderStatus ()Definition: What this response says about the status of the original order
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Additional description about the response - e.g. a text description provided by a human user when making decisions about the order
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: 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(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: 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 theString)
Sets the value for description ()Definition: Additional description about the response - e.g. a text description provided by a human user when making decisions about the order
-
getFulfillment
public List<ResourceReferenceDt> getFulfillment()
Gets the value(s) for fulfillment (). creating it if it does not exist. Will not returnnull.Definition: 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
-
setFulfillment
public OrderResponse setFulfillment(List<ResourceReferenceDt> theValue)
Sets the value(s) for fulfillment ()Definition: 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 ResourceReferenceDt addFulfillment()
Adds and returns a new value for fulfillment ()Definition: 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
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-