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 enum
static class
static enum
static class
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 CodeableConcept
Indicates the type of medication order and where the medication is expected to be consumed or administered.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 Reference
A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for contextprotected Resource
The actual object that is the target of the reference (A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.)static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for dateProtocol or definition followed by this request.The actual objects that are the target of the reference (Protocol or definition followed by this request.)Indicates 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).Indicates how the medication is to be used by the patient.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> This records 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.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for intended-dispenserWhether 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 patientIndicates 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 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 Practitioner
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.)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 requesterstatic final String
Search parameter: authoredonstatic final String
Search parameter: categorystatic final String
Search parameter: codestatic final String
Search parameter: contextstatic final String
Search parameter: datestatic final String
Search parameter: identifierstatic final String
Search parameter: intended-dispenserstatic 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 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.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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.MedicationRequestIntent> intent, Type medication, Reference subject) Constructor -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadaddNote()
copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.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
boolean
boolean
hasNote()
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) setAuthoredOn
(Date value) setAuthoredOnElement
(DateTimeType value) setBasedOn
(List<Reference> theBasedOn) setCategory
(CodeableConcept value) setContext
(Reference value) setContextTarget
(Resource value) setDefinition
(List<Reference> theDefinition) setDetectedIssue
(List<Reference> theDetectedIssue) setDosageInstruction
(List<Dosage> theDosageInstruction) setEventHistory
(List<Reference> theEventHistory) setGroupIdentifier
(Identifier value) setIdentifier
(List<Identifier> theIdentifier) setMedication
(Type value) setNote
(List<Annotation> theNote) 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
(Practitioner value) setSubject
(Reference value) setSubjectTarget
(Resource value) setSupportingInformation
(List<Reference> theSupportingInformation) protected MedicationRequest
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, 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.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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
This records 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. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system. -
definition
Protocol or definition followed by this request. -
definitionTarget
The actual objects that are the target of the reference (Protocol or definition followed by this request.) -
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. -
status
A code specifying the current state of the order. Generally this will be active or completed state. -
intent
Whether the request is a proposal, plan, or an original order. -
category
Indicates the type of medication order and where the medication is expected to be consumed or administered. -
priority
Indicates how quickly the Medication Request should be addressed with respect to other requests. -
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.) -
context
A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider. -
contextTarget
The actual object that is the target of the reference (A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.) -
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. -
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 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.) -
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.agent
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester.agent
-
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 of this medication reference
Type: reference
Path: MedicationRequest.medicationReference
- See Also:
-
MEDICATION
Fluent Client search parameter constant for medicationDescription: Return prescriptions of 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_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_CONTEXT
Search parameter: contextDescription: Return prescriptions with this encounter or episode of care identifier
Type: reference
Path: MedicationRequest.context
- See Also:
-
CONTEXT
Fluent Client search parameter constant for contextDescription: Return prescriptions with this encounter or episode of care identifier
Type: reference
Path: MedicationRequest.context
-
INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:context". -
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.MedicationRequestIntent> intent, Type medication, Reference subject) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(This records 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. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system.)
-
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
-
getDefinition
- Returns:
definition
(Protocol or definition followed by this request.)
-
setDefinition
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDefinition
-
addDefinition
-
addDefinition
-
getDefinitionFirstRep
- Returns:
- The first repetition of repeating field
definition
, creating it if it does not already exist
-
getDefinitionTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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.)
-
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.
-
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 order and where the medication is expected to be consumed or administered.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(Indicates the type of medication order and where the medication is expected to be consumed or administered.)
-
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.
-
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.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
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.)
-
getContext
- Returns:
context
(A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.)
-
hasContext
-
setContext
- Parameters:
value
-context
(A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.)
-
getContextTarget
- Returns:
context
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 an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.)
-
setContextTarget
- Parameters:
value
-context
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 an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.)
-
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.)
-
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 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 -
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
-
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
-
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
-