FHIR Chat · What does this invariant on CapStatement mean · conformance

Stream: conformance

Topic: What does this invariant on CapStatement mean


view this post on Zulip Eric Haas (May 01 2019 at 05:40):

"Rule: The set of documents must be unique by the combination of profile and mode."
I assume mode = server + rest resource profile should be unique for all resources but profile is 0..1 so I am confused and unable to validate

view this post on Zulip Alexander Zautke (May 01 2019 at 10:40):

In this case 'mode' should refer to CapabilityStatement.document.mode. So, the combination of a profile on Composition and a value from DocumentMode (https://hl7.org/fhir/STU3/valueset-document-mode.html) must be unique.

view this post on Zulip Eric Haas (May 01 2019 at 16:23):

but profile is not mandatory so how can it be unique if missing? I am still not validating and stiil don't understand it. @Lloyd McKenzie

view this post on Zulip Lloyd McKenzie (May 01 2019 at 16:53):

profile is mandatory in STU3 and R4 for CapabilityStatement.document

view this post on Zulip Eric Haas (May 01 2019 at 17:08):

not for rest so is this invariant only for documents?

view this post on Zulip Lloyd McKenzie (May 01 2019 at 17:23):

Should be, y.


Last updated: Apr 12 2022 at 19:14 UTC