tag:blogger.com,1999:blog-889589006115133326.post4190801692536700312..comments2023-06-23T03:20:27.882-07:00Comments on Make IT Happen: HL7 FHIR Partial UpdateVictor Chaihttp://www.blogger.com/profile/17534388005090824673noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-889589006115133326.post-34940770279372711512015-09-24T20:09:34.503-07:002015-09-24T20:09:34.503-07:00Theo is correct that you should be using your own ...Theo is correct that you should be using your own namespace. Also, extension definitions should generally be StructureDefinitions.<br /><br />It's fine to experiment with partial updates if you wish, but this wouldn't be a long-term solution.Lloyd McKenziehttps://www.blogger.com/profile/00932569469355993605noreply@blogger.comtag:blogger.com,1999:blog-889589006115133326.post-82620269359441998272015-09-23T21:16:02.573-07:002015-09-23T21:16:02.573-07:00Hi Victor,
A couple of comments on your post:
1) ...Hi Victor,<br /><br />A couple of comments on your post:<br />1) You are using the http://hl7.org/fhir/ namespace. I believe the agreement is that extensions are placed in a namespace of your own.<br /><br />2) What you describe as partial update is not a true partial update, since you still always have to send all mandatory field in the resource.<br /><br />3) Extensions are intended to modify resource content permanently, and be returned the next time. What you have done with updateMode is used fields in the resource to extend the protocol. That is a bad practice. What is even worse is to use the iso-21090 namespace, sicne it doesn;t contain an updateMode extension. <br /><br />4) I do understand what you have done with the #id extension in telecom, and it makes senses, we had a similar requirement for CarePlan.activity. However, if your id is just numeric, there is already an id property on any element, so you do not need an extension.<br /><br />Summing it up, I think this is not the way to go ahead.<br /><br />Best regards,<br /><br />TheoTheo Stolkerhttps://www.blogger.com/profile/04508207645563583035noreply@blogger.com