Stream: implementers
Topic: choice-elements.json
Paul Lynch (Oct 23 2020 at 13:38):
I just came across the generated list of choice type paths, at https://www.hl7.org/fhir/choice-elements.json. This is also at https://www.hl7.org/fhir/R4/choice-elements.json, but https://www.hl7.org/fhir/STU3/choice-elements.json does not find anything. Is there an equivalent page for STU3 and DSTU2?
I am interested in this because fhirpath.js also has code for creating files with this data, for DSTU2-R4:
https://github.com/HL7/fhirpath.js/blob/master/fhir-context/r4/choiceTypePaths.json
https://github.com/HL7/fhirpath.js/blob/master/fhir-context/stu3/choiceTypePaths.json
https://github.com/HL7/fhirpath.js/blob/master/fhir-context/dstu2/choiceTypePaths.json
If this existed as part of the FHIR release files, we could remove some code from fhirpath.js.
Lloyd McKenzie (Oct 23 2020 at 14:29):
@Grahame Grieve
Grahame Grieve (Oct 30 2020 at 01:00):
no I did not generate it for R3
Last updated: Apr 12 2022 at 19:14 UTC