Class MedicationRequest
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.MedicationRequest
-
- 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 MedicationRequest extends DomainResource
An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationRequest.MedicationRequestDispenseRequestComponentstatic classMedicationRequest.MedicationRequestDispenseRequestInitialFillComponentstatic classMedicationRequest.MedicationRequestDoseComponentstatic classMedicationRequest.MedicationRequestIntentstatic classMedicationRequest.MedicationRequestIntentEnumFactorystatic classMedicationRequest.MedicationrequestStatusstatic classMedicationRequest.MedicationrequestStatusEnumFactorystatic classMedicationRequest.MedicationRequestSubstitutionComponent
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTypeauthoredOnThe date (and perhaps time) when the prescription was initially written or authored on.static ca.uhn.fhir.rest.gclient.DateClientParamAUTHOREDONFluent Client search parameter constant for authoredonprotected List<Reference>basedOnA plan or request that is fulfilled in whole or in part by this medication request.protected List<CodeableConcept>categoryIndicates the grouping or category of medication request (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.DateClientParamCOMBO_DATEFluent Client search parameter constant for combo-dateprotected CodeableConceptcourseOfTherapyTypeThe description of the overall pattern of the administration of the medication to the patient.protected List<Reference>detectedIssueIndicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.protected MedicationRequest.MedicationRequestDispenseRequestComponentdispenseRequestIndicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).protected BooleanTypedoNotPerformIf true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication.protected MedicationRequest.MedicationRequestDoseComponentdoseIndicates how the medication is to be used by the patient.protected ReferenceencounterThe Encounter during which this [x] was created or to which the creation of this record is tightly associated.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterprotected List<Reference>eventHistoryLinks to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.protected IdentifiergroupIdentifierA shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.protected List<Identifier>identifierIdentifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INTENDED_DISPENSERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INTENDED_PERFORMERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_MEDICATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static 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.protected ReferenceinformationSourceThe person or organization who provided the information about this request, if the source is someone other than the requestor.protected List<CanonicalType>instantiatesCanonicalThe URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.protected List<UriType>instantiatesUriThe URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.protected List<Reference>insuranceInsurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.static ca.uhn.fhir.rest.gclient.ReferenceClientParamINTENDED_DISPENSERFluent Client search parameter constant for intended-dispenserstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamINTENDED_PERFORMERFluent Client search parameter constant for intended-performerstatic ca.uhn.fhir.rest.gclient.TokenClientParamINTENDED_PERFORMERTYPEFluent Client search parameter constant for intended-performertypeprotected Enumeration<MedicationRequest.MedicationRequestIntent>intentWhether the request is a proposal, plan, or an original order.static ca.uhn.fhir.rest.gclient.TokenClientParamINTENTFluent Client search parameter constant for intentprotected CodeableReferencemedicationIdentifies the medication being requested.static ca.uhn.fhir.rest.gclient.ReferenceClientParamMEDICATIONFluent Client search parameter constant for medicationprotected List<Annotation>noteExtra information about the prescription that could not be conveyed by the other attributes.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected ReferenceperformerThe specified desired performer of the medication treatment (e.g.protected CodeableConceptperformerTypeIndicates the type of performer of the administration of the medication.protected Enumeration<Enumerations.RequestPriority>priorityIndicates how quickly the Medication Request should be addressed with respect to other requests.static ca.uhn.fhir.rest.gclient.TokenClientParamPRIORITYFluent Client search parameter constant for priorityprotected ReferencepriorPrescriptionA link to a resource representing an earlier order related order or prescription.protected List<CodeableReference>reasonThe reason or the indication for ordering or not ordering the medication.protected ReferencerecorderThe person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.protected BooleanTypereportedIndicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.protected ReferencerequesterThe individual, organization, or device that initiated the request and has responsibility for its activation.static ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTERFluent Client search parameter constant for requesterstatic StringSP_AUTHOREDONSearch parameter: authoredonstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CODESearch parameter: codestatic StringSP_COMBO_DATESearch parameter: combo-datestatic StringSP_ENCOUNTERSearch parameter: encounterstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_INTENDED_DISPENSERSearch parameter: intended-dispenserstatic StringSP_INTENDED_PERFORMERSearch parameter: intended-performerstatic StringSP_INTENDED_PERFORMERTYPESearch parameter: intended-performertypestatic StringSP_INTENTSearch parameter: intentstatic StringSP_MEDICATIONSearch parameter: medicationstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_PRIORITYSearch parameter: prioritystatic StringSP_REQUESTERSearch parameter: requesterstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectprotected Enumeration<MedicationRequest.MedicationrequestStatus>statusA code specifying the current state of the order.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected DateTimeTypestatusChangedThe date (and perhaps time) when the status was changed.protected CodeableConceptstatusReasonCaptures the reason for the current state of the MedicationRequest.protected ReferencesubjectA link to a resource representing the person or set of individuals to whom the medication will be given.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected MedicationRequest.MedicationRequestSubstitutionComponentsubstitutionIndicates whether or not substitution can or should be part of the dispense.protected List<Reference>supportingInformationInformation to support fulfilling (i.e.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MedicationRequest()ConstructorMedicationRequest(MedicationRequest.MedicationrequestStatus status, MedicationRequest.MedicationRequestIntent intent, CodeableReference medication, Reference subject)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.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.r5.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.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.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
Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.
-
instantiatesCanonical
protected List<CanonicalType> instantiatesCanonical
The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.
-
instantiatesUri
protected List<UriType> instantiatesUri
The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.
-
basedOn
protected List<Reference> basedOn
A plan or request that is fulfilled in whole or in part by this medication request.
-
priorPrescription
protected Reference priorPrescription
A link to a resource representing an earlier order related order or prescription.
-
groupIdentifier
protected Identifier groupIdentifier
A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.
-
status
protected Enumeration<MedicationRequest.MedicationrequestStatus> status
A code specifying the current state of the order. Generally, this will be active or completed state.
-
statusReason
protected CodeableConcept statusReason
Captures the reason for the current state of the MedicationRequest.
-
statusChanged
protected DateTimeType statusChanged
The date (and perhaps time) when the status was changed.
-
intent
protected Enumeration<MedicationRequest.MedicationRequestIntent> intent
Whether the request is a proposal, plan, or an original order.
-
category
protected List<CodeableConcept> category
Indicates the grouping or category of medication request (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).
-
priority
protected Enumeration<Enumerations.RequestPriority> priority
Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
doNotPerform
protected BooleanType doNotPerform
If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.
-
medication
protected CodeableReference medication
Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
subject
protected Reference subject
A link to a resource representing the person or set of individuals to whom the medication will be given.
-
informationSource
protected Reference informationSource
The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.
-
encounter
protected Reference encounter
The Encounter during which this [x] was created or to which the creation of this record is tightly associated.
-
supportingInformation
protected List<Reference> supportingInformation
Information to support fulfilling (i.e. dispensing or administering) of the medication, for example, patient height and weight, a MedicationUsage for the patient).
-
authoredOn
protected DateTimeType authoredOn
The date (and perhaps time) when the prescription was initially written or authored on.
-
requester
protected Reference requester
The individual, organization, or device that initiated the request and has responsibility for its activation.
-
reported
protected BooleanType reported
Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
-
performerType
protected CodeableConcept performerType
Indicates the type of performer of the administration of the medication.
-
performer
protected Reference performer
The specified desired performer of the medication treatment (e.g. the performer of the medication administration).
-
recorder
protected Reference recorder
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.
-
reason
protected List<CodeableReference> reason
The reason or the indication for ordering or not ordering the medication.
-
courseOfTherapyType
protected CodeableConcept courseOfTherapyType
The description of the overall pattern of the administration of the medication to the patient.
-
insurance
protected List<Reference> insurance
Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.
-
note
protected List<Annotation> note
Extra information about the prescription that could not be conveyed by the other attributes.
-
dose
protected MedicationRequest.MedicationRequestDoseComponent dose
Indicates how the medication is to be used by the patient.
-
dispenseRequest
protected MedicationRequest.MedicationRequestDispenseRequestComponent dispenseRequest
Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
-
substitution
protected MedicationRequest.MedicationRequestSubstitutionComponent substitution
Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.
-
detectedIssue
protected List<Reference> detectedIssue
Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.
-
eventHistory
protected List<Reference> eventHistory
Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.
-
SP_AUTHOREDON
public static final String SP_AUTHOREDON
Search parameter: authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
- See Also:
- Constant Field Values
-
AUTHOREDON
public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHOREDON
Fluent Client search parameter constant for authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
-
SP_COMBO_DATE
public static final String SP_COMBO_DATE
Search parameter: combo-dateDescription: Returns medication request to be administered on a specific date or within a date range
Type: date
Path: MedicationRequest.dose.dosageInstruction.timing.event | (MedicationRequest.dose.dosageInstruction.timing.repeat.bounds as Period)
- See Also:
- Constant Field Values
-
COMBO_DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam COMBO_DATE
Fluent Client search parameter constant for combo-dateDescription: Returns medication request to be administered on a specific date or within a date range
Type: date
Path: MedicationRequest.dose.dosageInstruction.timing.event | (MedicationRequest.dose.dosageInstruction.timing.repeat.bounds as Period)
-
SP_INTENDED_DISPENSER
public static final String SP_INTENDED_DISPENSER
Search parameter: intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.dispenser
- See Also:
- Constant Field Values
-
INTENDED_DISPENSER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_DISPENSER
Fluent Client search parameter constant for intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.dispenser
-
INCLUDE_INTENDED_DISPENSER
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_DISPENSER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-dispenser".
-
SP_INTENDED_PERFORMER
public static final String SP_INTENDED_PERFORMER
Search parameter: intended-performerDescription: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
- See Also:
- Constant Field Values
-
INTENDED_PERFORMER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_PERFORMER
Fluent Client search parameter constant for intended-performerDescription: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
-
INCLUDE_INTENDED_PERFORMER
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_PERFORMER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-performer".
-
SP_INTENDED_PERFORMERTYPE
public static final String SP_INTENDED_PERFORMERTYPE
Search parameter: intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
- See Also:
- Constant Field Values
-
INTENDED_PERFORMERTYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENDED_PERFORMERTYPE
Fluent Client search parameter constant for intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
-
SP_INTENT
public static final String SP_INTENT
Search parameter: intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
- See Also:
- Constant Field Values
-
INTENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT
Fluent Client search parameter constant for intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
-
SP_PRIORITY
public static final String SP_PRIORITY
Search parameter: priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
- See Also:
- Constant Field Values
-
PRIORITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Fluent Client search parameter constant for priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
-
SP_REQUESTER
public static final String SP_REQUESTER
Search parameter: requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
- See Also:
- Constant Field Values
-
REQUESTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Fluent Client search parameter constant for requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.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 "MedicationRequest:requester".
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
-
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 "MedicationRequest:subject".
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance [Condition](condition.html): Code for the condition [DeviceRequest](devicerequest.html): Code for what is being requested/ordered [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result [FamilyMemberHistory](familymemberhistory.html): A search by a condition code [List](list.html): What the purpose of this list is [Medication](medication.html): Returns medications for a specific code [MedicationAdministration](medicationadministration.html): Return administrations of this medication code [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code [MedicationUsage](medicationusage.html): Return statements of this medication code [Observation](observation.html): The code of the observation type [Procedure](procedure.html): A code to identify a procedure [ServiceRequest](servicerequest.html): What is being requested/ordered
Type: token
Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance [Condition](condition.html): Code for the condition [DeviceRequest](devicerequest.html): Code for what is being requested/ordered [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result [FamilyMemberHistory](familymemberhistory.html): A search by a condition code [List](list.html): What the purpose of this list is [Medication](medication.html): Returns medications for a specific code [MedicationAdministration](medicationadministration.html): Return administrations of this medication code [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code [MedicationUsage](medicationusage.html): Return statements of this medication code [Observation](observation.html): The code of the observation type [Procedure](procedure.html): A code to identify a procedure [ServiceRequest](servicerequest.html): What is being requested/ordered
Type: token
Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
-
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): Identifier of the attachment binary [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 [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 [MedicationUsage](medicationusage.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.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.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): Identifier of the attachment binary [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 [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 [MedicationUsage](medicationusage.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.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:patient".
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter: encounterDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier
Type: reference
Path: MedicationAdministration.encounter | MedicationRequest.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier
Type: reference
Path: MedicationAdministration.encounter | MedicationRequest.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:encounter".
-
SP_MEDICATION
public static final String SP_MEDICATION
Search parameter: medicationDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference [MedicationUsage](medicationusage.html): Return statements of this medication reference
Type: reference
Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- See Also:
- Constant Field Values
-
MEDICATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Fluent Client search parameter constant for medicationDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference [MedicationUsage](medicationusage.html): Return statements of this medication reference
Type: reference
Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
-
INCLUDE_MEDICATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:medication".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status [MedicationRequest](medicationrequest.html): Status of the prescription [MedicationUsage](medicationusage.html): Return statements that match the given status
Type: token
Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: Multiple Resources: [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status [MedicationRequest](medicationrequest.html): Status of the prescription [MedicationUsage](medicationusage.html): Return statements that match the given status
Type: token
Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
-
-
Constructor Detail
-
MedicationRequest
public MedicationRequest()
Constructor
-
MedicationRequest
public MedicationRequest(MedicationRequest.MedicationrequestStatus status, MedicationRequest.MedicationRequestIntent intent, CodeableReference medication, Reference subject)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
public MedicationRequest setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public MedicationRequest addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getInstantiatesCanonical
public List<CanonicalType> getInstantiatesCanonical()
- Returns:
instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
setInstantiatesCanonical
public MedicationRequest setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInstantiatesCanonical
public boolean hasInstantiatesCanonical()
-
addInstantiatesCanonicalElement
public CanonicalType addInstantiatesCanonicalElement()
- Returns:
instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
addInstantiatesCanonical
public MedicationRequest addInstantiatesCanonical(String value)
- Parameters:
value-instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
hasInstantiatesCanonical
public boolean hasInstantiatesCanonical(String value)
- Parameters:
value-instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
getInstantiatesUri
public List<UriType> getInstantiatesUri()
- Returns:
instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
setInstantiatesUri
public MedicationRequest setInstantiatesUri(List<UriType> theInstantiatesUri)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInstantiatesUri
public boolean hasInstantiatesUri()
-
addInstantiatesUriElement
public UriType addInstantiatesUriElement()
- Returns:
instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
addInstantiatesUri
public MedicationRequest addInstantiatesUri(String value)
- Parameters:
value-instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
hasInstantiatesUri
public boolean hasInstantiatesUri(String value)
- Parameters:
value-instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(A plan or request that is fulfilled in whole or in part by this medication request.)
-
setBasedOn
public MedicationRequest setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public MedicationRequest addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist {3}
-
getPriorPrescription
public Reference getPriorPrescription()
- Returns:
priorPrescription(A link to a resource representing an earlier order related order or prescription.)
-
hasPriorPrescription
public boolean hasPriorPrescription()
-
setPriorPrescription
public MedicationRequest setPriorPrescription(Reference value)
- Parameters:
value-priorPrescription(A link to a resource representing an earlier order related order or prescription.)
-
getGroupIdentifier
public Identifier getGroupIdentifier()
- Returns:
groupIdentifier(A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.)
-
hasGroupIdentifier
public boolean hasGroupIdentifier()
-
setGroupIdentifier
public MedicationRequest setGroupIdentifier(Identifier value)
- Parameters:
value-groupIdentifier(A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.)
-
getStatusElement
public Enumeration<MedicationRequest.MedicationrequestStatus> getStatusElement()
- Returns:
status(A code specifying the current state of the order. Generally, this will be active or completed state.). 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 MedicationRequest setStatusElement(Enumeration<MedicationRequest.MedicationrequestStatus> value)
- Parameters:
value-status(A code specifying the current state of the order. Generally, this will be active or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public MedicationRequest.MedicationrequestStatus getStatus()
- Returns:
- A code specifying the current state of the order. Generally, this will be active or completed state.
-
setStatus
public MedicationRequest setStatus(MedicationRequest.MedicationrequestStatus value)
- Parameters:
value- A code specifying the current state of the order. Generally, this will be active or completed state.
-
getStatusReason
public CodeableConcept getStatusReason()
- Returns:
statusReason(Captures the reason for the current state of the MedicationRequest.)
-
hasStatusReason
public boolean hasStatusReason()
-
setStatusReason
public MedicationRequest setStatusReason(CodeableConcept value)
- Parameters:
value-statusReason(Captures the reason for the current state of the MedicationRequest.)
-
getStatusChangedElement
public DateTimeType getStatusChangedElement()
- Returns:
statusChanged(The date (and perhaps time) when the status was changed.). This is the underlying object with id, value and extensions. The accessor "getStatusChanged" gives direct access to the value
-
hasStatusChangedElement
public boolean hasStatusChangedElement()
-
hasStatusChanged
public boolean hasStatusChanged()
-
setStatusChangedElement
public MedicationRequest setStatusChangedElement(DateTimeType value)
- Parameters:
value-statusChanged(The date (and perhaps time) when the status was changed.). This is the underlying object with id, value and extensions. The accessor "getStatusChanged" gives direct access to the value
-
getStatusChanged
public Date getStatusChanged()
- Returns:
- The date (and perhaps time) when the status was changed.
-
setStatusChanged
public MedicationRequest setStatusChanged(Date value)
- Parameters:
value- The date (and perhaps time) when the status was changed.
-
getIntentElement
public Enumeration<MedicationRequest.MedicationRequestIntent> getIntentElement()
- Returns:
intent(Whether the request is a proposal, plan, or an original order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
-
hasIntentElement
public boolean hasIntentElement()
-
hasIntent
public boolean hasIntent()
-
setIntentElement
public MedicationRequest setIntentElement(Enumeration<MedicationRequest.MedicationRequestIntent> value)
- Parameters:
value-intent(Whether the request is a proposal, plan, or an original order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
-
getIntent
public MedicationRequest.MedicationRequestIntent getIntent()
- Returns:
- Whether the request is a proposal, plan, or an original order.
-
setIntent
public MedicationRequest setIntent(MedicationRequest.MedicationRequestIntent value)
- Parameters:
value- Whether the request is a proposal, plan, or an original order.
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(Indicates the grouping or category of medication request (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).)
-
setCategory
public MedicationRequest setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public MedicationRequest addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist {3}
-
getPriorityElement
public Enumeration<Enumerations.RequestPriority> getPriorityElement()
- Returns:
priority(Indicates how quickly the Medication Request 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 MedicationRequest setPriorityElement(Enumeration<Enumerations.RequestPriority> value)
- Parameters:
value-priority(Indicates how quickly the Medication Request 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 the Medication Request should be addressed with respect to other requests.
-
setPriority
public MedicationRequest setPriority(Enumerations.RequestPriority value)
- Parameters:
value- Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
getDoNotPerformElement
public BooleanType getDoNotPerformElement()
- Returns:
doNotPerform(If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
hasDoNotPerformElement
public boolean hasDoNotPerformElement()
-
hasDoNotPerform
public boolean hasDoNotPerform()
-
setDoNotPerformElement
public MedicationRequest setDoNotPerformElement(BooleanType value)
- Parameters:
value-doNotPerform(If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
getDoNotPerform
public boolean getDoNotPerform()
- Returns:
- If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.
-
setDoNotPerform
public MedicationRequest setDoNotPerform(boolean value)
- Parameters:
value- If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.
-
getMedication
public CodeableReference getMedication()
- Returns:
medication(Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.)
-
hasMedication
public boolean hasMedication()
-
setMedication
public MedicationRequest setMedication(CodeableReference value)
- Parameters:
value-medication(Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.)
-
getSubject
public Reference getSubject()
- Returns:
subject(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public MedicationRequest setSubject(Reference value)
- Parameters:
value-subject(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
getInformationSource
public Reference getInformationSource()
- Returns:
informationSource(The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.)
-
hasInformationSource
public boolean hasInformationSource()
-
setInformationSource
public MedicationRequest setInformationSource(Reference value)
- Parameters:
value-informationSource(The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public MedicationRequest setEncounter(Reference value)
- Parameters:
value-encounter(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
getSupportingInformation
public List<Reference> getSupportingInformation()
- Returns:
supportingInformation(Information to support fulfilling (i.e. dispensing or administering) of the medication, for example, patient height and weight, a MedicationUsage for the patient).)
-
setSupportingInformation
public MedicationRequest setSupportingInformation(List<Reference> theSupportingInformation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupportingInformation
public boolean hasSupportingInformation()
-
addSupportingInformation
public Reference addSupportingInformation()
-
addSupportingInformation
public MedicationRequest addSupportingInformation(Reference t)
-
getSupportingInformationFirstRep
public Reference getSupportingInformationFirstRep()
- Returns:
- The first repetition of repeating field
supportingInformation, creating it if it does not already exist {3}
-
getAuthoredOnElement
public DateTimeType getAuthoredOnElement()
- Returns:
authoredOn(The date (and perhaps time) when the prescription was initially written or authored on.). 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 MedicationRequest setAuthoredOnElement(DateTimeType value)
- Parameters:
value-authoredOn(The date (and perhaps time) when the prescription was initially written or authored on.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
getAuthoredOn
public Date getAuthoredOn()
- Returns:
- The date (and perhaps time) when the prescription was initially written or authored on.
-
setAuthoredOn
public MedicationRequest setAuthoredOn(Date value)
- Parameters:
value- The date (and perhaps time) when the prescription was initially written or authored on.
-
getRequester
public Reference getRequester()
- Returns:
requester(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
hasRequester
public boolean hasRequester()
-
setRequester
public MedicationRequest setRequester(Reference value)
- Parameters:
value-requester(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
getReportedElement
public BooleanType getReportedElement()
- Returns:
reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.). This is the underlying object with id, value and extensions. The accessor "getReported" gives direct access to the value
-
hasReportedElement
public boolean hasReportedElement()
-
hasReported
public boolean hasReported()
-
setReportedElement
public MedicationRequest setReportedElement(BooleanType value)
- Parameters:
value-reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.). This is the underlying object with id, value and extensions. The accessor "getReported" gives direct access to the value
-
getReported
public boolean getReported()
- Returns:
- Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
-
setReported
public MedicationRequest setReported(boolean value)
- Parameters:
value- Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
-
getPerformerType
public CodeableConcept getPerformerType()
- Returns:
performerType(Indicates the type of performer of the administration of the medication.)
-
hasPerformerType
public boolean hasPerformerType()
-
setPerformerType
public MedicationRequest setPerformerType(CodeableConcept value)
- Parameters:
value-performerType(Indicates the type of performer of the administration of the medication.)
-
getPerformer
public Reference getPerformer()
- Returns:
performer(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
hasPerformer
public boolean hasPerformer()
-
setPerformer
public MedicationRequest setPerformer(Reference value)
- Parameters:
value-performer(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
getRecorder
public Reference getRecorder()
- Returns:
recorder(The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
hasRecorder
public boolean hasRecorder()
-
setRecorder
public MedicationRequest setRecorder(Reference value)
- Parameters:
value-recorder(The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
getReason
public List<CodeableReference> getReason()
- Returns:
reason(The reason or the indication for ordering or not ordering the medication.)
-
setReason
public MedicationRequest setReason(List<CodeableReference> theReason)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReason
public boolean hasReason()
-
addReason
public CodeableReference addReason()
-
addReason
public MedicationRequest addReason(CodeableReference t)
-
getReasonFirstRep
public CodeableReference getReasonFirstRep()
- Returns:
- The first repetition of repeating field
reason, creating it if it does not already exist {3}
-
getCourseOfTherapyType
public CodeableConcept getCourseOfTherapyType()
- Returns:
courseOfTherapyType(The description of the overall pattern of the administration of the medication to the patient.)
-
hasCourseOfTherapyType
public boolean hasCourseOfTherapyType()
-
setCourseOfTherapyType
public MedicationRequest setCourseOfTherapyType(CodeableConcept value)
- Parameters:
value-courseOfTherapyType(The description of the overall pattern of the administration of the medication to the patient.)
-
getInsurance
public List<Reference> getInsurance()
- Returns:
insurance(Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.)
-
setInsurance
public MedicationRequest setInsurance(List<Reference> theInsurance)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInsurance
public boolean hasInsurance()
-
addInsurance
public Reference addInsurance()
-
addInsurance
public MedicationRequest addInsurance(Reference t)
-
getInsuranceFirstRep
public Reference getInsuranceFirstRep()
- Returns:
- The first repetition of repeating field
insurance, creating it if it does not already exist {3}
-
getNote
public List<Annotation> getNote()
- Returns:
note(Extra information about the prescription that could not be conveyed by the other attributes.)
-
setNote
public MedicationRequest setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public MedicationRequest addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist {3}
-
getDose
public MedicationRequest.MedicationRequestDoseComponent getDose()
- Returns:
dose(Indicates how the medication is to be used by the patient.)
-
hasDose
public boolean hasDose()
-
setDose
public MedicationRequest setDose(MedicationRequest.MedicationRequestDoseComponent value)
- Parameters:
value-dose(Indicates how the medication is to be used by the patient.)
-
getDispenseRequest
public MedicationRequest.MedicationRequestDispenseRequestComponent getDispenseRequest()
- Returns:
dispenseRequest(Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.)
-
hasDispenseRequest
public boolean hasDispenseRequest()
-
setDispenseRequest
public MedicationRequest setDispenseRequest(MedicationRequest.MedicationRequestDispenseRequestComponent value)
- Parameters:
value-dispenseRequest(Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.)
-
getSubstitution
public MedicationRequest.MedicationRequestSubstitutionComponent getSubstitution()
- Returns:
substitution(Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.)
-
hasSubstitution
public boolean hasSubstitution()
-
setSubstitution
public MedicationRequest setSubstitution(MedicationRequest.MedicationRequestSubstitutionComponent value)
- Parameters:
value-substitution(Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.)
-
getDetectedIssue
public List<Reference> getDetectedIssue()
- Returns:
detectedIssue(Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.)
-
setDetectedIssue
public MedicationRequest setDetectedIssue(List<Reference> theDetectedIssue)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDetectedIssue
public boolean hasDetectedIssue()
-
addDetectedIssue
public Reference addDetectedIssue()
-
addDetectedIssue
public MedicationRequest addDetectedIssue(Reference t)
-
getDetectedIssueFirstRep
public Reference getDetectedIssueFirstRep()
- Returns:
- The first repetition of repeating field
detectedIssue, creating it if it does not already exist {3}
-
getEventHistory
public List<Reference> getEventHistory()
- Returns:
eventHistory(Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.)
-
setEventHistory
public MedicationRequest setEventHistory(List<Reference> theEventHistory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasEventHistory
public boolean hasEventHistory()
-
addEventHistory
public Reference addEventHistory()
-
addEventHistory
public MedicationRequest addEventHistory(Reference t)
-
getEventHistoryFirstRep
public Reference getEventHistoryFirstRep()
- Returns:
- The first repetition of repeating field
eventHistory, creating it if it does not already exist {3}
-
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 MedicationRequest copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicationRequest dst)
-
typedCopy
protected MedicationRequest 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
-
-