clinical:hl7-fhir-resources

v1.2.0Published 7 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

HL7 FHIR Resource - AllergyIntolerance

===============================

Conformance Statement

The resource in this package implements the FHIR Patient Resource schema provided at https://www.hl7.org/fhir/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.

===============================

Licensing

MIT License