FHIR Chat · Patch support? · hapi

Stream: hapi

Topic: Patch support?


view this post on Zulip Eric Haas (Aug 29 2017 at 16:14):

Does hapi support the FHIR Path Patch (in addition to json and xml patch)

view this post on Zulip Eric Haas (Mar 22 2018 at 17:47):

I tried XML patch and it did not work on the test server: (Json patch was fine)
not sure about the namespace issue so tried a lot of variants. here is one...

 <?xml version="1.0" encoding="UTF-8"?>
 <diff xmlns:f="http://hl7.org/fhir">
   <replace sel="f:Appointment/f:status/@value">cancelled</replace>
 </diff>

can anybody show me the right syntax?

view this post on Zulip Grahame Grieve (Mar 22 2018 at 19:23):

did you look at the test cases in the spec?

view this post on Zulip Eric Haas (Mar 23 2018 at 07:00):

I looked at some test cases that Jenni pointed me to. <patch> there and tried that too.

view this post on Zulip James Agnew (May 20 2018 at 20:40):

For the record, patch is supported. Xml-patch and json-patch only though, we haven't implemented the FHIR Patch yet.


Last updated: Apr 12 2022 at 19:14 UTC