public class MedicationRequest extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationRequest.MedicationRequestDispenseRequestComponent |
static class |
MedicationRequest.MedicationRequestDispenseRequestInitialFillComponent |
static class |
MedicationRequest.MedicationRequestIntent |
static class |
MedicationRequest.MedicationRequestIntentEnumFactory |
static class |
MedicationRequest.MedicationRequestPriority |
static class |
MedicationRequest.MedicationRequestPriorityEnumFactory |
static class |
MedicationRequest.MedicationRequestStatus |
static class |
MedicationRequest.MedicationRequestStatusEnumFactory |
static class |
MedicationRequest.MedicationRequestSubstitutionComponent |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
authoredOn
The date (and perhaps time) when the prescription was initially written or authored on.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
AUTHOREDON
Fluent Client search parameter constant for authoredon
|
protected List<Reference> |
basedOn
A plan or request that is fulfilled in whole or in part by this medication request.
|
protected List<Resource> |
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.)
|
protected List<CodeableConcept> |
category
Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected CodeableConcept |
courseOfTherapyType
The description of the overall patte3rn of the administration of the medication to the patient.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected List<Reference> |
detectedIssue
Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.
|
protected List<DetectedIssue> |
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.
|
protected MedicationRequest.MedicationRequestDispenseRequestComponent |
dispenseRequest
Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).
|
protected BooleanType |
doNotPerform
If true indicates that the provider is asking for the medication request not to occur.
|
protected List<Dosage> |
dosageInstruction
Indicates how the medication is to be used by the patient.
|
protected Reference |
encounter
The Encounter during which this [x] was created or to which the creation of this record is tightly associated.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected Encounter |
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.)
|
protected List<Reference> |
eventHistory
Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.
|
protected List<Provenance> |
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.)
|
protected Identifier |
groupIdentifier
A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.
|
protected List<Identifier> |
identifier
Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_INTENDED_DISPENSER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_INTENDED_PERFORMER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<CanonicalType> |
instantiatesCanonical
The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.
|
protected List<UriType> |
instantiatesUri
The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.
|
protected List<Reference> |
insurance
Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.
|
protected List<Resource> |
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.)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
INTENDED_DISPENSER
Fluent Client search parameter constant for intended-dispenser
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
INTENDED_PERFORMER
Fluent Client search parameter constant for intended-performer
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
INTENDED_PERFORMERTYPE
Fluent Client search parameter constant for intended-performertype
|
protected Enumeration<MedicationRequest.MedicationRequestIntent> |
intent
Whether the request is a proposal, plan, or an original order.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
INTENT
Fluent Client search parameter constant for intent
|
protected Type |
medication
Identifies the medication being requested.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
MEDICATION
Fluent Client search parameter constant for medication
|
protected List<Annotation> |
note
Extra information about the prescription that could not be conveyed by the other attributes.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Reference |
performer
The specified desired performer of the medication treatment (e.g.
|
protected Resource |
performerTarget
The actual object that is the target of the reference (The specified desired performer of the medication treatment (e.g.
|
protected CodeableConcept |
performerType
Indicates the type of performer of the administration of the medication.
|
protected Enumeration<MedicationRequest.MedicationRequestPriority> |
priority
Indicates how quickly the Medication Request should be addressed with respect to other requests.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PRIORITY
Fluent Client search parameter constant for priority
|
protected Reference |
priorPrescription
A link to a resource representing an earlier order related order or prescription.
|
protected MedicationRequest |
priorPrescriptionTarget
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> |
reasonCode
The reason or the indication for ordering or not ordering the medication.
|
protected List<Reference> |
reasonReference
Condition or observation that supports why the medication was ordered.
|
protected List<Resource> |
reasonReferenceTarget
The actual objects that are the target of the reference (Condition or observation that supports why the medication was ordered.)
|
protected Reference |
recorder
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.
|
protected Resource |
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.)
|
protected Type |
reported
Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.
|
protected Reference |
requester
The individual, organization, or device that initiated the request and has responsibility for its activation.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
REQUESTER
Fluent Client search parameter constant for requester
|
protected Resource |
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.)
|
static String |
SP_AUTHOREDON
Search parameter: authoredon
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_INTENDED_DISPENSER
Search parameter: intended-dispenser
|
static String |
SP_INTENDED_PERFORMER
Search parameter: intended-performer
|
static String |
SP_INTENDED_PERFORMERTYPE
Search parameter: intended-performertype
|
static String |
SP_INTENT
Search parameter: intent
|
static String |
SP_MEDICATION
Search parameter: medication
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PRIORITY
Search parameter: priority
|
static String |
SP_REQUESTER
Search parameter: requester
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Enumeration<MedicationRequest.MedicationRequestStatus> |
status
A code specifying the current state of the order.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected CodeableConcept |
statusReason
Captures the reason for the current state of the MedicationRequest.
|
protected Reference |
subject
A link to a resource representing the person or set of individuals to whom the medication will be given.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
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.)
|
protected MedicationRequest.MedicationRequestSubstitutionComponent |
substitution
Indicates whether or not substitution can or should be part of the dispense.
|
protected List<Reference> |
supportingInformation
Include additional information (for example, patient height and weight) that supports the ordering of the medication.
|
protected List<Resource> |
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.)
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationRequest()
Constructor
|
MedicationRequest(Enumeration<MedicationRequest.MedicationRequestStatus> status,
Enumeration<MedicationRequest.MedicationRequestIntent> intent,
Type medication,
Reference subject)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<MedicationRequest.MedicationRequestStatus> status
protected CodeableConcept statusReason
protected Enumeration<MedicationRequest.MedicationRequestIntent> intent
protected List<CodeableConcept> category
protected Enumeration<MedicationRequest.MedicationRequestPriority> priority
protected BooleanType doNotPerform
protected Type reported
protected Type medication
protected Reference subject
protected Resource subjectTarget
protected Reference encounter
protected Encounter encounterTarget
protected List<Reference> supportingInformation
protected List<Resource> supportingInformationTarget
protected DateTimeType authoredOn
protected Reference requester
protected Resource requesterTarget
protected Reference performer
protected Resource performerTarget
protected CodeableConcept performerType
protected Reference recorder
protected Resource recorderTarget
protected List<CodeableConcept> reasonCode
protected List<Reference> reasonReference
protected List<Resource> reasonReferenceTarget
protected List<CanonicalType> instantiatesCanonical
protected List<UriType> instantiatesUri
protected List<Reference> basedOn
protected List<Resource> basedOnTarget
protected Identifier groupIdentifier
protected CodeableConcept courseOfTherapyType
protected List<Reference> insurance
protected List<Resource> insuranceTarget
protected List<Annotation> note
protected List<Dosage> dosageInstruction
protected MedicationRequest.MedicationRequestDispenseRequestComponent dispenseRequest
protected MedicationRequest.MedicationRequestSubstitutionComponent substitution
protected Reference priorPrescription
protected MedicationRequest priorPrescriptionTarget
protected List<Reference> detectedIssue
protected List<DetectedIssue> detectedIssueTarget
protected List<Reference> eventHistory
protected List<Provenance> eventHistoryTarget
public static final String SP_REQUESTER
Description: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Description: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
public static final String SP_DATE
Description: Returns medication request to be administered on a specific date
Type: date
Path: MedicationRequest.dosageInstruction.timing.event
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: Returns medication request to be administered on a specific date
Type: date
Path: MedicationRequest.dosageInstruction.timing.event
public static final String SP_IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
public static final String SP_INTENDED_DISPENSER
Description: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_DISPENSER
Description: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_DISPENSER
public static final String SP_AUTHOREDON
Description: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHOREDON
Description: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
public static final String SP_CODE
Description: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
public static final String SP_SUBJECT
Description: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_MEDICATION
Description: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Description: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
public static final String SP_ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final String SP_PRIORITY
Description: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Description: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
public static final String SP_INTENT
Description: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT
Description: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
public static final String SP_PATIENT
Description: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_INTENDED_PERFORMER
Description: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_PERFORMER
Description: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_PERFORMER
public static final String SP_INTENDED_PERFORMERTYPE
Description: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENDED_PERFORMERTYPE
Description: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
public static final String SP_CATEGORY
Description: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Description: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
public static final String SP_STATUS
Description: Status of the prescription
Type: token
Path: MedicationRequest.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: Status of the prescription
Type: token
Path: MedicationRequest.status
public MedicationRequest()
public MedicationRequest(Enumeration<MedicationRequest.MedicationRequestStatus> status, Enumeration<MedicationRequest.MedicationRequestIntent> intent, Type medication, Reference subject)
public List<Identifier> getIdentifier()
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.)public MedicationRequest setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public MedicationRequest addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<MedicationRequest.MedicationRequestStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public MedicationRequest setStatusElement(Enumeration<MedicationRequest.MedicationRequestStatus> value)
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 valuepublic MedicationRequest.MedicationRequestStatus getStatus()
public MedicationRequest setStatus(MedicationRequest.MedicationRequestStatus value)
value - A code specifying the current state of the order. Generally, this will be active or completed state.public CodeableConcept getStatusReason()
statusReason (Captures the reason for the current state of the MedicationRequest.)public boolean hasStatusReason()
public MedicationRequest setStatusReason(CodeableConcept value)
value - statusReason (Captures the reason for the current state of the MedicationRequest.)public Enumeration<MedicationRequest.MedicationRequestIntent> getIntentElement()
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 valuepublic boolean hasIntentElement()
public boolean hasIntent()
public MedicationRequest setIntentElement(Enumeration<MedicationRequest.MedicationRequestIntent> value)
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 valuepublic MedicationRequest.MedicationRequestIntent getIntent()
public MedicationRequest setIntent(MedicationRequest.MedicationRequestIntent value)
value - Whether the request is a proposal, plan, or an original order.public List<CodeableConcept> getCategory()
category (Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)public MedicationRequest setCategory(List<CodeableConcept> theCategory)
this for easy method chainingpublic boolean hasCategory()
public CodeableConcept addCategory()
public MedicationRequest addCategory(CodeableConcept t)
public CodeableConcept getCategoryFirstRep()
category, creating it if it does not already existpublic Enumeration<MedicationRequest.MedicationRequestPriority> getPriorityElement()
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 valuepublic boolean hasPriorityElement()
public boolean hasPriority()
public MedicationRequest setPriorityElement(Enumeration<MedicationRequest.MedicationRequestPriority> value)
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 valuepublic MedicationRequest.MedicationRequestPriority getPriority()
public MedicationRequest setPriority(MedicationRequest.MedicationRequestPriority value)
value - Indicates how quickly the Medication Request should be addressed with respect to other requests.public BooleanType getDoNotPerformElement()
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 valuepublic boolean hasDoNotPerformElement()
public boolean hasDoNotPerform()
public MedicationRequest setDoNotPerformElement(BooleanType value)
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 valuepublic boolean getDoNotPerform()
public MedicationRequest setDoNotPerform(boolean value)
value - If true indicates that the provider is asking for the medication request not to occur.public Type getReported()
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.)public BooleanType getReportedBooleanType() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReportedBooleanType()
public Reference getReportedReference() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReportedReference()
public boolean hasReported()
public MedicationRequest setReported(Type value)
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.)public Type getMedication()
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.)public CodeableConcept getMedicationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationCodeableConcept()
public Reference getMedicationReference() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationReference()
public boolean hasMedication()
public MedicationRequest setMedication(Type value)
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.)public Reference getSubject()
subject (A link to a resource representing the person or set of individuals to whom the medication will be given.)public boolean hasSubject()
public MedicationRequest setSubject(Reference value)
value - subject (A link to a resource representing the person or set of individuals to whom the medication will be given.)public Resource getSubjectTarget()
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.)public MedicationRequest setSubjectTarget(Resource value)
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.)public Reference getEncounter()
encounter (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)public boolean hasEncounter()
public MedicationRequest setEncounter(Reference value)
value - encounter (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)public Encounter getEncounterTarget()
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.)public MedicationRequest setEncounterTarget(Encounter value)
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.)public List<Reference> getSupportingInformation()
supportingInformation (Include additional information (for example, patient height and weight) that supports the ordering of the medication.)public MedicationRequest setSupportingInformation(List<Reference> theSupportingInformation)
this for easy method chainingpublic boolean hasSupportingInformation()
public Reference addSupportingInformation()
public MedicationRequest addSupportingInformation(Reference t)
public Reference getSupportingInformationFirstRep()
supportingInformation, creating it if it does not already exist@Deprecated public List<Resource> getSupportingInformationTarget()
public DateTimeType getAuthoredOnElement()
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 valuepublic boolean hasAuthoredOnElement()
public boolean hasAuthoredOn()
public MedicationRequest setAuthoredOnElement(DateTimeType value)
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 valuepublic Date getAuthoredOn()
public MedicationRequest setAuthoredOn(Date value)
value - The date (and perhaps time) when the prescription was initially written or authored on.public Reference getRequester()
requester (The individual, organization, or device that initiated the request and has responsibility for its activation.)public boolean hasRequester()
public MedicationRequest setRequester(Reference value)
value - requester (The individual, organization, or device that initiated the request and has responsibility for its activation.)public Resource getRequesterTarget()
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.)public MedicationRequest setRequesterTarget(Resource value)
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.)public Reference getPerformer()
performer (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)public boolean hasPerformer()
public MedicationRequest setPerformer(Reference value)
value - performer (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)public Resource getPerformerTarget()
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).)public MedicationRequest setPerformerTarget(Resource value)
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).)public CodeableConcept getPerformerType()
performerType (Indicates the type of performer of the administration of the medication.)public boolean hasPerformerType()
public MedicationRequest setPerformerType(CodeableConcept value)
value - performerType (Indicates the type of performer of the administration of the medication.)public Reference getRecorder()
recorder (The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)public boolean hasRecorder()
public MedicationRequest setRecorder(Reference value)
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.)public Resource getRecorderTarget()
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.)public MedicationRequest setRecorderTarget(Resource value)
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.)public List<CodeableConcept> getReasonCode()
reasonCode (The reason or the indication for ordering or not ordering the medication.)public MedicationRequest setReasonCode(List<CodeableConcept> theReasonCode)
this for easy method chainingpublic boolean hasReasonCode()
public CodeableConcept addReasonCode()
public MedicationRequest addReasonCode(CodeableConcept t)
public CodeableConcept getReasonCodeFirstRep()
reasonCode, creating it if it does not already existpublic List<Reference> getReasonReference()
reasonReference (Condition or observation that supports why the medication was ordered.)public MedicationRequest setReasonReference(List<Reference> theReasonReference)
this for easy method chainingpublic boolean hasReasonReference()
public Reference addReasonReference()
public MedicationRequest addReasonReference(Reference t)
public Reference getReasonReferenceFirstRep()
reasonReference, creating it if it does not already exist@Deprecated public List<Resource> getReasonReferenceTarget()
public List<CanonicalType> getInstantiatesCanonical()
instantiatesCanonical (The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)public MedicationRequest setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical)
this for easy method chainingpublic boolean hasInstantiatesCanonical()
public CanonicalType addInstantiatesCanonicalElement()
instantiatesCanonical (The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)public MedicationRequest addInstantiatesCanonical(String value)
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.)public boolean hasInstantiatesCanonical(String value)
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.)public List<UriType> getInstantiatesUri()
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.)public MedicationRequest setInstantiatesUri(List<UriType> theInstantiatesUri)
this for easy method chainingpublic boolean hasInstantiatesUri()
public UriType addInstantiatesUriElement()
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.)public MedicationRequest addInstantiatesUri(String value)
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.)public boolean hasInstantiatesUri(String value)
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.)public List<Reference> getBasedOn()
basedOn (A plan or request that is fulfilled in whole or in part by this medication request.)public MedicationRequest setBasedOn(List<Reference> theBasedOn)
this for easy method chainingpublic boolean hasBasedOn()
public Reference addBasedOn()
public MedicationRequest addBasedOn(Reference t)
public Reference getBasedOnFirstRep()
basedOn, creating it if it does not already exist@Deprecated public List<Resource> getBasedOnTarget()
public Identifier getGroupIdentifier()
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.)public boolean hasGroupIdentifier()
public MedicationRequest setGroupIdentifier(Identifier value)
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.)public CodeableConcept getCourseOfTherapyType()
courseOfTherapyType (The description of the overall patte3rn of the administration of the medication to the patient.)public boolean hasCourseOfTherapyType()
public MedicationRequest setCourseOfTherapyType(CodeableConcept value)
value - courseOfTherapyType (The description of the overall patte3rn of the administration of the medication to the patient.)public List<Reference> getInsurance()
insurance (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.)public MedicationRequest setInsurance(List<Reference> theInsurance)
this for easy method chainingpublic boolean hasInsurance()
public Reference addInsurance()
public MedicationRequest addInsurance(Reference t)
public Reference getInsuranceFirstRep()
insurance, creating it if it does not already exist@Deprecated public List<Resource> getInsuranceTarget()
public List<Annotation> getNote()
note (Extra information about the prescription that could not be conveyed by the other attributes.)public MedicationRequest setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public MedicationRequest addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existpublic List<Dosage> getDosageInstruction()
dosageInstruction (Indicates how the medication is to be used by the patient.)public MedicationRequest setDosageInstruction(List<Dosage> theDosageInstruction)
this for easy method chainingpublic boolean hasDosageInstruction()
public Dosage addDosageInstruction()
public MedicationRequest addDosageInstruction(Dosage t)
public Dosage getDosageInstructionFirstRep()
dosageInstruction, creating it if it does not already existpublic MedicationRequest.MedicationRequestDispenseRequestComponent getDispenseRequest()
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.)public boolean hasDispenseRequest()
public MedicationRequest setDispenseRequest(MedicationRequest.MedicationRequestDispenseRequestComponent value)
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.)public MedicationRequest.MedicationRequestSubstitutionComponent getSubstitution()
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.)public boolean hasSubstitution()
public MedicationRequest setSubstitution(MedicationRequest.MedicationRequestSubstitutionComponent value)
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.)public Reference getPriorPrescription()
priorPrescription (A link to a resource representing an earlier order related order or prescription.)public boolean hasPriorPrescription()
public MedicationRequest setPriorPrescription(Reference value)
value - priorPrescription (A link to a resource representing an earlier order related order or prescription.)public MedicationRequest getPriorPrescriptionTarget()
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.)public MedicationRequest setPriorPrescriptionTarget(MedicationRequest value)
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.)public List<Reference> getDetectedIssue()
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.)public MedicationRequest setDetectedIssue(List<Reference> theDetectedIssue)
this for easy method chainingpublic boolean hasDetectedIssue()
public Reference addDetectedIssue()
public MedicationRequest addDetectedIssue(Reference t)
public Reference getDetectedIssueFirstRep()
detectedIssue, creating it if it does not already exist@Deprecated public List<DetectedIssue> getDetectedIssueTarget()
@Deprecated public DetectedIssue addDetectedIssueTarget()
public List<Reference> getEventHistory()
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.)public MedicationRequest setEventHistory(List<Reference> theEventHistory)
this for easy method chainingpublic boolean hasEventHistory()
public Reference addEventHistory()
public MedicationRequest addEventHistory(Reference t)
public Reference getEventHistoryFirstRep()
eventHistory, creating it if it does not already exist@Deprecated public List<Provenance> getEventHistoryTarget()
@Deprecated public Provenance addEventHistoryTarget()
protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic MedicationRequest copy()
copy in class DomainResourcepublic void copyValues(MedicationRequest dst)
protected MedicationRequest typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.