💫Socket.IO
Retrieve observation from Kligo synchronously using Socket.IO client.
var socket = io('http://localhost:63336');
socket.on('fhir', function (data) {
console.log(data);
});Emitting events
Simple FHIR Observation
{
"category": [{
"coding": [{
"code": "vital-signs",
"display": "Vital Signs",
"system": "http://hl7.org/fhir/observation-category"
}],
"text": "Vital Signs"
}],
"code": {
"coding": [{
"code": "",
"display": "body_weight",
"system": "http://loinc.org"
}],
"text": "Poids"
},
"context": {
"reference": "ac8f39cc-f5eb-450e-a354..."
},
"device": {
"display": "weight_scale",
"reference": "5da0709..."
},
"resourceType": "Observation",
"effectiveDateTime": "2019-12-09T14:19:44Z",
"status": "final",
"valueQuantity": {
"code": "kg"
"system": "http://unitsofmeasure.org",
"unit": "kg",
"value": 50.4
}
}Multiple FHIR Observation
Receiving events
Last updated