FHIR Chat · Using FHIRPath to set values? · hapi

Stream: hapi

Topic: Using FHIRPath to set values?


view this post on Zulip Sean McIlvenna (Jun 11 2020 at 02:13):

I know you can use HAPI's FHIRPathEngine to select values from a resource, but can you use it set values?
engine.execute(baseResource, "Condition.code.code=SOMECODE")
or maybe
engine.execute(baseResource, "Condition.code", someCodingInstance);

view this post on Zulip Grahame Grieve (Jun 11 2020 at 02:15):

no. it's read-only. But you can use it to select content and then set the values on the returned content. There's even a setProperty routine to help


Last updated: Apr 12 2022 at 19:14 UTC