MedicationAdministration resource
The "delete" approach for any MedicationAdministration resource will be the same. So this approach applies for "deletion" of any data point that is modelled as a MedicationAdministration resource.
effectiveDateTime- will have the timestamp of the medication administration- extension
registered-timestamp- will have the timestamp of the delete action made on the entry - extension
parent-device-metric- will be a refernce always to the device metric which basically points to the smartphone (assuming deleting is only possible on the app) identifier- will have the same unique identifier with which it has been ingested alreadystatus- will always be "entered-in-error" for the deleted resource
Below is a sample for deleting a pen_basal_injection_unit with identifier "AAAAA-AAAAA-AAAAA":
| Step | Description | Insulin Units | Injected TimeStamp | Registered TimeStamp | Type | Identifier |
|---|---|---|---|---|---|---|
| 1 | A pen_basal_injection_unit is entered | 2 | 2020-04-06T10:00:00Z | manual entry | AAAAA-AAAAA-AAAAA | |
| 2 | The entry is deleted in mySugr; In FHIR it is logically deleted by replacing it with "entered-in-error" status | 2020-04-06T12:00:00Z |
The following bundle is generated on Step 2.
Command 'json' could not render: File not found for 'subject=example-mysugr-deleted-values-medicationadministration'