Medication Adminstration resource - Edited use case
The "edit" approach for medication adminstration will be as below. So this approach applies for any data point that is modelled as medication adminstration resource.
effectiveDateTime
- will have the timestamp of the medication administration. This will remain the same unless the user updates also the administration timestampidentifier
- will have the same unique identifier with which it has been ingested alreadystatus
- will always be "completed" for the updated resource
Below is a sample for updating a pen_basal_injection_unit with internal confidence ID "BBBBB-BBBBB-BBBBB":
Step | Description | Insulin Units | Injected TimeStamp | Type | Identifier |
---|---|---|---|---|---|
1 | A pen_basal_injection_unit is entered | 4 | 2020-04-28T10:30:00Z | manual entry | BBBBB-BBBBB-BBBBB |
2 | The entry is updated | 3 | 2020-04-28T10:30:00Z | manual entry | BBBBB-BBBBB-BBBBB |
The following bundle is generated on Step 2.
{
"resourceType": "MedicationAdministration",
"id": "id-medicationAdministration-pen-manual-basal",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/medication-administration"
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/medication-administration/mysugr",
"value": "BBBBB-BBBBB-BBBBB"
}
],
"status": "completed",
"medicationCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "25305005",
"display": "Long-acting insulin (substance)"
}
],
"text": "Novolin"
},
"subject": {
"reference": "Patient/SandboxPat3"
},
"effectiveDateTime": "2020-04-28T10:30:00Z",
"performer": [
{
"actor": {
"reference": "Patient/SandboxPat3"
}
}
],
"dosage": {
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/medication-administration-dosage/admin-type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "61968008",
"display": "Syringe, device (physical object)"
}
]
}
}
],
"dose": {
"value": 3,
"unit": "[iU]",
"system": "http://unitsofmeasure.org",
"code": "[iU]"
}
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric",
"valueReference": {
"reference": "DeviceMetric/id-deviceMetric-smartPhone-insulin"
}
}
]
}