##clinical:hl7-resource-message-header
HL7 FHIR Resource - MessageHeader
===============================
Conformance Statement
The resource in this package implements the FHIR Patient Resource schema provided at https://www.hl7.org/fhir/messageHeader.html.
===============================
Installation
# to add hl7 resource schemas and rest routes meteor add clinical:hl7-resource-message-header # to initialize default data INITIALIZE=true meteor
===============================
Example
1var nyQuill = { 2 code: { 3 text: "NyQuill" 4 }, 5 isBrand: true, 6 manufacturer: { 7 display: 'VICKS', 8 reference: '' 9 }, 10 product: { 11 form: { 12 text: 'liquid' 13 }, 14 ingredient: [{ 15 item: { 16 resourceType: 'Substance', 17 code: { 18 text: 'Acetaminophen' 19 }, 20 description: 'Pain reliever/fever reducer.' 21 }, 22 instance: [{ 23 quantity: '650 mg' 24 }] 25 },{ 26 item: { 27 resourceType: 'Substance', 28 code: { 29 text: 'Dextromethorphan HBr' 30 }, 31 description: 'Cough suppressant.' 32 }, 33 instance: [{ 34 quantity: '30 mg' 35 }] 36 },{ 37 item: { 38 resourceType: 'Substance', 39 code: { 40 text: 'Doxylamine succinate' 41 }, 42 description: 'Antihistamine.' 43 }, 44 instance: [{ 45 quantity: '12.5 mg' 46 }] 47 }] 48 }, 49 package: { 50 container: { 51 text: 'vial' 52 }, 53 content: [{ 54 amount: { 55 value: 12, 56 unit: 'fl oz' 57 } 58 }] 59 } 60} 61MessageHeaders.insert(nyQuill);
===============================
Extending the Schema
1ExtendedMessageHeaderSchema = new SimpleSchema([ 2 MessageHeaderSchema, 3 { 4 "createdAt": { 5 "type": Date, 6 "optional": true 7 } 8 } 9]); 10MessageHeaders.attachSchema( ExtendedMessageHeaderSchema );
===============================
Utilities
If you're working with HL7 FHIR Resources, we recommend using Postman.
===============================