FHIR Chat · Validation on CapabilityStatement.kind · implementers

Stream: implementers

Topic: Validation on CapabilityStatement.kind


view this post on Zulip Benjamin Langley (Jun 03 2020 at 12:59):

I think there may be a potential bug in the FHIR Validator for CapabilityStatement.kind. If kind=instance then implementation must be present and software may be present. I have a CpatabilityStatement with kind="instance" and an implementation set but I get the following two errors
ERROR: [error] in /*:CapabilityStatement[namespace-uri()='http://hl7.org/fhir'][1] @ CapabilityStatement cpb-16: If kind = requirements, implementation and software must be absent Test=not(f:kind/@value='instance') or (not(exists(f:implementation)) and not(exists(f:software)))
ERROR: [error] in /*:CapabilityStatement[namespace-uri()='http://hl7.org/fhir'][1] @ CapabilityStatement cpb-15: If kind = capability, implementation must be absent, software must be present Test=not(f:kind/@value='instance') or (not(exists(f:implementation)) and exists(f:software))

view this post on Zulip Lloyd McKenzie (Jun 03 2020 at 17:17):

Yup, looks like a copy & paste issue. Please submit a technical correction change request.


Last updated: Apr 12 2022 at 19:14 UTC