FHIR Chat · fhirpath locations in the errors · IG creation

Stream: IG creation

Topic: fhirpath locations in the errors


view this post on Zulip Brian Postlethwaite (Jul 05 2019 at 02:03):

Is it just me or are all the fhirpath locations in the IG publisher qa output using 1 based indexing, not 0 based indexing that I was expecting?
(had me baffled for sometime trying to locate which property was causing the issue)
https://build.fhir.org/ig/HL7/VhDir/qa.html#_scratch_ig-build-temp-2ACLVV_repo_source_examples_practitioner-example-washington
In this example the error is in the 2nd extension in the first qualification, which should be
Practitioner.qualification[0].extension.extension[1].valueCodeableConcept
not
Practitioner.qualification[1].extension.extension[2].valueCodeableConcept
@Grahame Grieve is this something that is known already?

view this post on Zulip Grahame Grieve (Jul 05 2019 at 02:34):

I just asked about this on the implementers channel

view this post on Zulip Vadim Peretokin (Jul 05 2019 at 07:25):

yes, known: https://github.com/hapifhir/org.hl7.fhir.core/issues/50

view this post on Zulip Grahame Grieve (Jul 05 2019 at 10:27):

fixed next release

view this post on Zulip Grahame Grieve (Jul 05 2019 at 10:28):

in fact it should be

view this post on Zulip Grahame Grieve (Jul 05 2019 at 10:28):

Practitioner.qualification[0].extension[0].extension[1].value.ofType(CodeableConcept)


Last updated: Apr 12 2022 at 19:14 UTC