The resource in this package implements the FHIR Observation Resource DTSU2 schema provided at https://www.hl7.org/fhir/DSTU2/observation.html.
# to add hl7 resource schemas and rest routes
meteor add clinical:hl7-resource-diagnostic-report
# to initialize default data
INITIALIZE=true meteor
var newObservation = {
category: {
coding: {
system : "",
code: "123.1",
version: "1",
display: "foo",
userSelected: false
},
text: "Foo"
},
valueQuantity: {
value: 123,
unit: "kg",
system: "http://unitsofmeasure.org"
},
subject: {
display: "...",
reference: "Patient/...."
}
}
Observations.insert(newObservation);
ExtendedObservationSchema = new SimpleSchema([
ObservationSchema,
{
"createdAt": {
"type": Date,
"optional": true
}
}
]);
Observations.attachSchema( ExtendedObservationSchema );
If you're working with HL7 FHIR Resources, we recommend using Postman.
Many thanks to iHealth Labs, DxRx Medical, VisExcell, Parkland Center for Care Innovation, and many others for their support in creating this library.