Stream: IG creation
Topic: Unknown FHIRAllTypes code 'ProcedureRequest'
Adam Stevenson (Jul 14 2020 at 16:18):
I'm getting the following exception when running the Publisher against the opioid-cds (STU3) IG after registering a Library resource with a DataRequirement on 'ProcedureRequest': Unknown FHIRAllTypes code 'ProcedureRequest'. It looks like there is no entry in the FHIRAllTypes enum and no 30_50 convertor for ProcedureRequest. What I'd like to confirm is whether this Is an unintentional gap or if there is a good reason and this was explicitly omitted?
Vassil Peytchev (Jul 14 2020 at 16:20):
ProcedureRequest was replaced by ServiceRequest in R4. Could there be a version mismatch somewhere?
Adam Stevenson (Jul 14 2020 at 17:17):
My understanding/expectation is that for cases like this the Publisher will upconvert. I know this has been an issue with other resource types in the past (e.g., MedicationStatement -> MedicationUsage). Is the appropriate resolution to create the ProcedureRequestConvertor_30_50 or is there some good reason for that not existing? Or maybe I'm totally off in my understanding?
Grahame Grieve (Jul 14 2020 at 19:52):
hmm. how do I reproduce this?
Adam Stevenson (Jul 14 2020 at 21:24):
Building this branch of the opioid-cds IG should result in the error: https://github.com/cqframework/opioid-cds/tree/fhiralltypes_procedurerequest
Grahame Grieve (Jul 15 2020 at 00:44):
ok fixed next release
Adam Stevenson (Jul 15 2020 at 15:22):
Thank you, Grahame!
Last updated: Apr 12 2022 at 19:14 UTC