Stream: implementers
Topic: FHIR Validator and MessageHeader.eventCoding
Eli-Jean Leyssens (Oct 06 2021 at 14:10):
In a MessageHeader, the event is mandatory. I tried using:
"eventCoding": {
"system": "http://hl7.org/fhir/message-events",
"code": "diagnosticreport-provide"
},
But then the validator complains that:
Unknown Code http://hl7.org/fhir/message-events#diagnosticreport-provide in http://hl7.org/fhir/message-events for 'http://hl7.org/fhir/message-events#diagnosticreport-provide'
Which I guess is correct, since even https://www.hl7.org/fhir/valueset-message-events.html does not list any codes.
However, those codes DO appear on the following two pages:
https://www.hl7.org/fhir/dstu1/message-events.html
https://www.devdays.com/wp-content/uploads/2018/06/DD18-US-Messaging-the-unloved-paradigm-R%C3%A9ne-Spronk-2018-06-21.pdf
Is there some magical profile I can specify that lists those codes?
Or maybe these have codes been deprecated? But if so then I guess I should use an eventUri instead, but I have no idea what URI to use. My code transforms ORU_R01 and OUL_R22 hl7v2 messages into FHIR Bundles with DiagnosticReport entries.
David Pyke (Oct 06 2021 at 14:38):
THe code system is also code free. THat's worth raising a Jira ticket about
Eli-Jean Leyssens (Oct 06 2021 at 14:45):
Thank you for your answer. Does this mean I should just use the above eventCoding and ignore the Validator error?
Also, I'm assuming you mean some Jira of the FHIR committee/organization? Is that through the "Propose a change" link on https://www.hl7.org/fhir/valueset-message-events.html ?
Lloyd McKenzie (Oct 06 2021 at 15:24):
You can't ignore the validator error. We removed all codes from the code system because they were poorly defined. So there are now no HL7 defined event codes. You need to define your own code system and the codes within it.
Eli-Jean Leyssens (Oct 06 2021 at 16:22):
Ok, thanks for the clarification.
David Pyke (Oct 06 2021 at 16:33):
Can a comment be added to the CodeSystem and ValueSet so people are aware of that?
Lloyd McKenzie (Oct 06 2021 at 16:41):
We should probably just delete the code system and value set. Care to submit a change request @David Pyke ?
David Pyke (Oct 06 2021 at 16:43):
Won't that break MessageHeader? If not, I'd be happy to
David Pyke (Oct 06 2021 at 16:43):
And MessageDefinition?
Eli-Jean Leyssens (Oct 06 2021 at 17:19):
I guess defining our own coding system would involve creating a profile and making sure it's available online somewhere (so people can use it with the validator and also find the meaning of our codes)?
Or maybe there is a list of eventCoding systems somewhere, or maybe a list of common eventUri values? Would rather use something that already exists instead of trying to come up with our own system.
Lloyd McKenzie (Oct 06 2021 at 18:04):
It won't break them - they'd just need to have a descriptive binding instead of a value set binding
David Pyke (Oct 06 2021 at 18:04):
Okay, I'll put in the ticket
David Pyke (Oct 06 2021 at 18:13):
Lital Inghel (Oct 06 2021 at 18:39):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC