Show / Hide Table of Contents

Class MedicationOrder

An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient settings as well as for care plans, etc.

Inheritance
System.Object
Resource
DomainResource
MedicationOrder
Implements
IFhirJsonSerializable
Inherited Members
DomainResource.Contained
DomainResource.Extension
DomainResource.ModifierExtension
DomainResource.Text
Resource.Id
Resource._Id
Resource.ImplicitRules
Resource._ImplicitRules
Resource.Language
Resource._Language
Resource.Meta
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class MedicationOrder : DomainResource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_DateEnded

Extension container element for DateEnded

Declaration
public Element _DateEnded { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_DateWritten

Extension container element for DateWritten

Declaration
public Element _DateWritten { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Note

Extension container element for Note

Declaration
public Element _Note { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Status

Extension container element for Status

Declaration
public Element _Status { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

DateEnded

The date (and perhaps time) when the prescription was stopped.

Declaration
public string DateEnded { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DateWritten

The date (and perhaps time) when the prescription was written.

Declaration
public string DateWritten { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DispenseRequest

Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). 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.

Declaration
public MedicationOrderDispenseRequest DispenseRequest { get; set; }
Property Value
Type Description
MedicationOrderDispenseRequest
| Improve this Doc View Source

DosageInstruction

Indicates how the medication is to be used by the patient.

Declaration
public List<MedicationOrderDosageInstruction> DosageInstruction { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<MedicationOrderDosageInstruction>
| Improve this Doc View Source

Encounter

A link to a resource that identifies the particular occurrence of contact between patient and health care provider.

Declaration
public Reference Encounter { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

Identifier

External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.

Declaration
public List<Identifier> Identifier { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Identifier>
| Improve this Doc View Source

MedicationCodeableConcept

Identifies the medication being administered. 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.

Declaration
public CodeableConcept MedicationCodeableConcept { get; set; }
Property Value
Type Description
CodeableConcept
| Improve this Doc View Source

MedicationReference

Identifies the medication being administered. 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.

Declaration
public Reference MedicationReference { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

Note

Extra information about the prescription that could not be conveyed by the other attributes.

Declaration
public string Note { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Patient

A link to a resource representing the person to whom the medication will be given.

Declaration
public Reference Patient { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

Prescriber

The healthcare professional responsible for authorizing the prescription.

Declaration
public Reference Prescriber { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

PriorPrescription

A link to a resource representing an earlier order or prescription that this order supersedes.

Declaration
public Reference PriorPrescription { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

ReasonCodeableConcept

Can be the reason or the indication for writing the prescription.

Declaration
public CodeableConcept ReasonCodeableConcept { get; set; }
Property Value
Type Description
CodeableConcept
| Improve this Doc View Source

ReasonEnded

The reason why the prescription was stopped, if it was.

Declaration
public CodeableConcept ReasonEnded { get; set; }
Property Value
Type Description
CodeableConcept
| Improve this Doc View Source

ReasonReference

Can be the reason or the indication for writing the prescription.

Declaration
public Reference ReasonReference { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

ResourceType

Resource Type Name

Declaration
public override string ResourceType { get; }
Property Value
Type Description
System.String
Overrides
Resource.ResourceType
| Improve this Doc View Source

Status

A code specifying the state of the order. Generally this will be active or completed state.

Declaration
public string Status { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.

Declaration
public MedicationOrderSubstitution Substitution { get; set; }
Property Value
Type Description
MedicationOrderSubstitution

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX