clinical:hl7-resource-allergy-intolerance

v1.5.3Published 4 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-allergy-intolerance

Licensing

MIT License

Integration & Verification Tests

CircleCI

API Reference

This package implements the FHIR List resource schema provided at https://www.hl7.org/fhir/DSTU2/allergyintolerance.html.

Installation

# to add hl7 resource schemas and rest routes
meteor add clinical:hl7-resource-allergy-intolerance

# to initialize default data
INITIALIZE=true meteor

Example

1let peanutAllergy = {
2
3}
4AllergyIntolerances.insert(peanutAllergy);

Extending the Schema

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

Utilities

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

References

FDA - Food Allergies: What You Need To Know
FDA - Food Facts

Licensing

MIT License