[英]How do I use a HL7 FHIR custom tag?
Idea: I would like to store the change action on each version of my FHIR Patient resource. 想法:我想将更改操作存储在我的FHIR患者资源的每个版本上。 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. 实施:我们正在考虑将“操作”放入客户定义的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. 任何建议或链接,高度赞赏。
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.
检查您将其发送到的服务器中的错误,以了解为什么无法将标签放在资源上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.