Class MedicationDispense
Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class MedicationDispense : DomainResource, IFhirJsonSerializable
Properties
| Improve this Doc View Source_Note
Extension container element for Note
Declaration
public Element _Note { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Status
Extension container element for Status
Declaration
public Element _Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_WhenHandedOver
Extension container element for WhenHandedOver
Declaration
public Element _WhenHandedOver { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_WhenPrepared
Extension container element for WhenPrepared
Declaration
public Element _WhenPrepared { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
AuthorizingPrescription
Indicates the medication order that is being dispensed against.
Declaration
public List<Reference> AuthorizingPrescription { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Reference> |
DaysSupply
The amount of medication expressed as a timing amount.
Declaration
public Quantity DaysSupply { get; set; }
Property Value
| Type | Description |
|---|---|
| Quantity |
Destination
Identification of the facility/location where the medication was shipped to, as part of the dispense event.
Declaration
public Reference Destination { get; set; }
Property Value
| Type | Description |
|---|---|
| Reference |
Dispenser
The individual responsible for dispensing the medication.
Declaration
public Reference Dispenser { get; set; }
Property Value
| Type | Description |
|---|---|
| Reference |
DosageInstruction
Indicates how the medication is to be used by the patient.
Declaration
public List<MedicationDispenseDosageInstruction> DosageInstruction { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<MedicationDispenseDosageInstruction> |
Identifier
Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR.
Declaration
public Identifier Identifier { get; set; }
Property Value
| Type | Description |
|---|---|
| Identifier |
MedicationCodeableConcept
Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple 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 |
MedicationReference
Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple 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 |
Note
Extra information about the dispense that could not be conveyed in the other attributes.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
Quantity
The amount of medication that has been dispensed. Includes unit of measure.
Declaration
public Quantity Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| Quantity |
Receiver
Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.
Declaration
public List<Reference> Receiver { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Reference> |
ResourceType
Resource Type Name
Declaration
public override string ResourceType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceStatus
A code specifying the state of the set of dispense events.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Substitution
Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why.
Declaration
public MedicationDispenseSubstitution Substitution { get; set; }
Property Value
| Type | Description |
|---|---|
| MedicationDispenseSubstitution |
Type
Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
Declaration
public CodeableConcept Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CodeableConcept |
WhenHandedOver
The time the dispensed product was provided to the patient or their representative.
Declaration
public string WhenHandedOver { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WhenPrepared
The time when the dispensed product was packaged and reviewed.
Declaration
public string WhenPrepared { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options |
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 |
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 |