Reputation: 319
Idea: I would like to store the change action on each version of my FHIR Patient resource. For example, when it is created, the action is 'Created'. By similar token, if the subsequent actions on the same resource are 'updated', 'deleted' and 'restored from deleted', the action of each version of the same resource will be 'Updated', 'Deleted' and 'Restored'.
Implementation: We are thinking to put the 'Action' into a customer defined resource.meta.tag. An example is shown below.
"tag" : [
{
"system" : "hxxp://mydomain/fhir/custom_tag/SystemActionStatus",
"code" : "Updated"
}
]
Questions:
Any suggestions or links are high appreciated.
Upvotes: 1
Views: 1321
Reputation: 2299
No, I think there are better approaches.
Yes
No, you don't have to do that. Check the error from server you sent this to, to see why you couldn't put the tag on the resource.
Upvotes: 2