clinical:hl7-resource-medication-order

v1.6.16Published 5 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

clinical:hl7-resource-medication-order

Licensing

MIT License

Integration & Verification Tests

CircleCI

API Reference

The resource in this package implements Medication Order resource schema, specified at https://www.hl7.org/fhir/DSTU2/medicationorder.html.

Installation

# to add hl7 resource schemas and rest routes
meteor add clinical:hl7-resource-medication-order

# to initialize default data
INITIALIZE=true meteor

Example

1var prescription = {}
2MedicationOrders.insert(prescription);

Extending the Schema

1ExtendedMedicationOrderSchema = new SimpleSchema([
2  MedicationOrderSchema,
3  {
4    "createdAt": {
5      "type": Date,
6      "optional": true
7    }
8  }
9]);
10MedicationOrders.attachSchema( ExtendedMedicationOrderSchema );

Utilities

If you're working with HL7 FHIR Resources, we recommend using Postman.

Acknowledgements

Many thanks to DxRx Medical, NY Methodist Hospital, and the New Orleans Pharmacy Museum for research and studies conducted in support of this library.