Re: [HAPI-devel] Obtaining XPath during "client" mode...

2020-04-06 Thread Russell Bateman
Oops, sorry James, I though I had that list. I will correct that for next time. Many thanks! On 4/6/20 12:38 PM, James Agnew wrote: Hi Russell, FYI this is the HAPI-HL7v2 mailing list, it's probably better to ask this question on the HAPI FHIR list at : https://groups.google.com/forum/#!foru

Re: [HAPI-devel] Obtaining XPath during "client" mode...

2020-04-06 Thread James Agnew
Hi Russell, FYI this is the HAPI-HL7v2 mailing list, it's probably better to ask this question on the HAPI FHIR list at : https://groups.google.com/forum/#!forum/hapi-fhir That said, there isn't a built-in way of applying XPath, but you might look at FhirContext#newFluentPath() (renamed to newFhr

[HAPI-devel] Obtaining XPath during "client" mode...

2020-04-06 Thread Russell Bateman
I wonder if there's a way to get an XPath within the source document for any, given piece of information I'm able to get out of the API. (Note that there is a way to do this using MDHT for HL7 v3 work; this is why I ask.) I need to annotate data I extract with the location where I found it in t