clinical:hl7-resource-document-reference

v1.1.11Published 2 years ago

##clinical:hl7-resource-document-reference

HL7 FHIR Resource - DocumentReference

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

Conformance Statement

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

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

Installation

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

# to initialize default data
INITIALIZE=true meteor

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

Example

1var driversLicensePhotocopy = {}
2DocumentReferences.insert(driversLicensePhotocopy);

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

Extending the Schema

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

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

Utilities

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

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

Licensing

MIT License