Class SupplyRequest
- java.lang.Object
-
- org.hl7.fhir.r4b.model.Base
-
- org.hl7.fhir.r4b.model.BaseResource
-
- org.hl7.fhir.r4b.model.Resource
-
- org.hl7.fhir.r4b.model.DomainResource
-
- org.hl7.fhir.r4b.model.SupplyRequest
-
- 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 SupplyRequest extends DomainResource
A record of a request for a medication, substance or device used in the healthcare setting.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSupplyRequest.SupplyRequestParameterComponentstatic classSupplyRequest.SupplyRequestStatusstatic classSupplyRequest.SupplyRequestStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTypeauthoredOnWhen the request was made.protected CodeableConceptcategoryCategory of supply, e.g.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected ReferencedeliverFromWhere the supply is expected to come from.protected ReferencedeliverToWhere the supply is destined to go.protected List<Identifier>identifierBusiness identifiers assigned to this SupplyRequest by the author and/or other systems.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_REQUESTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUPPLIERConstant for fluent queries to be used to add include statements.protected DataTypeitemThe item that is requested to be supplied.protected DataTypeoccurrenceWhen the request should be fulfilled.protected List<SupplyRequest.SupplyRequestParameterComponent>parameterSpecific parameters for the ordered item.protected Enumeration<Enumerations.RequestPriority>priorityIndicates how quickly this SupplyRequest should be addressed with respect to other requests.protected QuantityquantityThe amount that is being ordered of the indicated item.protected List<CodeableConcept>reasonCodeThe reason why the supply item was requested.protected List<Reference>reasonReferenceThe reason why the supply item was requested.protected ReferencerequesterThe device, practitioner, etc.static ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTERFluent Client search parameter constant for requesterstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_REQUESTERSearch parameter: requesterstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_SUPPLIERSearch parameter: supplierprotected Enumeration<SupplyRequest.SupplyRequestStatus>statusStatus of the supply request.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected List<Reference>supplierWho is intended to fulfill the request.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUPPLIERFluent Client search parameter constant for supplier-
Fields inherited from class org.hl7.fhir.r4b.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r4b.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SupplyRequest()ConstructorSupplyRequest(DataType item, Quantity quantity)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4b.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4b.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4b.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4b.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, 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
Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.
-
status
protected Enumeration<SupplyRequest.SupplyRequestStatus> status
Status of the supply request.
-
category
protected CodeableConcept category
Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.
-
priority
protected Enumeration<Enumerations.RequestPriority> priority
Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
-
item
protected DataType item
The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.
-
parameter
protected List<SupplyRequest.SupplyRequestParameterComponent> parameter
Specific parameters for the ordered item. For example, the size of the indicated item.
-
occurrence
protected DataType occurrence
When the request should be fulfilled.
-
authoredOn
protected DateTimeType authoredOn
When the request was made.
-
reasonCode
protected List<CodeableConcept> reasonCode
The reason why the supply item was requested.
-
reasonReference
protected List<Reference> reasonReference
The reason why the supply item was requested.
-
deliverFrom
protected Reference deliverFrom
Where the supply is expected to come from.
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
-
SP_REQUESTER
public static final String SP_REQUESTER
Search parameter: requesterDescription: Individual making the request
Type: reference
Path: SupplyRequest.requester
- See Also:
- Constant Field Values
-
REQUESTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Fluent Client search parameter constant for requesterDescription: Individual making the request
Type: reference
Path: SupplyRequest.requester
-
INCLUDE_REQUESTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:requester".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: draft | active | suspended +
Type: token
Path: SupplyRequest.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: draft | active | suspended +
Type: token
Path: SupplyRequest.status
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:subject".
-
SP_SUPPLIER
public static final String SP_SUPPLIER
Search parameter: supplierDescription: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
- See Also:
- Constant Field Values
-
SUPPLIER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
Fluent Client search parameter constant for supplierDescription: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
-
INCLUDE_SUPPLIER
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:supplier".
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded [CarePlan](careplan.html): Time period plan covers [CareTeam](careteam.html): Time period team covers [ClinicalImpression](clinicalimpression.html): When the assessment was documented [Composition](composition.html): Composition editing time [Consent](consent.html): When this Consent was created or indexed [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report [Encounter](encounter.html): A date within the period the Encounter lasted [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated [Flag](flag.html): Time period when flag is active [Immunization](immunization.html): Vaccination (non)-Administration Date [List](list.html): When the list was prepared [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period [Procedure](procedure.html): When the procedure was performed [RiskAssessment](riskassessment.html): When was assessment made? [SupplyRequest](supplyrequest.html): When the request was made
Type: date
Path: AllergyIntolerance.recordedDate | CarePlan.period | CareTeam.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.performed | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded [CarePlan](careplan.html): Time period plan covers [CareTeam](careteam.html): Time period team covers [ClinicalImpression](clinicalimpression.html): When the assessment was documented [Composition](composition.html): Composition editing time [Consent](consent.html): When this Consent was created or indexed [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report [Encounter](encounter.html): A date within the period the Encounter lasted [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated [Flag](flag.html): Time period when flag is active [Immunization](immunization.html): Vaccination (non)-Administration Date [List](list.html): When the list was prepared [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period [Procedure](procedure.html): When the procedure was performed [RiskAssessment](riskassessment.html): When was assessment made? [SupplyRequest](supplyrequest.html): When the request was made
Type: date
Path: AllergyIntolerance.recordedDate | CarePlan.period | CareTeam.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.performed | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): External ids for this item [CarePlan](careplan.html): External Ids for this plan [CareTeam](careteam.html): External Ids for this team [Composition](composition.html): Version-independent identifier for the Composition [Condition](condition.html): A unique identifier of the condition record [Consent](consent.html): Identifier for this record (external references) [DetectedIssue](detectedissue.html): Unique id for the detected issue [DeviceRequest](devicerequest.html): Business identifier for request/order [DiagnosticReport](diagnosticreport.html): An identifier for the report [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents [DocumentReference](documentreference.html): Master Version Specific Identifier [Encounter](encounter.html): Identifier(s) by which this encounter is known [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier [Goal](goal.html): External Ids for this goal [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number [Immunization](immunization.html): Business identifier [List](list.html): Business identifier [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier [MedicationStatement](medicationstatement.html): Return statements with this external identifier [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier [Observation](observation.html): The unique id for a particular observation [Procedure](procedure.html): A unique identifier for a procedure [RiskAssessment](riskassessment.html): Unique identifier for the assessment [ServiceRequest](servicerequest.html): Identifiers assigned to this order [SupplyDelivery](supplydelivery.html): External identifier [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier
Type: token
Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.masterIdentifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): External ids for this item [CarePlan](careplan.html): External Ids for this plan [CareTeam](careteam.html): External Ids for this team [Composition](composition.html): Version-independent identifier for the Composition [Condition](condition.html): A unique identifier of the condition record [Consent](consent.html): Identifier for this record (external references) [DetectedIssue](detectedissue.html): Unique id for the detected issue [DeviceRequest](devicerequest.html): Business identifier for request/order [DiagnosticReport](diagnosticreport.html): An identifier for the report [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents [DocumentReference](documentreference.html): Master Version Specific Identifier [Encounter](encounter.html): Identifier(s) by which this encounter is known [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier [Goal](goal.html): External Ids for this goal [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number [Immunization](immunization.html): Business identifier [List](list.html): Business identifier [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier [MedicationStatement](medicationstatement.html): Return statements with this external identifier [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier [Observation](observation.html): The unique id for a particular observation [Procedure](procedure.html): A unique identifier for a procedure [RiskAssessment](riskassessment.html): Unique identifier for the assessment [ServiceRequest](servicerequest.html): Identifiers assigned to this order [SupplyDelivery](supplydelivery.html): External identifier [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier
Type: token
Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.masterIdentifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
-
-
Constructor Detail
-
SupplyRequest
public SupplyRequest()
Constructor
-
SupplyRequest
public SupplyRequest(DataType item, Quantity quantity)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
public SupplyRequest setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public SupplyRequest addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getStatusElement
public Enumeration<SupplyRequest.SupplyRequestStatus> getStatusElement()
- Returns:
status(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public SupplyRequest setStatusElement(Enumeration<SupplyRequest.SupplyRequestStatus> value)
- Parameters:
value-status(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public SupplyRequest.SupplyRequestStatus getStatus()
- Returns:
- Status of the supply request.
-
setStatus
public SupplyRequest setStatus(SupplyRequest.SupplyRequestStatus value)
- Parameters:
value- Status of the supply request.
-
getCategory
public CodeableConcept getCategory()
- Returns:
category(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
hasCategory
public boolean hasCategory()
-
setCategory
public SupplyRequest setCategory(CodeableConcept value)
- Parameters:
value-category(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
getPriorityElement
public Enumeration<Enumerations.RequestPriority> getPriorityElement()
- Returns:
priority(Indicates how quickly this SupplyRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
hasPriorityElement
public boolean hasPriorityElement()
-
hasPriority
public boolean hasPriority()
-
setPriorityElement
public SupplyRequest setPriorityElement(Enumeration<Enumerations.RequestPriority> value)
- Parameters:
value-priority(Indicates how quickly this SupplyRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
getPriority
public Enumerations.RequestPriority getPriority()
- Returns:
- Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
-
setPriority
public SupplyRequest setPriority(Enumerations.RequestPriority value)
- Parameters:
value- Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
-
getItem
public DataType getItem()
- Returns:
item(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)
-
getItemCodeableConcept
public CodeableConcept getItemCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
item(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasItemCodeableConcept
public boolean hasItemCodeableConcept()
-
getItemReference
public Reference getItemReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
item(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasItemReference
public boolean hasItemReference()
-
hasItem
public boolean hasItem()
-
setItem
public SupplyRequest setItem(DataType value)
- Parameters:
value-item(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)
-
getQuantity
public Quantity getQuantity()
- Returns:
quantity(The amount that is being ordered of the indicated item.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public SupplyRequest setQuantity(Quantity value)
- Parameters:
value-quantity(The amount that is being ordered of the indicated item.)
-
getParameter
public List<SupplyRequest.SupplyRequestParameterComponent> getParameter()
- Returns:
parameter(Specific parameters for the ordered item. For example, the size of the indicated item.)
-
setParameter
public SupplyRequest setParameter(List<SupplyRequest.SupplyRequestParameterComponent> theParameter)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParameter
public boolean hasParameter()
-
addParameter
public SupplyRequest.SupplyRequestParameterComponent addParameter()
-
addParameter
public SupplyRequest addParameter(SupplyRequest.SupplyRequestParameterComponent t)
-
getParameterFirstRep
public SupplyRequest.SupplyRequestParameterComponent getParameterFirstRep()
- Returns:
- The first repetition of repeating field
parameter, creating it if it does not already exist {3}
-
getOccurrence
public DataType getOccurrence()
- Returns:
occurrence(When the request should be fulfilled.)
-
getOccurrenceDateTimeType
public DateTimeType getOccurrenceDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceDateTimeType
public boolean hasOccurrenceDateTimeType()
-
getOccurrencePeriod
public Period getOccurrencePeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrencePeriod
public boolean hasOccurrencePeriod()
-
getOccurrenceTiming
public Timing getOccurrenceTiming() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceTiming
public boolean hasOccurrenceTiming()
-
hasOccurrence
public boolean hasOccurrence()
-
setOccurrence
public SupplyRequest setOccurrence(DataType value)
- Parameters:
value-occurrence(When the request should be fulfilled.)
-
getAuthoredOnElement
public DateTimeType getAuthoredOnElement()
- Returns:
authoredOn(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
hasAuthoredOnElement
public boolean hasAuthoredOnElement()
-
hasAuthoredOn
public boolean hasAuthoredOn()
-
setAuthoredOnElement
public SupplyRequest setAuthoredOnElement(DateTimeType value)
- Parameters:
value-authoredOn(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
getAuthoredOn
public Date getAuthoredOn()
- Returns:
- When the request was made.
-
setAuthoredOn
public SupplyRequest setAuthoredOn(Date value)
- Parameters:
value- When the request was made.
-
getRequester
public Reference getRequester()
- Returns:
requester(The device, practitioner, etc. who initiated the request.)
-
hasRequester
public boolean hasRequester()
-
setRequester
public SupplyRequest setRequester(Reference value)
- Parameters:
value-requester(The device, practitioner, etc. who initiated the request.)
-
getSupplier
public List<Reference> getSupplier()
- Returns:
supplier(Who is intended to fulfill the request.)
-
setSupplier
public SupplyRequest setSupplier(List<Reference> theSupplier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupplier
public boolean hasSupplier()
-
addSupplier
public Reference addSupplier()
-
addSupplier
public SupplyRequest addSupplier(Reference t)
-
getSupplierFirstRep
public Reference getSupplierFirstRep()
- Returns:
- The first repetition of repeating field
supplier, creating it if it does not already exist {3}
-
getReasonCode
public List<CodeableConcept> getReasonCode()
- Returns:
reasonCode(The reason why the supply item was requested.)
-
setReasonCode
public SupplyRequest setReasonCode(List<CodeableConcept> theReasonCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonCode
public boolean hasReasonCode()
-
addReasonCode
public CodeableConcept addReasonCode()
-
addReasonCode
public SupplyRequest addReasonCode(CodeableConcept t)
-
getReasonCodeFirstRep
public CodeableConcept getReasonCodeFirstRep()
- Returns:
- The first repetition of repeating field
reasonCode, creating it if it does not already exist {3}
-
getReasonReference
public List<Reference> getReasonReference()
- Returns:
reasonReference(The reason why the supply item was requested.)
-
setReasonReference
public SupplyRequest setReasonReference(List<Reference> theReasonReference)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonReference
public boolean hasReasonReference()
-
addReasonReference
public Reference addReasonReference()
-
addReasonReference
public SupplyRequest addReasonReference(Reference t)
-
getReasonReferenceFirstRep
public Reference getReasonReferenceFirstRep()
- Returns:
- The first repetition of repeating field
reasonReference, creating it if it does not already exist {3}
-
getDeliverFrom
public Reference getDeliverFrom()
- Returns:
deliverFrom(Where the supply is expected to come from.)
-
hasDeliverFrom
public boolean hasDeliverFrom()
-
setDeliverFrom
public SupplyRequest setDeliverFrom(Reference value)
- Parameters:
value-deliverFrom(Where the supply is expected to come from.)
-
getDeliverTo
public Reference getDeliverTo()
- Returns:
deliverTo(Where the supply is destined to go.)
-
hasDeliverTo
public boolean hasDeliverTo()
-
setDeliverTo
public SupplyRequest setDeliverTo(Reference value)
- Parameters:
value-deliverTo(Where the supply is destined to go.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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 SupplyRequest copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(SupplyRequest dst)
-
typedCopy
protected SupplyRequest 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
-
-