MedicationAdministration resource
The "edit" approach for any MedicationAdministration resource will be the same. So this approach applies for "updation" of any data point that is modelled as MedicationAdministration resource.
effectiveDateTime- will have the timestamp of the medication administration. This will remain the same unless the user updates also the administration timestamp- extension
registered-timestamp- will have the timestamp of the update made on the entry - extension
parent-device-metric- will be a reference always to the device metric which basically points to the smartphone (assuming editing is only possible on the app) identifier- 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 identifier "BBBBB-BBBBB-BBBBB":
| Step | Description | Insulin Units | Injected TimeStamp | Registered TimeStamp | Type | Identifier |
|---|---|---|---|---|---|---|
| 1 | A pen_basal_injection_unit is entered | 2 | 2020-04-06T10:00:00Z | 2020-04-06T11:00:00Z | manual entry | BBBBB-BBBBB-BBBBB |
| 2 | The entry is updated | 3 | 2020-04-06T10:00:00Z | 2020-04-06T12:00:00Z | manual entry | BBBBB-BBBBB-BBBBB |
The following bundle is generated on Step 2.
Command 'json' could not render: File not found for 'subject=example-mysugr-edited-values-medicationadministration'