clinical:hl7-resource-binary

v1.1.1Published 6 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-binary

HL7 FHIR Resource - Binary

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

Conformance Statement

The resource in this package implements the FHIR Patient Resource schema provided at https://www.hl7.org/fhir/binary.html.

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

Installation

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

# to initialize default data
INITIALIZE=true meteor

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

Example

1var imageBlob = {}
2Binarys.insert(imageBlob);

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

Extending the Schema

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

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

Utilities

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

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

Licensing

MIT License