MedicationDispense

Indicates that a medication product is to be or has been dispensed for a named person/patient.

FHIR Resource: MedicationDispense http://hl7.org/fhir/STU3/medicationdispense.html

Supported Attributes

NameComment
medication
subjectPatient
dosageInstruction
performer
quantity
note
notDone
notDoneReason
http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod
https://api.healthgorilla.com/fhir/MedicationDispense

FHIR Operations

The following operations are currently supported:

1. Read

HTTP RequestMethodAction
/MedicationDispense/{ID}GETRetrieve MedicationStatement resource by ID

2. Search

HTTP RequestMethodAction
/MedicationDispense?[parameter={value}]GETRetrieve MedicationStatement resources by the specified search criteria

Parameters:

KeyTypeDescription
patientReferencePatient Identifier
_lastUpdatedDate
_offsetNumber
_countNumber

Examples

2.1 Retrieve MedicationStatement records by patient

https://api.healthgorilla.com/fhir/MedicationDispense?patient=8063965523692105bfc35def

2.2 Search records updated since March 2019

https://api.healthgorilla.com/fhir/MedicationDispense?_lastUpdated=gt2019-03&_offset=0&_count=5

2.3 Retrieve records for the given patient updated in 2018

https://api.healthgorilla.com/fhir/MedicationDispense?patient=8063965523692105bfc35def&_lastUpdated=2018

3. Create

HTTP RequestMethodAction
/MedicationDispensePOSTCreates MedicationDispense resource

If resource has status not equal to completed or notDone attribute is True then request is rejected. Only competed supplies are supported.

The following attributes are required:

NameDetails
subject
medication

4. Update

HTTP RequestMethodAction
/MedicationDispense/{ID}PUTUpdates MedicationDispense resource

The following attributes are immutable:

NameDetails
patient
medication

5. Delete

HTTP RequestMethodAction
/MedicationDispense/{ID}DELETEDeletes MedicationDispense resource