Stream: IG creation
Topic: IG for operations
John Moehrke (Jun 17 2020 at 15:42):
I have an IG that defines an Operation. How do I tag examples so that they are confirmed as being valid against the operation definition?
Lloyd McKenzie (Jun 17 2020 at 15:56):
Your operation definition can specify profiles that define expectations for the input and output - and your examples could point to those profiles
John Moehrke (Jun 17 2020 at 16:00):
so the operation definition is not sufficient?
John Moehrke (Jun 17 2020 at 16:01):
to create input and output profiles.. how do I assure they are aligned with the operation definition? Seems like just moving the problem around.
Lloyd McKenzie (Jun 17 2020 at 16:01):
The OperationDefinition doesn't let you say a bunch of things that a profile does. And no way to reference the constraints an OprationDefinition does define from an instance
Lloyd McKenzie (Jun 17 2020 at 16:02):
I argued strongly that OperationDefinition should just point to profiles and not describe the in and out properties at all, but I lost.
Lloyd McKenzie (Jun 17 2020 at 16:02):
So yes, there's now two ways to do it, where one has more capabilities than the other.
Lloyd McKenzie (Jun 17 2020 at 16:03):
(And an opportunity for disagreement between the mechanisms)
John Moehrke (Jun 17 2020 at 16:03):
ah, so I could do an operation definition that just uses profiles?
Lloyd McKenzie (Jun 17 2020 at 16:05):
Not completely. Not clear what it would mean, for example, to specify a binding in your profile but not in the OperationOutcome.parameter
John Moehrke (Jun 17 2020 at 17:12):
okay, so I think I am left with an operation definition and two profiles.. with hope that my human fingers have aligned them properly. Then I can tag my examples as conforming to one of the two profiles for validation.
Grahame Grieve (Jun 17 2020 at 19:05):
it would be useful to be able to link examples to operation definitions directly, but there's no way to do that right now. DO you want to create a task so that I can get to it when I have a chance?
John Moehrke (Jun 17 2020 at 19:33):
is that a core spec CP, or one for build, or one for validator? Seems this is very related to the one SANER (@Keith Boone ) entered for measure definition vs measureReport
John Moehrke (Jun 17 2020 at 19:33):
right?
Grahame Grieve (Jun 17 2020 at 19:36):
it's an IG Publisher issue
John Moehrke (Jun 17 2020 at 19:40):
I don't find that project in jira or do you mean a github issue?
Grahame Grieve (Jun 17 2020 at 19:41):
yes a github issue. What you are describing is an issue with the tooling, not the specification
John Moehrke (Jun 17 2020 at 19:52):
https://github.com/HL7/fhir-ig-publisher/issues/114
Last updated: Apr 12 2022 at 19:14 UTC