Stream: implementers
Topic: MessageDefinition - how to specify MessageHeader profile
Kevin Mayfield (Sep 25 2020 at 10:40):
My understanding of MessageDefinition is it implies a MessageHeader in the message Bundle and should not be listed in the focus part.
Also in focus, I should only be listing the core focus and not include others such as Organization, Practitioner and PractitionerRole as they are dealt with via profiles.
Is that correct and I should remove MessageHeader, Organization, Practitioner and PractitionerRole from this definition (the JSON & XML definitions don't include these)
https://simplifier.net/guide/DigitalMedicines/prescription-order
But how do I specify the profile for the MessageHeader?
Lloyd McKenzie (Sep 25 2020 at 12:54):
I don't think MessageDefinition allows you to specify a profile for MessageHeader. It's focused on describing the content of the message and allowed responses. If you wanted to profile the header itself (or the Bundle), that'd have to be done in an implementation guide.
Kevin Mayfield (Sep 25 2020 at 14:32):
That might be easier way of handling it. The prescription-order domain is potentially NHS (England/UK) wide, the MessageHeader will vary in sub-domains.
Last updated: Apr 12 2022 at 19:14 UTC