Class MedicationRequest
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.MedicationRequest
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class MedicationRequest extends DomainResource
An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationRequest.MedicationRequestDispenseRequestComponentstatic classMedicationRequest.MedicationRequestDispenseRequestInitialFillComponentstatic classMedicationRequest.MedicationRequestIntentstatic classMedicationRequest.MedicationRequestIntentEnumFactorystatic classMedicationRequest.MedicationRequestPrioritystatic classMedicationRequest.MedicationRequestPriorityEnumFactorystatic classMedicationRequest.MedicationRequestStatusstatic classMedicationRequest.MedicationRequestStatusEnumFactorystatic classMedicationRequest.MedicationRequestSubstitutionComponent
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTypeauthoredOnThe date (and perhaps time) when the prescription was initially written or authored on.static ca.uhn.fhir.rest.gclient.DateClientParamAUTHOREDONFluent Client search parameter constant for authoredonprotected List<Reference>basedOnA plan or request that is fulfilled in whole or in part by this medication request.protected List<Resource>basedOnTargetThe 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>categoryIndicates 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.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected CodeableConceptcourseOfTherapyTypeThe description of the overall patte3rn of the administration of the medication to the patient.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<Reference>detectedIssueIndicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.protected List<DetectedIssue>detectedIssueTargetThe 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.MedicationRequestDispenseRequestComponentdispenseRequestIndicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).protected BooleanTypedoNotPerformIf true indicates that the provider is asking for the medication request not to occur.protected List<Dosage>dosageInstructionIndicates how the medication is to be used by the patient.protected ReferenceencounterThe Encounter during which this [x] was created or to which the creation of this record is tightly associated.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterprotected EncounterencounterTargetThe 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>eventHistoryLinks to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.protected List<Provenance>eventHistoryTargetThe 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 IdentifiergroupIdentifierA shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.protected List<Identifier>identifierIdentifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INTENDED_DISPENSERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INTENDED_PERFORMERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_MEDICATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_REQUESTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected List<CanonicalType>instantiatesCanonicalThe URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.protected List<UriType>instantiatesUriThe URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.protected List<Reference>insuranceInsurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.protected List<Resource>insuranceTargetThe 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.ReferenceClientParamINTENDED_DISPENSERFluent Client search parameter constant for intended-dispenserstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamINTENDED_PERFORMERFluent Client search parameter constant for intended-performerstatic ca.uhn.fhir.rest.gclient.TokenClientParamINTENDED_PERFORMERTYPEFluent Client search parameter constant for intended-performertypeprotected Enumeration<MedicationRequest.MedicationRequestIntent>intentWhether the request is a proposal, plan, or an original order.static ca.uhn.fhir.rest.gclient.TokenClientParamINTENTFluent Client search parameter constant for intentprotected TypemedicationIdentifies the medication being requested.static ca.uhn.fhir.rest.gclient.ReferenceClientParamMEDICATIONFluent Client search parameter constant for medicationprotected List<Annotation>noteExtra information about the prescription that could not be conveyed by the other attributes.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected ReferenceperformerThe specified desired performer of the medication treatment (e.g.protected ResourceperformerTargetThe actual object that is the target of the reference (The specified desired performer of the medication treatment (e.g.protected CodeableConceptperformerTypeIndicates the type of performer of the administration of the medication.protected Enumeration<MedicationRequest.MedicationRequestPriority>priorityIndicates how quickly the Medication Request should be addressed with respect to other requests.static ca.uhn.fhir.rest.gclient.TokenClientParamPRIORITYFluent Client search parameter constant for priorityprotected ReferencepriorPrescriptionA link to a resource representing an earlier order related order or prescription.protected MedicationRequestpriorPrescriptionTargetThe 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>reasonCodeThe reason or the indication for ordering or not ordering the medication.protected List<Reference>reasonReferenceCondition or observation that supports why the medication was ordered.protected List<Resource>reasonReferenceTargetThe actual objects that are the target of the reference (Condition or observation that supports why the medication was ordered.)protected ReferencerecorderThe person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.protected ResourcerecorderTargetThe 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 TypereportedIndicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.protected ReferencerequesterThe individual, organization, or device that initiated the request and has responsibility for its activation.static ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTERFluent Client search parameter constant for requesterprotected ResourcerequesterTargetThe 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 StringSP_AUTHOREDONSearch parameter: authoredonstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CODESearch parameter: codestatic StringSP_DATESearch parameter: datestatic StringSP_ENCOUNTERSearch parameter: encounterstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_INTENDED_DISPENSERSearch parameter: intended-dispenserstatic StringSP_INTENDED_PERFORMERSearch parameter: intended-performerstatic StringSP_INTENDED_PERFORMERTYPESearch parameter: intended-performertypestatic StringSP_INTENTSearch parameter: intentstatic StringSP_MEDICATIONSearch parameter: medicationstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_PRIORITYSearch parameter: prioritystatic StringSP_REQUESTERSearch parameter: requesterstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectprotected Enumeration<MedicationRequest.MedicationRequestStatus>statusA code specifying the current state of the order.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected CodeableConceptstatusReasonCaptures the reason for the current state of the MedicationRequest.protected ReferencesubjectA link to a resource representing the person or set of individuals to whom the medication will be given.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected ResourcesubjectTargetThe 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.MedicationRequestSubstitutionComponentsubstitutionIndicates whether or not substitution can or should be part of the dispense.protected List<Reference>supportingInformationInclude additional information (for example, patient height and weight) that supports the ordering of the medication.protected List<Resource>supportingInformationTargetThe actual objects that are the target of the reference (Include additional information (for example, patient height and weight) that supports the ordering of the medication.)-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MedicationRequest()ConstructorMedicationRequest(Enumeration<MedicationRequest.MedicationRequestStatus> status, Enumeration<MedicationRequest.MedicationRequestIntent> intent, Type medication, Reference subject)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.
-
status
protected Enumeration<MedicationRequest.MedicationRequestStatus> status
A code specifying the current state of the order. Generally, this will be active or completed state.
-
statusReason
protected CodeableConcept statusReason
Captures the reason for the current state of the MedicationRequest.
-
intent
protected Enumeration<MedicationRequest.MedicationRequestIntent> intent
Whether the request is a proposal, plan, or an original order.
-
category
protected List<CodeableConcept> category
Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).
-
priority
protected Enumeration<MedicationRequest.MedicationRequestPriority> priority
Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
doNotPerform
protected BooleanType doNotPerform
If true indicates that the provider is asking for the medication request not to occur.
-
reported
protected Type reported
Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
-
medication
protected Type medication
Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
subject
protected Reference subject
A link to a resource representing the person or set of individuals to whom the medication will be given.
-
subjectTarget
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.)
-
encounter
protected Reference encounter
The Encounter during which this [x] was created or to which the creation of this record is tightly associated.
-
encounterTarget
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.)
-
supportingInformation
protected List<Reference> supportingInformation
Include additional information (for example, patient height and weight) that supports the ordering of the medication.
-
supportingInformationTarget
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.)
-
authoredOn
protected DateTimeType authoredOn
The date (and perhaps time) when the prescription was initially written or authored on.
-
requester
protected Reference requester
The individual, organization, or device that initiated the request and has responsibility for its activation.
-
requesterTarget
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.)
-
performer
protected Reference performer
The specified desired performer of the medication treatment (e.g. the performer of the medication administration).
-
performerTarget
protected Resource performerTarget
The actual object that is the target of the reference (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
performerType
protected CodeableConcept performerType
Indicates the type of performer of the administration of the medication.
-
recorder
protected Reference recorder
The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.
-
recorderTarget
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.)
-
reasonCode
protected List<CodeableConcept> reasonCode
The reason or the indication for ordering or not ordering the medication.
-
reasonReference
protected List<Reference> reasonReference
Condition or observation that supports why the medication was ordered.
-
reasonReferenceTarget
protected List<Resource> reasonReferenceTarget
The actual objects that are the target of the reference (Condition or observation that supports why the medication was ordered.)
-
instantiatesCanonical
protected List<CanonicalType> instantiatesCanonical
The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.
-
instantiatesUri
protected List<UriType> instantiatesUri
The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.
-
basedOn
protected List<Reference> basedOn
A plan or request that is fulfilled in whole or in part by this medication request.
-
basedOnTarget
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.)
-
groupIdentifier
protected Identifier groupIdentifier
A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.
-
courseOfTherapyType
protected CodeableConcept courseOfTherapyType
The description of the overall patte3rn of the administration of the medication to the patient.
-
insurance
protected List<Reference> insurance
Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.
-
insuranceTarget
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.)
-
note
protected List<Annotation> note
Extra information about the prescription that could not be conveyed by the other attributes.
-
dosageInstruction
protected List<Dosage> dosageInstruction
Indicates how the medication is to be used by the patient.
-
dispenseRequest
protected MedicationRequest.MedicationRequestDispenseRequestComponent dispenseRequest
Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
-
substitution
protected MedicationRequest.MedicationRequestSubstitutionComponent substitution
Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.
-
priorPrescription
protected Reference priorPrescription
A link to a resource representing an earlier order related order or prescription.
-
priorPrescriptionTarget
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.)
-
detectedIssue
protected List<Reference> detectedIssue
Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.
-
detectedIssueTarget
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. Drug-drug interaction, duplicate therapy, dosage alert etc.)
-
eventHistory
protected List<Reference> eventHistory
Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.
-
eventHistoryTarget
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.)
-
SP_REQUESTER
public static final String SP_REQUESTER
Search parameter: requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
- See Also:
- Constant Field Values
-
REQUESTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Fluent Client search parameter constant for requesterDescription: Returns prescriptions prescribed by this prescriber
Type: reference
Path: MedicationRequest.requester
-
INCLUDE_REQUESTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:requester".
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Returns medication request to be administered on a specific date
Type: date
Path: MedicationRequest.dosageInstruction.timing.event
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam 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
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationRequest.identifier
-
SP_INTENDED_DISPENSER
public static final String SP_INTENDED_DISPENSER
Search parameter: intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
- See Also:
- Constant Field Values
-
INTENDED_DISPENSER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_DISPENSER
Fluent Client search parameter constant for intended-dispenserDescription: Returns prescriptions intended to be dispensed by this Organization
Type: reference
Path: MedicationRequest.dispenseRequest.performer
-
INCLUDE_INTENDED_DISPENSER
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_DISPENSER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-dispenser".
-
SP_AUTHOREDON
public static final String SP_AUTHOREDON
Search parameter: authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
- See Also:
- Constant Field Values
-
AUTHOREDON
public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHOREDON
Fluent Client search parameter constant for authoredonDescription: Return prescriptions written on this date
Type: date
Path: MedicationRequest.authoredOn
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Return prescriptions of this medication code
Type: token
Path: MedicationRequest.medicationCodeableConcept
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationRequest.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:subject".
-
SP_MEDICATION
public static final String SP_MEDICATION
Search parameter: medicationDescription: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
- See Also:
- Constant Field Values
-
MEDICATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Fluent Client search parameter constant for medicationDescription: Return prescriptions for this medication reference
Type: reference
Path: MedicationRequest.medicationReference
-
INCLUDE_MEDICATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:medication".
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter: encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationRequest.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:encounter".
-
SP_PRIORITY
public static final String SP_PRIORITY
Search parameter: priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
- See Also:
- Constant Field Values
-
PRIORITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Fluent Client search parameter constant for priorityDescription: Returns prescriptions with different priorities
Type: token
Path: MedicationRequest.priority
-
SP_INTENT
public static final String SP_INTENT
Search parameter: intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
- See Also:
- Constant Field Values
-
INTENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT
Fluent Client search parameter constant for intentDescription: Returns prescriptions with different intents
Type: token
Path: MedicationRequest.intent
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Returns prescriptions for a specific patient
Type: reference
Path: MedicationRequest.subject
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:patient".
-
SP_INTENDED_PERFORMER
public static final String SP_INTENDED_PERFORMER
Search parameter: intended-performerDescription: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
- See Also:
- Constant Field Values
-
INTENDED_PERFORMER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_PERFORMER
Fluent Client search parameter constant for intended-performerDescription: Returns the intended performer of the administration of the medication request
Type: reference
Path: MedicationRequest.performer
-
INCLUDE_INTENDED_PERFORMER
public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_PERFORMER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationRequest:intended-performer".
-
SP_INTENDED_PERFORMERTYPE
public static final String SP_INTENDED_PERFORMERTYPE
Search parameter: intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
- See Also:
- Constant Field Values
-
INTENDED_PERFORMERTYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENDED_PERFORMERTYPE
Fluent Client search parameter constant for intended-performertypeDescription: Returns requests for a specific type of performer
Type: token
Path: MedicationRequest.performerType
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: Returns prescriptions with different categories
Type: token
Path: MedicationRequest.category
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: Status of the prescription
Type: token
Path: MedicationRequest.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: Status of the prescription
Type: token
Path: MedicationRequest.status
-
-
Constructor Detail
-
MedicationRequest
public MedicationRequest()
Constructor
-
MedicationRequest
public MedicationRequest(Enumeration<MedicationRequest.MedicationRequestStatus> status, Enumeration<MedicationRequest.MedicationRequestIntent> intent, Type medication, Reference subject)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
public MedicationRequest setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public MedicationRequest addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getStatusElement
public Enumeration<MedicationRequest.MedicationRequestStatus> getStatusElement()
- Returns:
status(A code specifying the current state of the order. Generally, this will be active or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public MedicationRequest setStatusElement(Enumeration<MedicationRequest.MedicationRequestStatus> value)
- Parameters:
value-status(A code specifying the current state of the order. Generally, this will be active or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public MedicationRequest.MedicationRequestStatus getStatus()
- Returns:
- A code specifying the current state of the order. Generally, this will be active or completed state.
-
setStatus
public MedicationRequest setStatus(MedicationRequest.MedicationRequestStatus value)
- Parameters:
value- A code specifying the current state of the order. Generally, this will be active or completed state.
-
getStatusReason
public CodeableConcept getStatusReason()
- Returns:
statusReason(Captures the reason for the current state of the MedicationRequest.)
-
hasStatusReason
public boolean hasStatusReason()
-
setStatusReason
public MedicationRequest setStatusReason(CodeableConcept value)
- Parameters:
value-statusReason(Captures the reason for the current state of the MedicationRequest.)
-
getIntentElement
public Enumeration<MedicationRequest.MedicationRequestIntent> getIntentElement()
- Returns:
intent(Whether the request is a proposal, plan, or an original order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
-
hasIntentElement
public boolean hasIntentElement()
-
hasIntent
public boolean hasIntent()
-
setIntentElement
public MedicationRequest setIntentElement(Enumeration<MedicationRequest.MedicationRequestIntent> value)
- Parameters:
value-intent(Whether the request is a proposal, plan, or an original order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
-
getIntent
public MedicationRequest.MedicationRequestIntent getIntent()
- Returns:
- Whether the request is a proposal, plan, or an original order.
-
setIntent
public MedicationRequest setIntent(MedicationRequest.MedicationRequestIntent value)
- Parameters:
value- Whether the request is a proposal, plan, or an original order.
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)
-
setCategory
public MedicationRequest setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public MedicationRequest addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist
-
getPriorityElement
public Enumeration<MedicationRequest.MedicationRequestPriority> getPriorityElement()
- Returns:
priority(Indicates how quickly the Medication Request should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
hasPriorityElement
public boolean hasPriorityElement()
-
hasPriority
public boolean hasPriority()
-
setPriorityElement
public MedicationRequest setPriorityElement(Enumeration<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
public MedicationRequest.MedicationRequestPriority getPriority()
- Returns:
- Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
setPriority
public MedicationRequest setPriority(MedicationRequest.MedicationRequestPriority value)
- Parameters:
value- Indicates how quickly the Medication Request should be addressed with respect to other requests.
-
getDoNotPerformElement
public BooleanType getDoNotPerformElement()
- Returns:
doNotPerform(If true indicates that the provider is asking for the medication request not to occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
hasDoNotPerformElement
public boolean hasDoNotPerformElement()
-
hasDoNotPerform
public boolean hasDoNotPerform()
-
setDoNotPerformElement
public MedicationRequest setDoNotPerformElement(BooleanType value)
- Parameters:
value-doNotPerform(If true indicates that the provider is asking for the medication request not to occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
-
getDoNotPerform
public boolean getDoNotPerform()
- Returns:
- If true indicates that the provider is asking for the medication request not to occur.
-
setDoNotPerform
public MedicationRequest setDoNotPerform(boolean value)
- Parameters:
value- If true indicates that the provider is asking for the medication request not to occur.
-
getReported
public Type getReported()
- Returns:
reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
-
getReportedBooleanType
public BooleanType getReportedBooleanType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReportedBooleanType
public boolean hasReportedBooleanType()
-
getReportedReference
public Reference getReportedReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReportedReference
public boolean hasReportedReference()
-
hasReported
public boolean hasReported()
-
setReported
public MedicationRequest setReported(Type value)
- Parameters:
value-reported(Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
-
getMedication
public Type 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
public CodeableConcept getMedicationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- 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
public boolean hasMedicationCodeableConcept()
-
getMedicationReference
public Reference getMedicationReference() throws org.hl7.fhir.exceptions.FHIRException
- 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
public boolean hasMedicationReference()
-
hasMedication
public boolean hasMedication()
-
setMedication
public MedicationRequest setMedication(Type value)
- Parameters:
value-medication(Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.)
-
getSubject
public Reference getSubject()
- Returns:
subject(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public MedicationRequest setSubject(Reference value)
- Parameters:
value-subject(A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subjectThe 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
public MedicationRequest setSubjectTarget(Resource value)
- Parameters:
value-subjectThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person or set of individuals to whom the medication will be given.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public MedicationRequest setEncounter(Reference value)
- Parameters:
value-encounter(The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
setEncounterTarget
public MedicationRequest setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Encounter during which this [x] was created or to which the creation of this record is tightly associated.)
-
getSupportingInformation
public List<Reference> getSupportingInformation()
- Returns:
supportingInformation(Include additional information (for example, patient height and weight) that supports the ordering of the medication.)
-
setSupportingInformation
public MedicationRequest setSupportingInformation(List<Reference> theSupportingInformation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupportingInformation
public boolean hasSupportingInformation()
-
addSupportingInformation
public Reference addSupportingInformation()
-
addSupportingInformation
public MedicationRequest addSupportingInformation(Reference t)
-
getSupportingInformationFirstRep
public Reference getSupportingInformationFirstRep()
- Returns:
- The first repetition of repeating field
supportingInformation, creating it if it does not already exist
-
getSupportingInformationTarget
@Deprecated public List<Resource> getSupportingInformationTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getAuthoredOnElement
public DateTimeType getAuthoredOnElement()
- Returns:
authoredOn(The date (and perhaps time) when the prescription was initially written or authored on.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
hasAuthoredOnElement
public boolean hasAuthoredOnElement()
-
hasAuthoredOn
public boolean hasAuthoredOn()
-
setAuthoredOnElement
public MedicationRequest setAuthoredOnElement(DateTimeType value)
- Parameters:
value-authoredOn(The date (and perhaps time) when the prescription was initially written or authored on.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
getAuthoredOn
public Date getAuthoredOn()
- Returns:
- The date (and perhaps time) when the prescription was initially written or authored on.
-
setAuthoredOn
public MedicationRequest setAuthoredOn(Date value)
- Parameters:
value- The date (and perhaps time) when the prescription was initially written or authored on.
-
getRequester
public Reference getRequester()
- Returns:
requester(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
hasRequester
public boolean hasRequester()
-
setRequester
public MedicationRequest setRequester(Reference value)
- Parameters:
value-requester(The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
getRequesterTarget
public Resource getRequesterTarget()
- Returns:
requesterThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
setRequesterTarget
public MedicationRequest setRequesterTarget(Resource value)
- Parameters:
value-requesterThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual, organization, or device that initiated the request and has responsibility for its activation.)
-
getPerformer
public Reference getPerformer()
- Returns:
performer(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
hasPerformer
public boolean hasPerformer()
-
setPerformer
public MedicationRequest setPerformer(Reference value)
- Parameters:
value-performer(The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
getPerformerTarget
public Resource getPerformerTarget()
- Returns:
performerThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
setPerformerTarget
public MedicationRequest setPerformerTarget(Resource value)
- Parameters:
value-performerThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).)
-
getPerformerType
public CodeableConcept getPerformerType()
- Returns:
performerType(Indicates the type of performer of the administration of the medication.)
-
hasPerformerType
public boolean hasPerformerType()
-
setPerformerType
public MedicationRequest setPerformerType(CodeableConcept value)
- Parameters:
value-performerType(Indicates the type of performer of the administration of the medication.)
-
getRecorder
public Reference getRecorder()
- Returns:
recorder(The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
hasRecorder
public boolean hasRecorder()
-
setRecorder
public MedicationRequest setRecorder(Reference value)
- Parameters:
value-recorder(The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.)
-
getRecorderTarget
public Resource getRecorderTarget()
- Returns:
recorderThe 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
public MedicationRequest setRecorderTarget(Resource value)
- Parameters:
value-recorderThe 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
public List<CodeableConcept> getReasonCode()
- Returns:
reasonCode(The reason or the indication for ordering or not ordering the medication.)
-
setReasonCode
public MedicationRequest setReasonCode(List<CodeableConcept> theReasonCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonCode
public boolean hasReasonCode()
-
addReasonCode
public CodeableConcept addReasonCode()
-
addReasonCode
public MedicationRequest addReasonCode(CodeableConcept t)
-
getReasonCodeFirstRep
public CodeableConcept getReasonCodeFirstRep()
- Returns:
- The first repetition of repeating field
reasonCode, creating it if it does not already exist
-
getReasonReference
public List<Reference> getReasonReference()
- Returns:
reasonReference(Condition or observation that supports why the medication was ordered.)
-
setReasonReference
public MedicationRequest setReasonReference(List<Reference> theReasonReference)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonReference
public boolean hasReasonReference()
-
addReasonReference
public Reference addReasonReference()
-
addReasonReference
public MedicationRequest addReasonReference(Reference t)
-
getReasonReferenceFirstRep
public Reference getReasonReferenceFirstRep()
- Returns:
- The first repetition of repeating field
reasonReference, creating it if it does not already exist
-
getReasonReferenceTarget
@Deprecated public List<Resource> getReasonReferenceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getInstantiatesCanonical
public List<CanonicalType> getInstantiatesCanonical()
- Returns:
instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
setInstantiatesCanonical
public MedicationRequest setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInstantiatesCanonical
public boolean hasInstantiatesCanonical()
-
addInstantiatesCanonicalElement
public CanonicalType addInstantiatesCanonicalElement()
- Returns:
instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
addInstantiatesCanonical
public MedicationRequest addInstantiatesCanonical(String value)
- Parameters:
value-instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
hasInstantiatesCanonical
public boolean hasInstantiatesCanonical(String value)
- Parameters:
value-instantiatesCanonical(The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
getInstantiatesUri
public List<UriType> getInstantiatesUri()
- Returns:
instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
setInstantiatesUri
public MedicationRequest setInstantiatesUri(List<UriType> theInstantiatesUri)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInstantiatesUri
public boolean hasInstantiatesUri()
-
addInstantiatesUriElement
public UriType addInstantiatesUriElement()
- Returns:
instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
addInstantiatesUri
public MedicationRequest addInstantiatesUri(String value)
- Parameters:
value-instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
hasInstantiatesUri
public boolean hasInstantiatesUri(String value)
- Parameters:
value-instantiatesUri(The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.)
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(A plan or request that is fulfilled in whole or in part by this medication request.)
-
setBasedOn
public MedicationRequest setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public MedicationRequest addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist
-
getBasedOnTarget
@Deprecated public List<Resource> getBasedOnTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getGroupIdentifier
public Identifier getGroupIdentifier()
- Returns:
groupIdentifier(A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.)
-
hasGroupIdentifier
public boolean hasGroupIdentifier()
-
setGroupIdentifier
public MedicationRequest setGroupIdentifier(Identifier value)
- Parameters:
value-groupIdentifier(A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.)
-
getCourseOfTherapyType
public CodeableConcept getCourseOfTherapyType()
- Returns:
courseOfTherapyType(The description of the overall patte3rn of the administration of the medication to the patient.)
-
hasCourseOfTherapyType
public boolean hasCourseOfTherapyType()
-
setCourseOfTherapyType
public MedicationRequest setCourseOfTherapyType(CodeableConcept value)
- Parameters:
value-courseOfTherapyType(The description of the overall patte3rn of the administration of the medication to the patient.)
-
getInsurance
public List<Reference> getInsurance()
- Returns:
insurance(Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.)
-
setInsurance
public MedicationRequest setInsurance(List<Reference> theInsurance)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInsurance
public boolean hasInsurance()
-
addInsurance
public Reference addInsurance()
-
addInsurance
public MedicationRequest addInsurance(Reference t)
-
getInsuranceFirstRep
public Reference getInsuranceFirstRep()
- Returns:
- The first repetition of repeating field
insurance, creating it if it does not already exist
-
getInsuranceTarget
@Deprecated public List<Resource> getInsuranceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getNote
public List<Annotation> getNote()
- Returns:
note(Extra information about the prescription that could not be conveyed by the other attributes.)
-
setNote
public MedicationRequest setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public MedicationRequest addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist
-
getDosageInstruction
public List<Dosage> getDosageInstruction()
- Returns:
dosageInstruction(Indicates how the medication is to be used by the patient.)
-
setDosageInstruction
public MedicationRequest setDosageInstruction(List<Dosage> theDosageInstruction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDosageInstruction
public boolean hasDosageInstruction()
-
addDosageInstruction
public Dosage addDosageInstruction()
-
addDosageInstruction
public MedicationRequest addDosageInstruction(Dosage t)
-
getDosageInstructionFirstRep
public Dosage getDosageInstructionFirstRep()
- Returns:
- The first repetition of repeating field
dosageInstruction, creating it if it does not already exist
-
getDispenseRequest
public MedicationRequest.MedicationRequestDispenseRequestComponent getDispenseRequest()
- Returns:
dispenseRequest(Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.)
-
hasDispenseRequest
public boolean hasDispenseRequest()
-
setDispenseRequest
public MedicationRequest setDispenseRequest(MedicationRequest.MedicationRequestDispenseRequestComponent value)
- Parameters:
value-dispenseRequest(Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.)
-
getSubstitution
public MedicationRequest.MedicationRequestSubstitutionComponent getSubstitution()
- Returns:
substitution(Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.)
-
hasSubstitution
public boolean hasSubstitution()
-
setSubstitution
public MedicationRequest setSubstitution(MedicationRequest.MedicationRequestSubstitutionComponent value)
- Parameters:
value-substitution(Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.)
-
getPriorPrescription
public Reference getPriorPrescription()
- Returns:
priorPrescription(A link to a resource representing an earlier order related order or prescription.)
-
hasPriorPrescription
public boolean hasPriorPrescription()
-
setPriorPrescription
public MedicationRequest setPriorPrescription(Reference value)
- Parameters:
value-priorPrescription(A link to a resource representing an earlier order related order or prescription.)
-
getPriorPrescriptionTarget
public MedicationRequest getPriorPrescriptionTarget()
- Returns:
priorPrescriptionThe 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
public MedicationRequest setPriorPrescriptionTarget(MedicationRequest value)
- Parameters:
value-priorPrescriptionThe 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
public List<Reference> getDetectedIssue()
- Returns:
detectedIssue(Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.)
-
setDetectedIssue
public MedicationRequest setDetectedIssue(List<Reference> theDetectedIssue)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDetectedIssue
public boolean hasDetectedIssue()
-
addDetectedIssue
public Reference addDetectedIssue()
-
addDetectedIssue
public MedicationRequest addDetectedIssue(Reference t)
-
getDetectedIssueFirstRep
public Reference getDetectedIssueFirstRep()
- Returns:
- The first repetition of repeating field
detectedIssue, creating it if it does not already exist
-
getDetectedIssueTarget
@Deprecated public List<DetectedIssue> getDetectedIssueTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addDetectedIssueTarget
@Deprecated public DetectedIssue addDetectedIssueTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getEventHistory
public List<Reference> getEventHistory()
- Returns:
eventHistory(Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.)
-
setEventHistory
public MedicationRequest setEventHistory(List<Reference> theEventHistory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasEventHistory
public boolean hasEventHistory()
-
addEventHistory
public Reference addEventHistory()
-
addEventHistory
public MedicationRequest addEventHistory(Reference t)
-
getEventHistoryFirstRep
public Reference getEventHistoryFirstRep()
- Returns:
- The first repetition of repeating field
eventHistory, creating it if it does not already exist
-
getEventHistoryTarget
@Deprecated public List<Provenance> getEventHistoryTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addEventHistoryTarget
@Deprecated public Provenance addEventHistoryTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public MedicationRequest copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicationRequest dst)
-
typedCopy
protected MedicationRequest typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-