Class 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
static enum
static class
static enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
The date (and perhaps time) when the prescription was initially written or authored on.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for authoredonA plan or request that is fulfilled in whole or in part by this medication request.The actual objects that are the target of the reference (A plan or request that is fulfilled in whole or in part by this medication request.)protected List
<CodeableConcept> Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codeprotected CodeableConcept
The description of the overall patte3rn of the administration of the medication to the patient.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for dateIndicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.protected List
<DetectedIssue> The actual objects that are the target of the reference (Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).protected BooleanType
If true indicates that the provider is asking for the medication request not to occur.Indicates how the medication is to be used by the patient.protected Reference
The Encounter during which this [x] was created or to which the creation of this record is tightly associated.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterprotected Encounter
The actual object that is the target of the reference (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)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.protected List
<Provenance> The actual objects that are the target of the reference (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.)protected Identifier
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.protected List
<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.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected List
<CanonicalType> The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.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.Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.The actual objects that are the target of the reference (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.)static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for intended-dispenserstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for intended-performerstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for intended-performertypeWhether the request is a proposal, plan, or an original order.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for intentprotected Type
Identifies the medication being requested.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for medicationprotected List
<Annotation> Extra information about the prescription that could not be conveyed by the other attributes.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientprotected Reference
The specified desired performer of the medication treatment (e.g.protected Resource
The actual object that is the target of the reference (The specified desired performer of the medication treatment (e.g.protected CodeableConcept
Indicates the type of performer of the administration of the medication.Indicates how quickly the Medication Request should be addressed with respect to other requests.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for priorityprotected Reference
A link to a resource representing an earlier order related order or prescription.protected MedicationRequest
The actual object that is the target of the reference (A link to a resource representing an earlier order related order or prescription.)protected List
<CodeableConcept> The reason or the indication for ordering or not ordering the medication.Condition or observation that supports why the medication was ordered.The actual objects that are the target of the reference (Condition or observation that supports why the medication was ordered.)protected Reference
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.protected Resource
The actual object that is the target of the reference (The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)protected Type
Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.protected Reference
The individual, organization, or device that initiated the request and has responsibility for its activation.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requesterprotected Resource
The actual object that is the target of the reference (The individual, organization, or device that initiated the request and has responsibility for its activation.)static final String
Search parameter: authoredonstatic final String
Search parameter: categorystatic final String
Search parameter: codestatic final String
Search parameter: datestatic final String
Search parameter: encounterstatic final String
Search parameter: identifierstatic final String
Search parameter: intended-dispenserstatic final String
Search parameter: intended-performerstatic final String
Search parameter: intended-performertypestatic final String
Search parameter: intentstatic final String
Search parameter: medicationstatic final String
Search parameter: patientstatic final String
Search parameter: prioritystatic final String
Search parameter: requesterstatic final String
Search parameter: statusstatic final String
Search parameter: subjectA code specifying the current state of the order.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusprotected CodeableConcept
Captures the reason for the current state of the MedicationRequest.protected Reference
A link to a resource representing the person or set of individuals to whom the medication will be given.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectprotected Resource
The actual object that is the target of the reference (A link to a resource representing the person or set of individuals to whom the medication will be given.)Indicates whether or not substitution can or should be part of the dispense.Include additional information (for example, patient height and weight) that supports the ordering of the medication.The actual objects that are the target of the reference (Include additional information (for example, patient height and weight) that supports the ordering of the medication.)Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorMedicationRequest
(Enumeration<MedicationRequest.MedicationRequestStatus> status, Enumeration<MedicationRequest.MedicationRequestIntent> intent, Type medication, Reference subject) Constructor -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadaddInstantiatesCanonical
(String value) addInstantiatesUri
(String value) addNote()
copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadboolean
Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadgetNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadString[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasInstantiatesCanonical
(String value) boolean
boolean
hasInstantiatesUri
(String value) boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAuthoredOn
(Date value) setAuthoredOnElement
(DateTimeType value) setBasedOn
(List<Reference> theBasedOn) setCategory
(List<CodeableConcept> theCategory) setDetectedIssue
(List<Reference> theDetectedIssue) setDoNotPerform
(boolean value) setDosageInstruction
(List<Dosage> theDosageInstruction) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setEventHistory
(List<Reference> theEventHistory) setGroupIdentifier
(Identifier value) setIdentifier
(List<Identifier> theIdentifier) setInstantiatesCanonical
(List<CanonicalType> theInstantiatesCanonical) setInstantiatesUri
(List<UriType> theInstantiatesUri) setInsurance
(List<Reference> theInsurance) setMedication
(Type value) setNote
(List<Annotation> theNote) setPerformer
(Reference value) setPerformerTarget
(Resource value) setPerformerType
(CodeableConcept value) setPriorPrescription
(Reference value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setReasonCode
(List<CodeableConcept> theReasonCode) setReasonReference
(List<Reference> theReasonReference) setRecorder
(Reference value) setRecorderTarget
(Resource value) setReported
(Type value) setRequester
(Reference value) setRequesterTarget
(Resource value) setStatusReason
(CodeableConcept value) setSubject
(Reference value) setSubjectTarget
(Resource value) setSupportingInformation
(List<Reference> theSupportingInformation) protected MedicationRequest
Methods inherited from class org.hl7.fhir.r4.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.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, 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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
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. -
status
A code specifying the current state of the order. Generally, this will be active or completed state. -
statusReason
Captures the reason for the current state of the MedicationRequest. -
intent
Whether the request is a proposal, plan, or an original order. -
category
Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)). -
priority
Indicates how quickly the Medication Request should be addressed with respect to other requests. -
doNotPerform
If true indicates that the provider is asking for the medication request not to occur. -
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. -
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
A link to a resource representing the person or set of individuals to whom the medication will be given. -
subjectTarget
The actual object that is the target of the reference (A link to a resource representing the person or set of individuals to whom the medication will be given.) -
encounter
The Encounter during which this [x] was created or to which the creation of this record is tightly associated. -
encounterTarget
The actual object that is the target of the reference (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.) -
supportingInformation
Include additional information (for example, patient height and weight) that supports the ordering of the medication. -
supportingInformationTarget
The actual objects that are the target of the reference (Include additional information (for example, patient height and weight) that supports the ordering of the medication.) -
authoredOn
The date (and perhaps time) when the prescription was initially written or authored on. -
requester
The individual, organization, or device that initiated the request and has responsibility for its activation. -
requesterTarget
The actual object that is the target of the reference (The individual, organization, or device that initiated the request and has responsibility for its activation.) -
performer
The specified desired performer of the medication treatment (e.g. the performer of the medication administration). -
performerTarget
The actual object that is the target of the reference (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).) -
performerType
Indicates the type of performer of the administration of the medication. -
recorder
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order. -
recorderTarget
The actual object that is the target of the reference (The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.) -
reasonCode
The reason or the indication for ordering or not ordering the medication. -
reasonReference
Condition or observation that supports why the medication was ordered. -
reasonReferenceTarget
The actual objects that are the target of the reference (Condition or observation that supports why the medication was ordered.) -
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
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
A plan or request that is fulfilled in whole or in part by this medication request. -
basedOnTarget
The actual objects that are the target of the reference (A plan or request that is fulfilled in whole or in part by this medication request.) -
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. -
courseOfTherapyType
The description of the overall patte3rn of the administration of the medication to the patient. -
insurance
Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service. -
insuranceTarget
The actual objects that are the target of the reference (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.) -
note
Extra information about the prescription that could not be conveyed by the other attributes. -
dosageInstruction
Indicates how the medication is to be used by the patient. -
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
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. -
priorPrescription
A link to a resource representing an earlier order related order or prescription. -
priorPrescriptionTarget
The actual object that is the target of the reference (A link to a resource representing an earlier order related order or prescription.) -
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. -
detectedIssueTarget
The actual objects that are the target of the reference (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
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. -
eventHistoryTarget
The actual objects that are the target of the reference (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_REQUESTER
Search parameter: requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
-
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:requester". -
SP_DATE
Search parameter: dateDescription: Returns medication request to be administered on a specific date
Type: date
Path: MedicationRequest.dosageInstruction.timing.event
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: Returns medication request to be administered on a specific date
Type: date
Path: MedicationRequest.dosageInstruction.timing.event
-
SP_IDENTIFIER
Search parameter: identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
-
SP_INTENDED_DISPENSER
Search parameter: intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
- See Also:
-
INTENDED_DISPENSER
Fluent Client search parameter constant for intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
-
INCLUDE_INTENDED_DISPENSER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-dispenser". -
SP_AUTHOREDON
Search parameter: authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
- See Also:
-
AUTHOREDON
Fluent Client search parameter constant for authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
-
SP_CODE
Search parameter: codeDescription: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
-
SP_SUBJECT
Search parameter: subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:subject". -
SP_MEDICATION
Search parameter: medicationDescription: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
- See Also:
-
MEDICATION
Fluent Client search parameter constant for medicationDescription: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
-
INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:medication". -
SP_ENCOUNTER
Search parameter: encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:encounter". -
SP_PRIORITY
Search parameter: priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
- See Also:
-
PRIORITY
Fluent Client search parameter constant for priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
-
SP_INTENT
Search parameter: intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
- See Also:
-
INTENT
Fluent Client search parameter constant for intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
-
SP_PATIENT
Search parameter: patientDescription: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:patient". -
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:
-
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
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-performer". -
SP_INTENDED_PERFORMERTYPE
Search parameter: intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
- See Also:
-
INTENDED_PERFORMERTYPE
Fluent Client search parameter constant for intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
-
SP_CATEGORY
Search parameter: categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
-
SP_STATUS
Search parameter: statusDescription: Status of the prescription
Type: token
Path: MedicationRequest.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: Status of the prescription
Type: token
Path: MedicationRequest.status
-
-
Constructor Details
-
MedicationRequest
public MedicationRequest()Constructor -
MedicationRequest
public MedicationRequest(Enumeration<MedicationRequest.MedicationRequestStatus> status, Enumeration<MedicationRequest.MedicationRequestIntent> intent, Type medication, Reference subject) Constructor
-
-
Method Details
-
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
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
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
-
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
- Returns:
- A code specifying the current state of the order. Generally, this will be active or completed state.
-
setStatus
- Parameters:
value
- A code specifying the current state of the order. Generally, this will be active or completed state.
-
getStatusReason
- Returns:
statusReason
(Captures the reason for the current state of the MedicationRequest.)
-
hasStatusReason
-
setStatusReason
- Parameters:
value
-statusReason
(Captures the reason for the current state of the MedicationRequest.)
-
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
-
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
- Returns:
- Whether the request is a proposal, plan, or an original order.
-
setIntent
- Parameters:
value
- Whether the request is a proposal, plan, or an original order.
-
getCategory
- Returns:
category
(Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)
-
setCategory
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasCategory
-
addCategory
-
addCategory
-
getCategoryFirstRep
- Returns:
- The first repetition of repeating field
category
, creating it if it does not already exist
-
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
-
hasPriority
-
setPriorityElement
public MedicationRequest setPriorityElement(Enumeration<MedicationRequest.MedicationRequestPriority> 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
- Returns:
- Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
setPriority
- Parameters:
value
- Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
getDoNotPerformElement
- Returns:
doNotPerform
(If true indicates that the provider is asking for the medication request not to occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
hasDoNotPerformElement
-
hasDoNotPerform
-
setDoNotPerformElement
- Parameters:
value
-doNotPerform
(If true indicates that the provider is asking for the medication request not to occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
getDoNotPerform
- Returns:
- If true indicates that the provider is asking for the medication request not to occur.
-
setDoNotPerform
- Parameters:
value
- If true indicates that the provider is asking for the medication request not to occur.
-
getReported
- 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.)
-
getReportedBooleanType
- 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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReportedBooleanType
-
getReportedReference
- 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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReportedReference
-
hasReported
-
setReported
- 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.)
-
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.)
-
getMedicationCodeableConcept
- 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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMedicationCodeableConcept
-
getMedicationReference
- 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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMedicationReference
-
hasMedication
-
setMedication
- 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
- Returns:
subject
(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
getEncounter
- Returns:
encounter
(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
getEncounterTarget
- Returns:
encounter
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
setEncounterTarget
- Parameters:
value
-encounter
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
getSupportingInformation
- Returns:
supportingInformation
(Include additional information (for example, patient height and weight) that supports the ordering of the medication.)
-
setSupportingInformation
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSupportingInformation
-
addSupportingInformation
-
addSupportingInformation
-
getSupportingInformationFirstRep
- Returns:
- The first repetition of repeating field
supportingInformation
, creating it if it does not already exist
-
getSupportingInformationTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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
-
hasAuthoredOn
-
setAuthoredOnElement
- 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
- Returns:
- The date (and perhaps time) when the prescription was initially written or authored on.
-
setAuthoredOn
- Parameters:
value
- The date (and perhaps time) when the prescription was initially written or authored on.
-
getRequester
- Returns:
requester
(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
hasRequester
-
setRequester
- Parameters:
value
-requester
(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
getRequesterTarget
- Returns:
requester
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
setRequesterTarget
- Parameters:
value
-requester
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
getPerformer
- Returns:
performer
(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
hasPerformer
-
setPerformer
- Parameters:
value
-performer
(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
getPerformerTarget
- Returns:
performer
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
setPerformerTarget
- Parameters:
value
-performer
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
getPerformerType
- Returns:
performerType
(Indicates the type of performer of the administration of the medication.)
-
hasPerformerType
-
setPerformerType
- Parameters:
value
-performerType
(Indicates the type of performer of the administration of the medication.)
-
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
-
setRecorder
- 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.)
-
getRecorderTarget
- Returns:
recorder
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
setRecorderTarget
- Parameters:
value
-recorder
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
getReasonCode
- Returns:
reasonCode
(The reason or the indication for ordering or not ordering the medication.)
-
setReasonCode
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReasonCode
-
addReasonCode
-
addReasonCode
-
getReasonCodeFirstRep
- Returns:
- The first repetition of repeating field
reasonCode
, creating it if it does not already exist
-
getReasonReference
- Returns:
reasonReference
(Condition or observation that supports why the medication was ordered.)
-
setReasonReference
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReasonReference
-
addReasonReference
-
addReasonReference
-
getReasonReferenceFirstRep
- Returns:
- The first repetition of repeating field
reasonReference
, creating it if it does not already exist
-
getReasonReferenceTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasInstantiatesCanonical
-
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
- 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
- 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
- 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
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasInstantiatesUri
-
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
- 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
- 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
- Returns:
basedOn
(A plan or request that is fulfilled in whole or in part by this medication request.)
-
setBasedOn
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasBasedOn
-
addBasedOn
-
addBasedOn
-
getBasedOnFirstRep
- Returns:
- The first repetition of repeating field
basedOn
, creating it if it does not already exist
-
getBasedOnTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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
-
setGroupIdentifier
- 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.)
-
getCourseOfTherapyType
- Returns:
courseOfTherapyType
(The description of the overall patte3rn of the administration of the medication to the patient.)
-
hasCourseOfTherapyType
-
setCourseOfTherapyType
- Parameters:
value
-courseOfTherapyType
(The description of the overall patte3rn of the administration of the medication to the patient.)
-
getInsurance
- Returns:
insurance
(Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.)
-
setInsurance
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasInsurance
-
addInsurance
-
addInsurance
-
getInsuranceFirstRep
- Returns:
- The first repetition of repeating field
insurance
, creating it if it does not already exist
-
getInsuranceTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getNote
- Returns:
note
(Extra information about the prescription that could not be conveyed by the other attributes.)
-
setNote
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note
, creating it if it does not already exist
-
getDosageInstruction
- Returns:
dosageInstruction
(Indicates how the medication is to be used by the patient.)
-
setDosageInstruction
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDosageInstruction
-
addDosageInstruction
-
addDosageInstruction
-
getDosageInstructionFirstRep
- Returns:
- The first repetition of repeating field
dosageInstruction
, creating it if it does not already exist
-
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
-
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
- 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
-
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.)
-
getPriorPrescription
- Returns:
priorPrescription
(A link to a resource representing an earlier order related order or prescription.)
-
hasPriorPrescription
-
setPriorPrescription
- Parameters:
value
-priorPrescription
(A link to a resource representing an earlier order related order or prescription.)
-
getPriorPrescriptionTarget
- Returns:
priorPrescription
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing an earlier order related order or prescription.)
-
setPriorPrescriptionTarget
- Parameters:
value
-priorPrescription
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing an earlier order related order or prescription.)
-
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
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDetectedIssue
-
addDetectedIssue
-
addDetectedIssue
-
getDetectedIssueFirstRep
- Returns:
- The first repetition of repeating field
detectedIssue
, creating it if it does not already exist
-
getDetectedIssueTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addDetectedIssueTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEventHistory
-
addEventHistory
-
addEventHistory
-
getEventHistoryFirstRep
- Returns:
- The first repetition of repeating field
eventHistory
, creating it if it does not already exist
-
getEventHistoryTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addEventHistoryTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-