Stream: IG creation
Topic: DSTU ig.xml package.resource.purpose for SearchParameters
Chris Moesel (Jun 16 2019 at 23:35):
The DSTU2 ImplementationGuide
requires purpose
for all resource
s registered in a package. I'm not sure what purpose
I should use for a SearchParameter
resource. The valid codes are: example
, terminology
, profile
, extension
, dictionary
, logical
. I tried to look at Argonaut (Data Query 1.0.0) for an example, but its ImplementationGuide-ig.xml does not include values for purpose
at all (despite it be 1..1
).
Eric Haas (Jun 17 2019 at 00:49):
I thought we made it example since it represents an instance describing the expectation for an implementation following the IG
Chris Moesel (Jun 17 2019 at 01:16):
@Eric Haas - The search parameters weren't marked as example in the ImplementationGuide-ig.xml I got from downloading the XML package or validator.pack on the downloads page:
pasted image
That said, I see the sense in your logic. Absent any stronger opinions on the matter, I'll go with example
. Thanks!
Grahame Grieve (Jun 17 2019 at 03:41):
I'd go with profile but it's a toss-up
Chris Moesel (Jun 17 2019 at 03:49):
For now, I've coded it as example
, but I can change that. Follow up question is what would be the appropriate purpose
code for OperationDefinition
s and Conformance
s?
Grahame Grieve (Jun 17 2019 at 03:53):
same
Grahame Grieve (Jun 17 2019 at 03:53):
it doesn't really matter now
Last updated: Apr 12 2022 at 19:14 UTC