NHSDigital-CapabilityStatement-1

Canonical_URLStatus
https://fhir.nhs.uk/STU3/StructureDefinition/NHSDigital-CapabilityStatement-1draft

HTML View

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textC0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
urlΣ1..1uri
versionΣ0..1string
nameΣ1..1string
titleΣ0..1string
statusΣ ?!1..1codeBinding
experimentalΣ ?!0..1boolean
dateΣ1..1dateTime
publisherΣ1..1stringFixed Value
id0..1string
extensionC0..*Extension
nameΣ1..1string
id0..1string
extensionC0..*Extension
systemΣ C0..1codeBinding
valueΣ0..1string
useΣ ?!0..1codeBinding
rankΣ0..1positiveInt
id0..1string
extensionC0..*Extension
startΣ C0..1dateTime
endΣ C0..1dateTime
descriptionC0..1markdown
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
valueCodeableConceptCodeableConcept
valueQuantityQuantity
valueRangeRange
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
purpose0..1markdown
copyright1..1markdown
kindΣ1..1codeBinding
instantiatesΣ0..*uri
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
nameΣ1..1string
versionΣ0..1string
releaseDateΣ0..1dateTime
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
descriptionΣ1..1string
urlΣ0..1uri
fhirVersionΣ1..1id
acceptUnknownΣ1..1codeBinding
formatΣ1..*codeBinding
patchFormatΣ0..*codeBinding
implementationGuideΣ0..*uri
id0..1string
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
modeΣ1..1codeBinding
documentation0..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
corsΣ0..1boolean
id0..1string
extensionC0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
description0..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
type0..1codeBinding
blob0..1base64Binary
id0..1string
capabilitystatement-search-parameter-combinationC0..*Extension(Complex)
modifierExtensionΣ ?! C0..*Extension
typeΣ1..1codeBinding
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
documentation0..1markdown
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
code1..1codeBinding
documentation0..1string
versioning0..1codeBinding
readHistory0..1boolean
updateCreate0..1boolean
conditionalCreate0..1boolean
conditionalRead0..1codeBinding
conditionalUpdate0..1boolean
conditionalDelete0..1codeBinding
referencePolicy0..*codeBinding
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
value0..1
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
value0..1
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
name1..1string
definition0..1uri
type1..1codeBinding
documentation0..1string
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
code1..1codeBinding
documentation0..1string
searchParam0..*see (searchParam)
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
name1..1string
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
compartment0..*uri
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
address1..1uri
reliableCache0..1unsignedInt
documentation0..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
modeΣ1..1codeBinding
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
id0..1string
extensionC0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeΣ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
category0..1codeBinding
mode1..1codeBinding
focus1..1codeBinding
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string
documentation0..1string
id0..1string
capabilityStatementExpectationC0..1Extension(code)Binding
modifierExtensionΣ ?! C0..*Extension
mode1..1codeBinding
documentation0..1string
id0..1string
extensionC0..*Extension
referenceΣ C0..1string
identifierΣ0..1Identifier
displayΣ0..1string

Table View

CapabilityStatement1..1
CapabilityStatement.idid0..1
CapabilityStatement.metaMeta0..1
CapabilityStatement.implicitRulesuri0..1
CapabilityStatement.languagecode0..1
CapabilityStatement.textNarrative0..1
CapabilityStatement.containedResource0..*
CapabilityStatement.extensionExtension0..*
CapabilityStatement.modifierExtensionExtension0..*
CapabilityStatement.urluri1..1
CapabilityStatement.versionstring0..1
CapabilityStatement.namestring1..1
CapabilityStatement.titlestring0..1
CapabilityStatement.statuscode1..1
CapabilityStatement.experimentalboolean0..1
CapabilityStatement.datedateTime1..1
CapabilityStatement.publisherstring1..1
CapabilityStatement.contactContactDetail1..*
CapabilityStatement.contact.idstring0..1
CapabilityStatement.contact.extensionExtension0..*
CapabilityStatement.contact.namestring1..1
CapabilityStatement.contact.telecomContactPoint1..*
CapabilityStatement.contact.telecom.idstring0..1
CapabilityStatement.contact.telecom.extensionExtension0..*
CapabilityStatement.contact.telecom.systemcode0..1
CapabilityStatement.contact.telecom.valuestring0..1
CapabilityStatement.contact.telecom.usecode0..1
CapabilityStatement.contact.telecom.rankpositiveInt0..1
CapabilityStatement.contact.telecom.periodPeriod0..1
CapabilityStatement.contact.telecom.period.idstring0..1
CapabilityStatement.contact.telecom.period.extensionExtension0..*
CapabilityStatement.contact.telecom.period.startdateTime0..1
CapabilityStatement.contact.telecom.period.enddateTime0..1
CapabilityStatement.descriptionmarkdown0..1
CapabilityStatement.useContextUsageContext0..*
CapabilityStatement.useContext.idstring0..1
CapabilityStatement.useContext.extensionExtension0..*
CapabilityStatement.useContext.codeCoding1..1
CapabilityStatement.useContext.code.idstring0..1
CapabilityStatement.useContext.code.extensionExtension0..*
CapabilityStatement.useContext.code.systemuri0..1
CapabilityStatement.useContext.code.versionstring0..1
CapabilityStatement.useContext.code.codecode0..1
CapabilityStatement.useContext.code.displaystring0..1
CapabilityStatement.useContext.code.userSelectedboolean0..1
CapabilityStatement.useContext.value[x]CodeableConcept | Quantity | Range1..1
CapabilityStatement.jurisdictionCodeableConcept0..1
CapabilityStatement.jurisdiction.idstring0..1
CapabilityStatement.jurisdiction.extensionExtension0..*
CapabilityStatement.jurisdiction.codingCoding0..*
CapabilityStatement.jurisdiction.coding.idstring0..1
CapabilityStatement.jurisdiction.coding.extensionExtension0..*
CapabilityStatement.jurisdiction.coding.systemuri0..1
CapabilityStatement.jurisdiction.coding.versionstring0..1
CapabilityStatement.jurisdiction.coding.codecode0..1
CapabilityStatement.jurisdiction.coding.displaystring0..1
CapabilityStatement.jurisdiction.coding.userSelectedboolean0..1
CapabilityStatement.jurisdiction.textstring0..1
CapabilityStatement.purposemarkdown0..1
CapabilityStatement.copyrightmarkdown1..1
CapabilityStatement.kindcode1..1
CapabilityStatement.instantiatesuri0..*
CapabilityStatement.softwareBackboneElement0..1
CapabilityStatement.software.idstring0..1
CapabilityStatement.software.extensionExtension0..*
CapabilityStatement.software.modifierExtensionExtension0..*
CapabilityStatement.software.namestring1..1
CapabilityStatement.software.versionstring0..1
CapabilityStatement.software.releaseDatedateTime0..1
CapabilityStatement.implementationBackboneElement0..1
CapabilityStatement.implementation.idstring0..1
CapabilityStatement.implementation.extensionExtension0..*
CapabilityStatement.implementation.modifierExtensionExtension0..*
CapabilityStatement.implementation.descriptionstring1..1
CapabilityStatement.implementation.urluri0..1
CapabilityStatement.fhirVersionid1..1
CapabilityStatement.acceptUnknowncode1..1
CapabilityStatement.formatcode1..*
CapabilityStatement.patchFormatcode0..*
CapabilityStatement.implementationGuideuri0..*
CapabilityStatement.profileReference(StructureDefinition)0..*
CapabilityStatement.profile.idstring0..1
CapabilityStatement.profile.extensionExtension0..*
CapabilityStatement.profile.extension:profileLinkExtension0..*
CapabilityStatement.profile.referencestring0..1
CapabilityStatement.profile.identifierIdentifier0..1
CapabilityStatement.profile.displaystring0..1
CapabilityStatement.restBackboneElement0..*
CapabilityStatement.rest.idstring0..1
CapabilityStatement.rest.extensionExtension0..*
CapabilityStatement.rest.modifierExtensionExtension0..*
CapabilityStatement.rest.modecode1..1
CapabilityStatement.rest.documentationstring0..1
CapabilityStatement.rest.securityBackboneElement0..1
CapabilityStatement.rest.security.idstring0..1
CapabilityStatement.rest.security.extensionExtension0..*
CapabilityStatement.rest.security.modifierExtensionExtension0..*
CapabilityStatement.rest.security.corsboolean0..1
CapabilityStatement.rest.security.serviceCodeableConcept0..*
CapabilityStatement.rest.security.service.idstring0..1
CapabilityStatement.rest.security.service.extensionExtension0..*
CapabilityStatement.rest.security.service.codingCoding0..*
CapabilityStatement.rest.security.service.coding.idstring0..1
CapabilityStatement.rest.security.service.coding.extensionExtension0..*
CapabilityStatement.rest.security.service.coding.systemuri0..1
CapabilityStatement.rest.security.service.coding.versionstring0..1
CapabilityStatement.rest.security.service.coding.codecode0..1
CapabilityStatement.rest.security.service.coding.displaystring0..1
CapabilityStatement.rest.security.service.coding.userSelectedboolean0..1
CapabilityStatement.rest.security.service.textstring0..1
CapabilityStatement.rest.security.descriptionstring0..1
CapabilityStatement.rest.security.certificateBackboneElement0..*
CapabilityStatement.rest.security.certificate.idstring0..1
CapabilityStatement.rest.security.certificate.extensionExtension0..*
CapabilityStatement.rest.security.certificate.modifierExtensionExtension0..*
CapabilityStatement.rest.security.certificate.typecode0..1
CapabilityStatement.rest.security.certificate.blobbase64Binary0..1
CapabilityStatement.rest.resourceBackboneElement0..*
CapabilityStatement.rest.resource.idstring0..1
CapabilityStatement.rest.resource.extensionExtension0..*
CapabilityStatement.rest.resource.extension:capabilitystatement-search-parameter-combinationExtension0..*
CapabilityStatement.rest.resource.modifierExtensionExtension0..*
CapabilityStatement.rest.resource.typecode1..1
CapabilityStatement.rest.resource.profileReference(StructureDefinition)0..1
CapabilityStatement.rest.resource.profile.idstring0..1
CapabilityStatement.rest.resource.profile.extensionExtension0..*
CapabilityStatement.rest.resource.profile.referencestring0..1
CapabilityStatement.rest.resource.profile.identifierIdentifier0..1
CapabilityStatement.rest.resource.profile.displaystring0..1
CapabilityStatement.rest.resource.documentationmarkdown0..1
CapabilityStatement.rest.resource.interactionBackboneElement1..*
CapabilityStatement.rest.resource.interaction.idstring0..1
CapabilityStatement.rest.resource.interaction.extensionExtension0..*
CapabilityStatement.rest.resource.interaction.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.resource.interaction.modifierExtensionExtension0..*
CapabilityStatement.rest.resource.interaction.codecode1..1
CapabilityStatement.rest.resource.interaction.documentationstring0..1
CapabilityStatement.rest.resource.versioningcode0..1
CapabilityStatement.rest.resource.readHistoryboolean0..1
CapabilityStatement.rest.resource.updateCreateboolean0..1
CapabilityStatement.rest.resource.conditionalCreateboolean0..1
CapabilityStatement.rest.resource.conditionalReadcode0..1
CapabilityStatement.rest.resource.conditionalUpdateboolean0..1
CapabilityStatement.rest.resource.conditionalDeletecode0..1
CapabilityStatement.rest.resource.referencePolicycode0..*
CapabilityStatement.rest.resource.searchIncludestring0..*
CapabilityStatement.rest.resource.searchInclude.idstring0..1
CapabilityStatement.rest.resource.searchInclude.extensionExtension0..*
CapabilityStatement.rest.resource.searchInclude.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.resource.searchInclude.value0..1
CapabilityStatement.rest.resource.searchRevIncludestring0..*
CapabilityStatement.rest.resource.searchRevInclude.idstring0..1
CapabilityStatement.rest.resource.searchRevInclude.extensionExtension0..*
CapabilityStatement.rest.resource.searchRevInclude.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.resource.searchRevInclude.value0..1
CapabilityStatement.rest.resource.searchParamBackboneElement0..*
CapabilityStatement.rest.resource.searchParam.idstring0..1
CapabilityStatement.rest.resource.searchParam.extensionExtension0..*
CapabilityStatement.rest.resource.searchParam.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.resource.searchParam.modifierExtensionExtension0..*
CapabilityStatement.rest.resource.searchParam.namestring1..1
CapabilityStatement.rest.resource.searchParam.definitionuri0..1
CapabilityStatement.rest.resource.searchParam.typecode1..1
CapabilityStatement.rest.resource.searchParam.documentationstring0..1
CapabilityStatement.rest.interactionBackboneElement0..*
CapabilityStatement.rest.interaction.idstring0..1
CapabilityStatement.rest.interaction.extensionExtension0..*
CapabilityStatement.rest.interaction.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.interaction.modifierExtensionExtension0..*
CapabilityStatement.rest.interaction.codecode1..1
CapabilityStatement.rest.interaction.documentationstring0..1
CapabilityStatement.rest.searchParam0..*
CapabilityStatement.rest.operationBackboneElement0..*
CapabilityStatement.rest.operation.idstring0..1
CapabilityStatement.rest.operation.extensionExtension0..*
CapabilityStatement.rest.operation.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.rest.operation.modifierExtensionExtension0..*
CapabilityStatement.rest.operation.namestring1..1
CapabilityStatement.rest.operation.definitionReference(OperationDefinition)1..1
CapabilityStatement.rest.operation.definition.idstring0..1
CapabilityStatement.rest.operation.definition.extensionExtension0..*
CapabilityStatement.rest.operation.definition.referencestring0..1
CapabilityStatement.rest.operation.definition.identifierIdentifier0..1
CapabilityStatement.rest.operation.definition.displaystring0..1
CapabilityStatement.rest.compartmenturi0..*
CapabilityStatement.messagingBackboneElement0..*
CapabilityStatement.messaging.idstring0..1
CapabilityStatement.messaging.extensionExtension0..*
CapabilityStatement.messaging.modifierExtensionExtension0..*
CapabilityStatement.messaging.endpointBackboneElement0..*
CapabilityStatement.messaging.endpoint.idstring0..1
CapabilityStatement.messaging.endpoint.extensionExtension0..*
CapabilityStatement.messaging.endpoint.modifierExtensionExtension0..*
CapabilityStatement.messaging.endpoint.protocolCoding1..1
CapabilityStatement.messaging.endpoint.protocol.idstring0..1
CapabilityStatement.messaging.endpoint.protocol.extensionExtension0..*
CapabilityStatement.messaging.endpoint.protocol.systemuri0..1
CapabilityStatement.messaging.endpoint.protocol.versionstring0..1
CapabilityStatement.messaging.endpoint.protocol.codecode0..1
CapabilityStatement.messaging.endpoint.protocol.displaystring0..1
CapabilityStatement.messaging.endpoint.protocol.userSelectedboolean0..1
CapabilityStatement.messaging.endpoint.addressuri1..1
CapabilityStatement.messaging.reliableCacheunsignedInt0..1
CapabilityStatement.messaging.documentationstring0..1
CapabilityStatement.messaging.supportedMessageBackboneElement0..*
CapabilityStatement.messaging.supportedMessage.idstring0..1
CapabilityStatement.messaging.supportedMessage.extensionExtension0..*
CapabilityStatement.messaging.supportedMessage.modifierExtensionExtension0..*
CapabilityStatement.messaging.supportedMessage.modecode1..1
CapabilityStatement.messaging.supportedMessage.definitionReference(MessageDefinition)1..1
CapabilityStatement.messaging.supportedMessage.definition.idstring0..1
CapabilityStatement.messaging.supportedMessage.definition.extensionExtension0..*
CapabilityStatement.messaging.supportedMessage.definition.referencestring0..1
CapabilityStatement.messaging.supportedMessage.definition.identifierIdentifier0..1
CapabilityStatement.messaging.supportedMessage.definition.displaystring0..1
CapabilityStatement.messaging.eventBackboneElement0..*
CapabilityStatement.messaging.event.idstring0..1
CapabilityStatement.messaging.event.extensionExtension0..*
CapabilityStatement.messaging.event.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.messaging.event.modifierExtensionExtension0..*
CapabilityStatement.messaging.event.codeCoding1..1
CapabilityStatement.messaging.event.code.idstring0..1
CapabilityStatement.messaging.event.code.extensionExtension0..*
CapabilityStatement.messaging.event.code.systemuri0..1
CapabilityStatement.messaging.event.code.versionstring0..1
CapabilityStatement.messaging.event.code.codecode0..1
CapabilityStatement.messaging.event.code.displaystring0..1
CapabilityStatement.messaging.event.code.userSelectedboolean0..1
CapabilityStatement.messaging.event.categorycode0..1
CapabilityStatement.messaging.event.modecode1..1
CapabilityStatement.messaging.event.focuscode1..1
CapabilityStatement.messaging.event.requestReference(StructureDefinition)1..1
CapabilityStatement.messaging.event.request.idstring0..1
CapabilityStatement.messaging.event.request.extensionExtension0..*
CapabilityStatement.messaging.event.request.referencestring0..1
CapabilityStatement.messaging.event.request.identifierIdentifier0..1
CapabilityStatement.messaging.event.request.displaystring0..1
CapabilityStatement.messaging.event.responseReference(StructureDefinition)1..1
CapabilityStatement.messaging.event.response.idstring0..1
CapabilityStatement.messaging.event.response.extensionExtension0..*
CapabilityStatement.messaging.event.response.referencestring0..1
CapabilityStatement.messaging.event.response.identifierIdentifier0..1
CapabilityStatement.messaging.event.response.displaystring0..1
CapabilityStatement.messaging.event.documentationstring0..1
CapabilityStatement.documentBackboneElement0..*
CapabilityStatement.document.idstring0..1
CapabilityStatement.document.extensionExtension0..*
CapabilityStatement.document.extension:capabilityStatementExpectationExtension0..1
CapabilityStatement.document.modifierExtensionExtension0..*
CapabilityStatement.document.modecode1..1
CapabilityStatement.document.documentationstring0..1
CapabilityStatement.document.profileReference(StructureDefinition)1..1
CapabilityStatement.document.profile.idstring0..1
CapabilityStatement.document.profile.extensionExtension0..*
CapabilityStatement.document.profile.referencestring0..1
CapabilityStatement.document.profile.identifierIdentifier0..1
CapabilityStatement.document.profile.displaystring0..1

XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
<lastUpdated value="2018-01-05T16:50:12.155+00:00" />
</meta>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir" />
</extension>
<url value="https://fhir.nhs.uk/STU3/StructureDefinition/NHSDigital-CapabilityStatement-1" />
<version value="1.0.0" />
<name value="NHSDigital-CapabilityStatement-1" />
<title value="NHSDigital CapabilityStatement" />
<status value="draft" />
<date value="2017-08-22T16:15:45.2519896+01:00" />
<publisher value="NHS Digital" />
<name value="Interoperability Team" />
<system value="email" />
<value value="interoperabilityteam@nhs.net" />
<use value="work" />
</telecom>
</contact>
<description value="NHSDigital-CapabilityStatement-1 requirements profile." />
<copyright value="Copyright © 2017 NHS Digital" />
<fhirVersion value="3.0.1" />
<kind value="resource" />
<abstract value="false" />
<type value="CapabilityStatement" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement" />
<derivation value="constraint" />
<element id="CapabilityStatement">
<path value="CapabilityStatement" />
<short value="A statement of system capabilities" />
<definition value="A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation." />
<min value="1" />
<max value="1" />
<path value="Resource" />
<min value="0" />
<max value="*" />
</base>
<key value="dom-2" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
<expression value="contained.contained.empty()" />
<xpath value="not(parent::f:contained and f:contained)" />
</constraint>
<key value="dom-1" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL NOT contain any narrative" />
<expression value="contained.text.empty()" />
<xpath value="not(parent::f:contained and f:text)" />
</constraint>
<key value="dom-4" />
<severity value="error" />
<human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
<expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
<xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
</constraint>
<key value="dom-3" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" />
<expression value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()" />
<xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" />
</constraint>
<key value="cpb-8" />
<severity value="error" />
<human value="There can only be one REST declaration per mode." />
<expression value="rest.select(mode).isDistinct()" />
<xpath value="count(f:rest)=count(distinct-values(f:rest/f:mode/@value))" />
</constraint>
<key value="cpb-7" />
<severity value="error" />
<human value="The set of documents must be unique by the combination of profile and mode." />
<expression value="document.select(profile.reference&mode).isDistinct()" />
<xpath value="count(f:document[f:mode/@value='producer'])=count(distinct-values(f:document[f:mode/@value='producer']/f:profile/f:reference/@value)) and count(f:document[f:mode/@value='consumer'])=count(distinct-values(f:document[f:mode/@value='consumer']/f:profile/f:reference/@value))" />
</constraint>
<key value="cpb-15" />
<severity value="error" />
<human value="Capability Statements of kind 'instance' do not have implementation elements." />
<expression value="implementation.empty() or kind != 'capability'" />
<xpath value="not(exists(f:implementation)) or (f:kind/@value != 'capability')" />
</constraint>
<key value="cpb-3" />
<severity value="error" />
<human value="Messaging end-point is required (and is only permitted) when a statement is for an implementation." />
<expression value="messaging.endpoint.empty() or kind = 'instance'" />
<xpath value="not(exists(f:messaging/f:endpoint)) or f:kind/@value = 'instance'" />
</constraint>
<key value="cpb-14" />
<severity value="error" />
<human value="Capability Statements of kind 'requirements' do not have software or implementation elements." />
<expression value="(software.empty() and implementation.empty()) or kind != 'requirements'" />
<xpath value="not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != 'requirements')" />
</constraint>
<key value="cpb-2" />
<severity value="error" />
<human value="A Capability Statement SHALL have at least one of description, software, or implementation element." />
<expression value="(description.count() + software.count() + implementation.count()) > 0" />
<xpath value="count(f:software | f:implementation | f:description) > 0" />
</constraint>
<key value="cpb-1" />
<severity value="error" />
<human value="A Capability Statement SHALL have at least one of REST, messaging or document element." />
<expression value="rest.exists() or messaging.exists() or document.exists()" />
<xpath value="exists(f:rest) or exists(f:messaging) or exists(f:document)" />
</constraint>
<identity value="rim" />
<map value="Entity. Role, or Act" />
</mapping>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="conformance.behavior" />
</mapping>
</element>
<element id="CapabilityStatement.id">
<path value="CapabilityStatement.id" />
<short value="Logical id of this artifact" />
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
<comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
<min value="0" />
<max value="1" />
<path value="Resource.id" />
<min value="0" />
<max value="1" />
</base>
<code value="id" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.meta">
<path value="CapabilityStatement.meta" />
<short value="Metadata about the resource" />
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." />
<min value="0" />
<max value="1" />
<path value="Resource.meta" />
<min value="0" />
<max value="1" />
</base>
<code value="Meta" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.implicitRules">
<path value="CapabilityStatement.implicitRules" />
<short value="A set of rules under which this content was created" />
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." />
<comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." />
<min value="0" />
<max value="1" />
<path value="Resource.implicitRules" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.language">
<path value="CapabilityStatement.language" />
<short value="Language of the resource content" />
<definition value="The base language in which the resource is written." />
<comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
<min value="0" />
<max value="1" />
<path value="Resource.language" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
<reference value="http://hl7.org/fhir/ValueSet/all-languages" />
</valueReference>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Language" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="extensible" />
<description value="A human language." />
<reference value="http://hl7.org/fhir/ValueSet/languages" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.text">
<path value="CapabilityStatement.text" />
<short value="Text summary of the resource, for human interpretation" />
<definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
<comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later." />
<alias value="narrative" />
<alias value="html" />
<alias value="xhtml" />
<alias value="display" />
<min value="0" />
<max value="1" />
<path value="DomainResource.text" />
<min value="0" />
<max value="1" />
</base>
<code value="Narrative" />
</type>
<condition value="ele-1" />
<condition value="dom-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="Act.text?" />
</mapping>
</element>
<element id="CapabilityStatement.contained">
<path value="CapabilityStatement.contained" />
<short value="Contained, inline Resources" />
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
<comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." />
<alias value="inline resources" />
<alias value="anonymous resources" />
<alias value="contained resources" />
<min value="0" />
<max value="*" />
<path value="DomainResource.contained" />
<min value="0" />
<max value="*" />
</base>
<code value="Resource" />
</type>
<identity value="rim" />
<map value="Entity. Role, or Act" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.extension">
<path value="CapabilityStatement.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.modifierExtension">
<path value="CapabilityStatement.modifierExtension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.url">
<path value="CapabilityStatement.url" />
<short value="Logical URI to reference this capability statement (globally unique)" />
<definition value="An absolute URI that is used to identify this capability statement when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this capability statement is (or will be) published. The URL SHOULD include the major version of the capability statement. For more information see [Technical and Business Versions](resource.html#versions)." />
<comment value="This version of the profile requires a URL element.\n\nFHIR-CONF-01: All FHIR ReST endpoints MUST publish their conformance\n\nFHIR-VER-02: HL7 FHIR version in FHIR Endpoint URL\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nCapability statements of kind 'requirements' example:\nhttps://fhir.nhs.uk/STU3/CapabilityStatement/ODSAPI-CapabilityStatement-1\n\nCapability statements of kind 'instance' example [TBC]:\nhttps://directory.spineservices.nhs.uk /STU3/SpineDirectory-CapabilityStatement-1" />
<requirements value="Allows the capability statement to be referenced by a single globally unique identifier." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.url" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="id" />
</mapping>
</element>
<element id="CapabilityStatement.version">
<path value="CapabilityStatement.version" />
<short value="Business version of the capability statement" />
<definition value="The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." />
<comment value="Capability statements of kind 'requirements' MUST support the version element.\n\nFHIR-VER-05: Minor and Patch Profile Version will use FHIR versioning\n\nThe version element within the resource will contain the full semantic version of the resource, and will look like this:\n<version value=”1.1.3”/>\n\n\nThere may be different capability statement instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the capability statement with the format [url]|[version]." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="id.version" />
</mapping>
</element>
<element id="CapabilityStatement.name">
<path value="CapabilityStatement.name" />
<short value="Name for this capability statement (computer friendly)" />
<definition value="A natural language name identifying the capability statement. This name should be usable as an identifier for the module by machine processing applications such as code generation." />
<comment value="This version of the profile requires a name element.\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nNational NHS Digital capability statements MUST support the NHS Digital agreed pattern. \nRefer to: \n\n• NHS-Digital-FHIR-Artefact-Naming.docx\n\n\nThe name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly." />
<requirements value="Support human navigation and code generation." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.name" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.title">
<path value="CapabilityStatement.title" />
<short value="Name for this capability statement (human friendly)" />
<definition value="A short, descriptive, user-friendly title for the capability statement." />
<comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.title" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.status">
<path value="CapabilityStatement.status" />
<short value="draft | active | retired | unknown" />
<definition value="The status of this capability statement. Enables tracking the life-cycle of the content." />
<comment value="For all under development CapabilityStatement profiles the status MUST be 'draft'.\n\nNB: This is not intended for use with actual conformance statements (instances)\n\nAllows filtering of capability statements that are appropriate for use vs. not. \nThis is labeled as "Is Modifier" because applications should not use a retired capability statement without due consideration. This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.status" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="PublicationStatus" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The lifecycle status of a Value Set or Concept Map." />
<reference value="http://hl7.org/fhir/ValueSet/publication-status" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="status" />
</mapping>
</element>
<element id="CapabilityStatement.experimental">
<path value="CapabilityStatement.experimental" />
<short value="For testing purposes, not real usage" />
<definition value="A boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage." />
<comment value="Allows filtering of capability statement that are appropriate for use vs. not. This is labeled as "Is Modifier" because applications should not use an experimental capability statement in production." />
<requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level capability statement." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.experimental" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="class" />
</mapping>
</element>
<element id="CapabilityStatement.date">
<path value="CapabilityStatement.date" />
<short value="Date this was last changed" />
<definition value="The date (and optionally time) when the capability statement was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the capability statement changes." />
<comment value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the capability statement. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." />
<alias value="Revision Date" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.date" />
<min value="1" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="when.recorded" />
</mapping>
</element>
<element id="CapabilityStatement.publisher">
<path value="CapabilityStatement.publisher" />
<short value="Name of the publisher (organization or individual)" />
<definition value="The name of the individual or organization that published the capability statement." />
<comment value="This version of the profile requires a publisher element.\n\nNational Spine REST API capability statements of kind ‘requirements’ and server ‘instances’ MUST populate this element with ‘NHS Digital’.\n\nMUST be populated with the name of the individual or organization that published the capability statement.\n\nUsually an organization, but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the capability statement. This item SHOULD be populated unless the information is available from context." />
<requirements value="Helps establish the "authority/credibility" of the capability statement. May also allow for contact." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.publisher" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<fixedString value="NHS Digital" />
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="w5" />
<map value="who.witness" />
</mapping>
</element>
<element id="CapabilityStatement.contact">
<path value="CapabilityStatement.contact" />
<short value="Contact details for the publisher" />
<definition value="Contact details to assist a user in finding and communicating with the publisher." />
<comment value="This version of the profile requires a contact details element.\n\nMUST be populated with contacts to assist a user in finding and communicating with the publisher.\n\nMay be a web site, an email address, a telephone number, etc." />
<min value="1" />
<max value="*" />
<path value="CapabilityStatement.contact" />
<min value="0" />
<max value="*" />
</base>
<code value="ContactDetail" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.id">
<path value="CapabilityStatement.contact.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.extension">
<path value="CapabilityStatement.contact.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.contact.name">
<path value="CapabilityStatement.contact.name" />
<short value="Name of an individual to contact" />
<definition value="The name of an individual to contact." />
<comment value="This version of the profile requires a contact name element.\n\nNational capability statements of kind ‘requirements’ MUST populate this element with ‘Interoperability Team’.\n\nCapability statements of kind ‘instance’ SHOULD populate this element with relevant service desk details." />
<min value="1" />
<max value="1" />
<path value="ContactDetail.name" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom">
<path value="CapabilityStatement.contact.telecom" />
<short value="Contact details for individual or organization" />
<definition value="The contact details for the individual (if a name was provided) or the organization." />
<comment value="This version of the profile requires at least one telecom element.\n\nCapability statements of kind 'requirements' MUST populate the telecom child elements as follows:\nSystem: email\nValue: interoperabilityteam@nhs.net\nUse: work\n\nCapability statements of kind 'instance' MUST populate the telecom child elements with relevant service desk contact details." />
<min value="1" />
<max value="*" />
<path value="ContactDetail.telecom" />
<min value="0" />
<max value="*" />
</base>
<code value="ContactPoint" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="cpt-2" />
<severity value="error" />
<human value="A system is required if a value is provided." />
<expression value="value.empty() or system.exists()" />
<xpath value="not(exists(f:value)) or exists(f:system)" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="XTN" />
</mapping>
<identity value="rim" />
<map value="TEL" />
</mapping>
<identity value="servd" />
<map value="ContactPoint" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.id">
<path value="CapabilityStatement.contact.telecom.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.extension">
<path value="CapabilityStatement.contact.telecom.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.system">
<path value="CapabilityStatement.contact.telecom.system" />
<short value="phone | fax | email | pager | url | sms | other" />
<definition value="Telecommunications form for contact point - what communications system is required to make use of the contact." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="ContactPoint.system" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<condition value="cpt-2" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ContactPointSystem" />
</extension>
<strength value="required" />
<description value="Telecommunications form for contact point" />
<reference value="http://hl7.org/fhir/ValueSet/contact-point-system" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="XTN.3" />
</mapping>
<identity value="rim" />
<map value="./scheme" />
</mapping>
<identity value="servd" />
<map value="./ContactPointType" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.value">
<path value="CapabilityStatement.contact.telecom.value" />
<short value="The actual contact point details" />
<definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." />
<comment value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." />
<requirements value="Need to support legacy numbers that are not in a tightly controlled format." />
<min value="0" />
<max value="1" />
<path value="ContactPoint.value" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="XTN.1 (or XTN.12)" />
</mapping>
<identity value="rim" />
<map value="./url" />
</mapping>
<identity value="servd" />
<map value="./Value" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.use">
<path value="CapabilityStatement.contact.telecom.use" />
<short value="home | work | temp | old | mobile - purpose of this contact point" />
<definition value="Identifies the purpose for the contact point." />
<comment value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old." />
<requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." />
<min value="0" />
<max value="1" />
<path value="ContactPoint.use" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ContactPointUse" />
</extension>
<strength value="required" />
<description value="Use of contact point" />
<reference value="http://hl7.org/fhir/ValueSet/contact-point-use" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="XTN.2 - but often indicated by field" />
</mapping>
<identity value="rim" />
<map value="unique(./use)" />
</mapping>
<identity value="servd" />
<map value="./ContactPointPurpose" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.rank">
<path value="CapabilityStatement.contact.telecom.rank" />
<short value="Specify preferred order of use (1 = highest)" />
<definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values." />
<comment value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance." />
<min value="0" />
<max value="1" />
<path value="ContactPoint.rank" />
<min value="0" />
<max value="1" />
</base>
<code value="positiveInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.period">
<path value="CapabilityStatement.contact.telecom.period" />
<short value="Time period when the contact point was/is in use" />
<definition value="Time period when the contact point was/is in use." />
<comment value="This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If duration is required, specify the type as Interval|Duration." />
<min value="0" />
<max value="1" />
<path value="ContactPoint.period" />
<min value="0" />
<max value="1" />
</base>
<code value="Period" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="per-1" />
<severity value="error" />
<human value="If present, start SHALL have a lower value than end" />
<expression value="start.empty() or end.empty() or (start <= end)" />
<xpath value="not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="DR" />
</mapping>
<identity value="rim" />
<map value="IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
<identity value="rim" />
<map value="./usablePeriod[type="IVL<TS>"]" />
</mapping>
<identity value="servd" />
<map value="./StartDate and ./EndDate" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.period.id">
<path value="CapabilityStatement.contact.telecom.period.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.period.extension">
<path value="CapabilityStatement.contact.telecom.period.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.period.start">
<path value="CapabilityStatement.contact.telecom.period.start" />
<short value="Starting time with inclusive boundary" />
<definition value="The start of the period. The boundary is inclusive." />
<comment value="If the low element is missing, the meaning is that the low boundary is not known." />
<min value="0" />
<max value="1" />
<path value="Period.start" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="DR.1" />
</mapping>
<identity value="rim" />
<map value="./low" />
</mapping>
</element>
<element id="CapabilityStatement.contact.telecom.period.end">
<path value="CapabilityStatement.contact.telecom.period.end" />
<short value="End time with inclusive boundary, if not ongoing" />
<definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time." />
<comment value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03." />
<min value="0" />
<max value="1" />
<path value="Period.end" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing" />
<condition value="ele-1" />
<condition value="per-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="DR.2" />
</mapping>
<identity value="rim" />
<map value="./high" />
</mapping>
</element>
<element id="CapabilityStatement.description">
<path value="CapabilityStatement.description" />
<short value="Natural language description of the capability statement" />
<definition value="A free text natural language description of the capability statement from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP." />
<comment value="Capability statements of kind ‘requirements’ MUST support the description element. \n\nThe description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication.\n\nThis description can be used to capture details such as why the capability statement was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the capability statement as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created). This does not need to be populated if the description is adequately implied by the software or implementation details.\n\nNHS Digital Business Rules:\nConformance statements of kind 'requirements' MUST support the description element. The description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.description" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<condition value="ele-1" />
<condition value="cpb-2" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.useContext">
<path value="CapabilityStatement.useContext" />
<short value="Context the content is intended to support" />
<definition value="The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate capability statement instances." />
<comment value="NHS Digital Business Rules:\n\nMAY be populated with content developed with a focus and intent of supporting the contexts that are listed.\n\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply." />
<requirements value="Assist in searching for appropriate content." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.useContext" />
<min value="0" />
<max value="*" />
</base>
<code value="UsageContext" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.id">
<path value="CapabilityStatement.useContext.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.extension">
<path value="CapabilityStatement.useContext.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code">
<path value="CapabilityStatement.useContext.code" />
<short value="Type of context being specified" />
<definition value="A code that identifies the type of context being specified by this usage context." />
<comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information." />
<min value="1" />
<max value="1" />
<path value="UsageContext.code" />
<min value="1" />
<max value="1" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="UsageContextType" />
</extension>
<strength value="extensible" />
<description value="A code that specifies a type of context being specified by a usage context" />
<reference value="http://hl7.org/fhir/ValueSet/usage-context-type" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.id">
<path value="CapabilityStatement.useContext.code.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.extension">
<path value="CapabilityStatement.useContext.code.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.system">
<path value="CapabilityStatement.useContext.code.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.version">
<path value="CapabilityStatement.useContext.code.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.code">
<path value="CapabilityStatement.useContext.code.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.useContext.code.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.code.userSelected">
<path value="CapabilityStatement.useContext.code.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="CapabilityStatement.useContext.value[x]">
<path value="CapabilityStatement.useContext.value[x]" />
<short value="Value that defines the context" />
<definition value="A value that defines the context specified in this context of use. The interpretation of the value is defined by the code." />
<comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
<min value="1" />
<max value="1" />
<path value="UsageContext.value[x]" />
<min value="1" />
<max value="1" />
</base>
<code value="CodeableConcept" />
</type>
<code value="Quantity" />
</type>
<code value="Range" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="UsageContextValue" />
</extension>
<strength value="example" />
<description value="A code that defines the specific value for the context being specified" />
<reference value="http://hl7.org/fhir/ValueSet/use-context" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction">
<path value="CapabilityStatement.jurisdiction" />
<short value="Intended jurisdiction for capability statement (if applicable)" />
<definition value="A legal or geographic region in which the capability statement is intended to be used." />
<comment value="NHS Digital Business Rules:\n\nRestricted out for now. \n\nIt may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.jurisdiction" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Jurisdiction" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="extensible" />
<description value="Countries and regions within which this artifact is targeted for use" />
<reference value="http://hl7.org/fhir/ValueSet/jurisdiction" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.id">
<path value="CapabilityStatement.jurisdiction.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.extension">
<path value="CapabilityStatement.jurisdiction.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding">
<path value="CapabilityStatement.jurisdiction.coding" />
<short value="Code defined by a terminology system" />
<definition value="A reference to a code defined by a terminology system." />
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.id">
<path value="CapabilityStatement.jurisdiction.coding.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.extension">
<path value="CapabilityStatement.jurisdiction.coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.system">
<path value="CapabilityStatement.jurisdiction.coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.version">
<path value="CapabilityStatement.jurisdiction.coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.code">
<path value="CapabilityStatement.jurisdiction.coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.jurisdiction.coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.coding.userSelected">
<path value="CapabilityStatement.jurisdiction.coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="CapabilityStatement.jurisdiction.text">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.jurisdiction.text" />
<short value="Plain text representation of the concept" />
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
<comment value="Very often the text is the same as a displayName of one of the codings." />
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.9. But note many systems use C*E.2 for this" />
</mapping>
<identity value="rim" />
<map value="./originalText[mediaType/code="text/plain"]/data" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
</mapping>
</element>
<element id="CapabilityStatement.purpose">
<path value="CapabilityStatement.purpose" />
<short value="Why this capability statement is defined" />
<definition value="Explaination of why this capability statement is needed and why it has been designed as it has." />
<comment value="This element does not describe the usage of the capability statement Instead it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this capability statement." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.purpose" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="objimpl" />
<map value="no-gen-base" />
</mapping>
<identity value="w5" />
<map value="why" />
</mapping>
</element>
<element id="CapabilityStatement.copyright">
<path value="CapabilityStatement.copyright" />
<short value="Use and/or publishing restrictions" />
<definition value="A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement." />
<comment value="All NHS Digital national REST API Capability statements of kind ‘requirements’ and server 'instances' MUST support the copyright element. \n\nExample:\nCopyright © 2017 NHS Digital.\n\n\n\n\nSystems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)" />
<requirements value="Consumers must be able to determine any legal restrictions on the use of the capability statement and/or its content." />
<alias value="License" />
<alias value="Restrictions" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.copyright" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="objimpl" />
<map value="no-gen-base" />
</mapping>
</element>
<element id="CapabilityStatement.kind">
<path value="CapabilityStatement.kind" />
<short value="instance | capability | requirements" />
<definition value="The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase)." />
<comment value="The 'requirements' code MUST be used for all capability statements profiles defined by national API IGs - it sets out what systems should do rather than what a particular system does do.\n\nA server implementation MUST use the code ‘instance’. It describes what a particular system does do.\n\n\nThe 'instance' code MUST be used when a capability statement describes the capabilities of a deployed and configured solution available at a particular access point or set of access points. The statement describes exactly how to interface with that deployed solution and thus provides for a degree of self-configuration of software solutions. \n\nThe capabilities of a deployed 'instance' can be conformance tested against the expected capabilities of a national API 'requirements' IG.\n\nNote that FHIR strings may not exceed 1MB in size" />
<requirements value="Allow searching the 3 modes." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.kind" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="CapabilityStatementKind" />
</extension>
<strength value="required" />
<description value="How a capability statement is intended to be used." />
<reference value="http://hl7.org/fhir/ValueSet/capability-statement-kind" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.instantiates">
<path value="CapabilityStatement.instantiates" />
<short value="Canonical URL of another capability statement this implements" />
<definition value="Reference to a canonical URL of another CapabilityStatement that this software implements or uses. This capability statement is a published API description that corresponds to a business service. The rest of the capability statement does not need to repeat the details of the referenced resource, but can do so." />
<comment value="A server 'instance' of a national Capability Statement MUST reference the ‘requirements’ CapabilityStatement. [TBC]\n\n\nHL7 defines the following Services: [Terminology Service](terminology-service.html).\n\nMany [Implementation Guides](http://fhir.org/guides/registry) define additional services." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.instantiates" />
<min value="0" />
<max value="*" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.software">
<path value="CapabilityStatement.software" />
<short value="Software that is covered by this capability statement" />
<definition value="Software that is covered by this capability statement. It is used when the capability statement describes the capabilities of a particular software version, independent of an installation." />
<comment value="cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.software" />
<min value="0" />
<max value="1" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<condition value="cpb-2" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.software.id">
<path value="CapabilityStatement.software.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.software.extension">
<path value="CapabilityStatement.software.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.software.modifierExtension">
<path value="CapabilityStatement.software.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.software.name">
<path value="CapabilityStatement.software.name" />
<short value="A name the software is known by" />
<definition value="Name software is known by." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.software.name" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.software.version">
<path value="CapabilityStatement.software.version" />
<short value="Version covered by this statement" />
<definition value="The version identifier for the software covered by this statement." />
<comment value="If possible, a version should be specified, as statements are likely to be different for different versions of software." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.software.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.software.releaseDate">
<path value="CapabilityStatement.software.releaseDate" />
<short value="Date this version released" />
<definition value="Date this version of the software was released." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.software.releaseDate" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.implementation">
<path value="CapabilityStatement.implementation" />
<short value="If this describes a specific instance" />
<definition value="Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program." />
<comment value="cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.implementation" />
<min value="0" />
<max value="1" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<condition value="cpb-2" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.implementation.id">
<path value="CapabilityStatement.implementation.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.implementation.extension">
<path value="CapabilityStatement.implementation.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.implementation.modifierExtension">
<path value="CapabilityStatement.implementation.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.implementation.description">
<path value="CapabilityStatement.implementation.description" />
<short value="Describes this specific instance" />
<definition value="Information about the specific installation that this capability statement relates to." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.implementation.description" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.implementation.url">
<path value="CapabilityStatement.implementation.url" />
<short value="Base URL for the installation" />
<definition value="An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces." />
<comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.implementation.url" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.fhirVersion">
<path value="CapabilityStatement.fhirVersion" />
<short value="FHIR Version the system uses" />
<definition value="The version of the FHIR specification on which this capability statement is based." />
<comment value="STU3 CapabilityStatements resources MUST support "3.0.1".\n\nRFC 4122" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.fhirVersion" />
<min value="1" />
<max value="1" />
</base>
<code value="id" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.acceptUnknown">
<path value="CapabilityStatement.acceptUnknown" />
<short value="no | extensions | elements | both" />
<definition value="A code that indicates whether the application accepts unknown elements or extensions when reading resources." />
<comment value="Both national 'requirements' profiles and server 'instance' profiles MUST use the code ‘no’.\n\n\n\nUnknown elements in a resource can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence accepting unknown elements is about inter-version compatibility.\n\nApplications are recommended to accept unknown extensions and elements ('both'), but this is not always possible." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.acceptUnknown" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="UnknownContentCode" />
</extension>
<strength value="required" />
<description value="A code that indicates whether an application accepts unknown elements or extensions when reading resources." />
<reference value="http://hl7.org/fhir/ValueSet/unknown-content-code" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.format">
<path value="CapabilityStatement.format" />
<short value="formats supported (xml | json | ttl | mime type)" />
<definition value="A list of the formats supported by this implementation using their content types." />
<comment value="National REST APIs MUST support one of JSON, XML or both formats. \n\nThis element MUST be populated to meet this requirement.\n\nSpine mime-type conformance:\n• Spine SHALL support the formal mime-type for STU3 XML + JSON FHIR resources: ‘application/fhir+xml’ or ‘application/fhir+json’\n• Spine MAY support the the formal mime-types for DSTU2 XML +JSON FHIR resources: ‘application/xml+fhir’ or ‘application/json+fhir’\n• Spine MAY support generic mime-types e.g. ‘text/html’, ‘xml’, ‘text/xml’, ‘application/xml’, ‘json’ and ‘application/json’\nSpine SHOULD support the FHIR STU3 implementation note: https://www.hl7.org/fhir/http.html#mime-type\n\n"xml", "json" and "ttl" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here." />
<min value="1" />
<max value="*" />
<path value="CapabilityStatement.format" />
<min value="1" />
<max value="*" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MimeType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The mime type of an attachment. Any valid mime type is allowed." />
<valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.patchFormat">
<path value="CapabilityStatement.patchFormat" />
<short value="Patch formats supported" />
<definition value="A list of the patch formats supported by this implementation using their content types." />
<comment value="NHS Digital Business Rules:\n\nNational REST APIs MAY support the patch operation.\n\nAt present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats and match the formats it supports, but this is not always possible or necessary." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.patchFormat" />
<min value="0" />
<max value="*" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MimeType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The mime type of an attachment. Any valid mime type is allowed." />
<valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.implementationGuide">
<path value="CapabilityStatement.implementationGuide" />
<short value="Implementation guides supported" />
<definition value="A list of implementation guides that the server does (or should) support in their entirety." />
<comment value="A national 'requirements' profile MUST link to the NHS Developer site for FINAL releases of national API IG specifications.\n\nA server 'instance' MUST list the implementation guides that the server does (or should) support in their entirety.\n\n\n\n\n\nsee http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.implementationGuide" />
<min value="0" />
<max value="*" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.profile">
<path value="CapabilityStatement.profile" />
<short value="Profiles for use cases supported" />
<definition value="A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles](profiling.html#profile-uses)." />
<comment value="A national 'requirements' profile MAY specify a list of profiles that represent different use cases that are required to be supported by a system.\n\nA server 'instance' MAY list all profiles that represent different use cases that are required to be supported by a system.\n\nSupported profiles are different than the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile). Typically, supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However, they do not need to describe more than one resource." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.profile" />
<min value="0" />
<max value="*" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.profile.id">
<path value="CapabilityStatement.profile.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.profile.extension">
<path value="CapabilityStatement.profile.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.profile.extension:profileLink">
<path value="CapabilityStatement.profile.extension" />
<sliceName value="profileLink" />
<short value="Profile link" />
<definition value="Optional Extension Element - found in all resources." />
<comment value="NHS Digital Business Rules:\n\nThe ‘nhsdigital-profile-link-1’ extension in the STU3 CapabilityStatement resource links profiles to the resources they are based upon for the purpose of ‘describing’ profile specific capabilties such as specific search criteria or operations which are supported on a profile by profile bases. \n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-NHSDigital-ProfileLink-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.profile.reference">
<path value="CapabilityStatement.profile.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.profile.identifier">
<path value="CapabilityStatement.profile.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.profile.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.profile.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest">
<path value="CapabilityStatement.rest" />
<short value="If the endpoint is a RESTful one" />
<definition value="A definition of the restful capabilities of the solution, if any." />
<comment value="Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).\n\nMUST be supported for all national Spine RESTful APIs" />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<condition value="cpb-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="cpb-9" />
<severity value="error" />
<human value="A given resource can only be described once per RESTful mode." />
<expression value="resource.select(type).isDistinct()" />
<xpath value="count(f:resource)=count(distinct-values(f:resource/f:type/@value))" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.id">
<path value="CapabilityStatement.rest.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.extension">
<path value="CapabilityStatement.rest.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.modifierExtension">
<path value="CapabilityStatement.rest.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.mode">
<path value="CapabilityStatement.rest.mode" />
<short value="client | server" />
<definition value="Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations." />
<comment value="This version of the profile MUST support 'server' mode. \n\nThe Client mode is out of scope for this version of the profile.\n\n\n\n\nNote that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.mode" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="RestfulCapabilityMode" />
</extension>
<strength value="required" />
<description value="The mode of a RESTful capability statement." />
<reference value="http://hl7.org/fhir/ValueSet/restful-capability-mode" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.documentation">
<path value="CapabilityStatement.rest.documentation" />
<short value="General description of implementation" />
<definition value="Information about the system's restful capabilities that apply across all applications, such as security." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security">
<path value="CapabilityStatement.rest.security" />
<short value="Information about security of implementation" />
<definition value="Information about security implementation from an interface perspective - what a client needs to know." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.security" />
<min value="0" />
<max value="1" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.id">
<path value="CapabilityStatement.rest.security.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.extension">
<path value="CapabilityStatement.rest.security.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.modifierExtension">
<path value="CapabilityStatement.rest.security.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.cors">
<path value="CapabilityStatement.rest.security.cors" />
<short value="Adds CORS Headers (http://enable-cors.org/)" />
<definition value="Server adds CORS headers when responding to requests - this enables javascript applications to use the server." />
<comment value="This version of the profile MUST support 'cors' Boolean element. \n\nAll National API FHIR servers SHOULD support CORS. \n\nCORS support is highly recommended - mandatory if using SMART on FHIR.\n\n\nThe easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.security.cors" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service">
<path value="CapabilityStatement.rest.security.service" />
<short value="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates" />
<definition value="Types of security services that are supported/required by the system." />
<comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.security.service" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="RestfulSecurityService" />
</extension>
<strength value="extensible" />
<description value="Types of security services used with FHIR." />
<reference value="http://hl7.org/fhir/ValueSet/restful-security-service" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE" />
</mapping>
<identity value="rim" />
<map value="CD" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.id">
<path value="CapabilityStatement.rest.security.service.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.extension">
<path value="CapabilityStatement.rest.security.service.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding">
<path value="CapabilityStatement.rest.security.service.coding" />
<short value="Code defined by a terminology system" />
<definition value="A reference to a code defined by a terminology system." />
<comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
<requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings." />
<min value="0" />
<max value="*" />
<path value="CodeableConcept.coding" />
<min value="0" />
<max value="*" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
<identity value="v2" />
<map value="C*E.1-8, C*E.10-22" />
</mapping>
<identity value="rim" />
<map value="union(., ./translation)" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.id">
<path value="CapabilityStatement.rest.security.service.coding.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.extension">
<path value="CapabilityStatement.rest.security.service.coding.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.system">
<path value="CapabilityStatement.rest.security.service.coding.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.version">
<path value="CapabilityStatement.rest.security.service.coding.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.code">
<path value="CapabilityStatement.rest.security.service.coding.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.rest.security.service.coding.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.coding.userSelected">
<path value="CapabilityStatement.rest.security.service.coding.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.service.text">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.rest.security.service.text" />
<short value="Plain text representation of the concept" />
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
<comment value="Very often the text is the same as a displayName of one of the codings." />
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
<min value="0" />
<max value="1" />
<path value="CodeableConcept.text" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.9. But note many systems use C*E.2 for this" />
</mapping>
<identity value="rim" />
<map value="./originalText[mediaType/code="text/plain"]/data" />
</mapping>
<identity value="orim" />
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.description">
<path value="CapabilityStatement.rest.security.description" />
<short value="General description of how security works" />
<definition value="General description of how security works." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.security.description" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate">
<path value="CapabilityStatement.rest.security.certificate" />
<short value="Certificates associated with security profiles" />
<definition value="Certificates associated with security profiles." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.security.certificate" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate.id">
<path value="CapabilityStatement.rest.security.certificate.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate.extension">
<path value="CapabilityStatement.rest.security.certificate.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate.modifierExtension">
<path value="CapabilityStatement.rest.security.certificate.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate.type">
<path value="CapabilityStatement.rest.security.certificate.type" />
<short value="Mime type for certificates" />
<definition value="Mime type for a certificate." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.security.certificate.type" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MimeType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The mime type of an attachment. Any valid mime type is allowed." />
<valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.security.certificate.blob">
<path value="CapabilityStatement.rest.security.certificate.blob" />
<short value="Actual certificate" />
<definition value="Actual certificate." />
<comment value="A stream of bytes, base64 encoded" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.security.certificate.blob" />
<min value="0" />
<max value="1" />
</base>
<code value="base64Binary" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource">
<path value="CapabilityStatement.rest.resource" />
<short value="Resource served on the REST interface" />
<definition value="A specification of the restful capabilities of the solution for a specific resource type." />
<comment value="A national 'requirements' profile MUST specify the restful capabilities of the solution for a specific resource type.\n\nA server 'instance' MUST support all resources served on the REST interface.\n\n\nMax of one repetition per resource type." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.resource" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="cpb-12" />
<severity value="error" />
<human value="Search parameter names must be unique in the context of a resource." />
<expression value="searchParam.select(name).isDistinct()" />
<xpath value="count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.id">
<path value="CapabilityStatement.rest.resource.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.extension">
<path value="CapabilityStatement.rest.resource.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.extension:capabilitystatement-search-parameter-combination">
<path value="CapabilityStatement.rest.resource.extension" />
<sliceName value="capabilitystatement-search-parameter-combination" />
<short value="An allowable parameter combination" />
<definition value="A container for a single allowable parameter combination." />
<comment value="NHS Digital Business Rules:\n\nCapabilityStatement resource search combinations must be specified using the HL7 maintained ‘capabilityStatement -search-parameter-combination’ common extension which is a container for a single allowable parameter combination.\n\nThe extension supports required and optional parameter combinations.\n\nIf a search combination is specified, clients should expect that they must submit that required combination or the search will be unsuccesful. \n\nIf multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.modifierExtension">
<path value="CapabilityStatement.rest.resource.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.type">
<path value="CapabilityStatement.rest.resource.type" />
<short value="A resource type that is supported" />
<definition value="A type of resource exposed via the restful interface." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.type" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ResourceType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="One of the resource types defined as part of FHIR." />
<reference value="http://hl7.org/fhir/ValueSet/resource-types" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile">
<path value="CapabilityStatement.rest.resource.profile" />
<short value="Base System profile for all uses of resource" />
<definition value="A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles](profiling.html#profile-uses)." />
<comment value="A national 'requirements' profile MUST specify the profile that describes the solution's overall support for the resource.\n\nA server 'instance' MUST support the profile that describes the solution's overall support for the resource.\n\n\nThe profile applies to all resources of this type - i.e. it is the superset of what is supported by the system." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.profile" />
<min value="0" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile.id">
<path value="CapabilityStatement.rest.resource.profile.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile.extension">
<path value="CapabilityStatement.rest.resource.profile.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile.reference">
<path value="CapabilityStatement.rest.resource.profile.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile.identifier">
<path value="CapabilityStatement.rest.resource.profile.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.profile.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.rest.resource.profile.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.documentation">
<path value="CapabilityStatement.rest.resource.documentation" />
<short value="Additional information about the use of the resource type" />
<definition value="Additional information about the resource type used by the system." />
<comment value="Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
<valueString value="ResourceInteraction" />
</extension>
<path value="CapabilityStatement.rest.resource.interaction" />
<short value="What operations are supported?" />
<definition value="Identifies a restful operation supported by the solution." />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile that SHOULD NOT specify restful operations supported by the solution." />
<min value="1" />
<max value="*" />
<path value="CapabilityStatement.rest.resource.interaction" />
<min value="1" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.id">
<path value="CapabilityStatement.rest.resource.interaction.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.extension">
<path value="CapabilityStatement.rest.resource.interaction.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.interaction.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.modifierExtension">
<path value="CapabilityStatement.rest.resource.interaction.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.code">
<path value="CapabilityStatement.rest.resource.interaction.code" />
<short value="read | vread | update | patch | delete | history-instance | history-type | create | search-type" />
<definition value="Coded identifier of the operation, supported by the system resource." />
<comment value="A national 'requirements' profile MUST specify coded identifiers of the interaction codes supported by the national system.\n\nA server 'instance' MUST support coded identifiers of the interaction codes supported by the national system." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.interaction.code" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="TypeRestfulInteraction" />
</extension>
<strength value="required" />
<description value="Operations supported by REST at the type or instance level." />
<reference value="http://hl7.org/fhir/ValueSet/type-restful-interaction" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.interaction.documentation">
<path value="CapabilityStatement.rest.resource.interaction.documentation" />
<short value="Anything special about operation behavior" />
<definition value="Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="REST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.interaction.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.versioning">
<path value="CapabilityStatement.rest.resource.versioning" />
<short value="no-version | versioned | versioned-update" />
<definition value="This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support versioning for a resource type.\nIf the capability statement does not explicitly support this field the default code = ‘no-version’. This indicates that the server does not support versioning for a resource type.\n\n\n\n\nIf a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.versioning" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ResourceVersionPolicy" />
</extension>
<strength value="required" />
<description value="How the system supports versioning for a resource." />
<reference value="http://hl7.org/fhir/ValueSet/versioning-policy" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.readHistory">
<path value="CapabilityStatement.rest.resource.readHistory" />
<short value="Whether vRead can return past versions" />
<definition value="A flag for whether the server is able to return past versions as part of the vRead operation." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support returning past versions of a resource as part of the vRead operation.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server is NOT able to return past versions of the resource as part of the vRead operation. \n\n\nIt is useful to support the vRead operation for current operations, even if past versions aren't available." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.readHistory" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.updateCreate">
<path value="CapabilityStatement.rest.resource.updateCreate" />
<short value="If update can commit to a new identity" />
<definition value="A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY allow clients to create new identities on the server using the updateCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT allow clients to create new identities on the server.\n\n\n\nAllowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.updateCreate" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.conditionalCreate">
<path value="CapabilityStatement.rest.resource.conditionalCreate" />
<short value="If allows/uses conditional create" />
<definition value="A flag that indicates that the server supports conditional create." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional create.\n\n\n\nConditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.conditionalCreate" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.conditionalRead">
<path value="CapabilityStatement.rest.resource.conditionalRead" />
<short value="not-supported | modified-since | not-match | full-support" />
<definition value="A code that indicates how the server supports conditional read." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalRead operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional read for a resource type.\n\n\nConditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.conditionalRead" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ConditionalReadStatus" />
</extension>
<strength value="required" />
<description value="A code that indicates how the server supports conditional read." />
<reference value="http://hl7.org/fhir/ValueSet/conditional-read-status" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.conditionalUpdate">
<path value="CapabilityStatement.rest.resource.conditionalUpdate" />
<short value="If allows/uses conditional update" />
<definition value="A flag that indicates that the server supports conditional update." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalUpdate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional update.\n\n\nConditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.conditionalUpdate" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.conditionalDelete">
<path value="CapabilityStatement.rest.resource.conditionalDelete" />
<short value="not-supported | single | multiple - how conditional delete is supported" />
<definition value="A code that indicates how the server supports conditional delete." />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalDelete operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional delete for a resource type.\n\n\nConditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.conditionalDelete" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ConditionalDeleteStatus" />
</extension>
<strength value="required" />
<description value="A code that indicates how the server supports conditional delete." />
<reference value="http://hl7.org/fhir/ValueSet/conditional-delete-status" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.referencePolicy">
<path value="CapabilityStatement.rest.resource.referencePolicy" />
<short value="literal | logical | resolves | enforced | local" />
<definition value="A set of flags that defines how references are supported." />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify how references are supported using the 'reference-handling-policy' value set. \n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify using the 'reference-handling-policy' value set codes HOW a national server supports references.\n\nA server 'instance' of a National API MAY make available server reference complaince using the 'reference-handling-policy' value set codes.\n\n\nNote that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.resource.referencePolicy" />
<min value="0" />
<max value="*" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ReferenceHandlingPolicy" />
</extension>
<strength value="required" />
<description value="A set of flags that defines how references are supported." />
<reference value="http://hl7.org/fhir/ValueSet/reference-handling-policy" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude">
<path value="CapabilityStatement.rest.resource.searchInclude" />
<short value="_include values supported by the server" />
<definition value="A list of _include values supported by the server." />
<comment value="A national 'requirements' profile MUST specify the list of _include values supported by the system.\n\nA server 'instance' MUST support the list of _include values supported by the system.\n\nIf this list is empty, the server does not support includes." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.resource.searchInclude" />
<min value="0" />
<max value="*" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude.id">
<path value="CapabilityStatement.rest.resource.searchInclude.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude.extension">
<path value="CapabilityStatement.rest.resource.searchInclude.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchInclude.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude.value">
<path value="CapabilityStatement.rest.resource.searchInclude.value" />
<representation value="xmlAttr" />
<short value="Primitive value for string" />
<definition value="Primitive value for string" />
<min value="0" />
<max value="1" />
<path value="string.value" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="string" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<valueString value="xsd:string" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
<valueString value="xsd:string" />
</extension>
</code>
</type>
<maxLength value="1048576" />
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude">
<path value="CapabilityStatement.rest.resource.searchRevInclude" />
<short value="_revinclude values supported by the server" />
<definition value="A list of _revinclude (reverse include) values supported by the server." />
<comment value="A national 'requirements' profile MUST specify the list of _revinclude values supported by the system.\n\nA server 'instance' MUST support the list of _revinclude values supported by the system.\n\nIf this list is empty, the server does not support reverse includes." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.resource.searchRevInclude" />
<min value="0" />
<max value="*" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude.id">
<path value="CapabilityStatement.rest.resource.searchRevInclude.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude.extension">
<path value="CapabilityStatement.rest.resource.searchRevInclude.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchRevInclude.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude.value">
<path value="CapabilityStatement.rest.resource.searchRevInclude.value" />
<representation value="xmlAttr" />
<short value="Primitive value for string" />
<definition value="Primitive value for string" />
<min value="0" />
<max value="1" />
<path value="string.value" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="string" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<valueString value="xsd:string" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
<valueString value="xsd:string" />
</extension>
</code>
</type>
<maxLength value="1048576" />
</element>
<element id="CapabilityStatement.rest.resource.searchParam">
<path value="CapabilityStatement.rest.resource.searchParam" />
<short value="Search parameters supported by implementation" />
<definition value="Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation." />
<comment value="NHS Digital Business Rules:\n\nMUST reference either search parameters defined in the specification, or additional ones defined for/by the implementation.\nMAY reference search parameters for all resources or search result parameters.\n\n\n\n\nSearch combinations for specific purposes/ use cases must be supported in the CapabilityStatement using a bespoke extension." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.resource.searchParam" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.id">
<path value="CapabilityStatement.rest.resource.searchParam.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.extension">
<path value="CapabilityStatement.rest.resource.searchParam.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchParam.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\nhttp://hl7.org/fhir/STU3/valueset-conformance-expectation.html\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<reference value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.modifierExtension">
<path value="CapabilityStatement.rest.resource.searchParam.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.name">
<path value="CapabilityStatement.rest.resource.searchParam.name" />
<short value="Name of search parameter" />
<definition value="The name of the search parameter used in the interface." />
<comment value="MUST match Name of search parameter in STU3 Resource definitions.\n\nWhen specified, MUST match Name of search parameter in STU3 Resource definitions.\n\nParameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.searchParam.name" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.definition">
<path value="CapabilityStatement.rest.resource.searchParam.definition" />
<short value="Source of definition for parameter" />
<definition value="An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [SearchParameter.url]())." />
<comment value="MUST be URI that is a formal reference to where this parameter was first defined.\n\nDefinition SHOULD be present in both 'requirements' and 'instance' capability statements.\n\nThis SHOULD be present, and matches refers to a SearchParameter by its canonical url. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.searchParam.definition" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.type">
<path value="CapabilityStatement.rest.resource.searchParam.type" />
<short value="number | date | string | token | reference | composite | quantity | uri" />
<definition value="The type of value a search parameter refers to, and how the content is interpreted." />
<comment value="While this can be looked up from the definition, it is included here as a convenience for systems that autogenerate a query interface based on the server capability statement. It SHALL be the same as the type in the search parameter definition." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.searchParam.type" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="SearchParamType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="Data types allowed to be used for search parameters." />
<reference value="http://hl7.org/fhir/ValueSet/search-param-type" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.documentation">
<path value="CapabilityStatement.rest.resource.searchParam.documentation" />
<short value="Server-specific usage" />
<definition value="This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.resource.searchParam.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
<valueString value="SystemInteraction" />
</extension>
<path value="CapabilityStatement.rest.interaction" />
<short value="What operations are supported?" />
<definition value="A specification of restful operations supported by the system." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.interaction" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.id">
<path value="CapabilityStatement.rest.interaction.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.extension">
<path value="CapabilityStatement.rest.interaction.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.interaction.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.modifierExtension">
<path value="CapabilityStatement.rest.interaction.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.code">
<path value="CapabilityStatement.rest.interaction.code" />
<short value="transaction | batch | search-system | history-system" />
<definition value="A coded identifier of the operation, supported by the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.interaction.code" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="SystemRestfulInteraction" />
</extension>
<strength value="required" />
<description value="Operations supported by REST at the system level." />
<reference value="http://hl7.org/fhir/ValueSet/system-restful-interaction" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.interaction.documentation">
<path value="CapabilityStatement.rest.interaction.documentation" />
<short value="Anything special about operation behavior" />
<definition value="Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.rest.interaction.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.searchParam">
<path value="CapabilityStatement.rest.searchParam" />
<short value="Search parameters for searching all resources" />
<definition value="Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation." />
<comment value="NHS Digital Business Rules:\n\nMUST reference search parameters that apply to all resources - tags, profiles, text search etc.\n\nTypically, the only search parameters supported for all searchse are those that apply to all resources - tags, profiles, text search etc." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.searchParam" />
<min value="0" />
<max value="*" />
</base>
<contentReference value="#CapabilityStatement.rest.resource.searchParam" />
</element>
<element id="CapabilityStatement.rest.operation">
<path value="CapabilityStatement.rest.operation" />
<short value="Definition of an operation or a custom query" />
<definition value="Definition of an operation or a named query together with its parameters and their meaning and type." />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify operations or a named queries.\n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify operations or a named queries.\n\nA server 'instance' of a National API MAY make available a list of operations or a named queries that MUST be supported by a national FHIR API server." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.operation" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.id">
<path value="CapabilityStatement.rest.operation.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.extension">
<path value="CapabilityStatement.rest.operation.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.operation.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.modifierExtension">
<path value="CapabilityStatement.rest.operation.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.name">
<path value="CapabilityStatement.rest.operation.name" />
<short value="Name by which the operation/query is invoked" />
<definition value="The name of the operation or query. For an operation, this is the name prefixed with $ and used in the URL. For a query, this is the name used in the _query parameter when the query is called." />
<comment value="The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used. The name does not include the "$" portion that is always included in the URL." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.operation.name" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition">
<path value="CapabilityStatement.rest.operation.definition" />
<short value="The defined operation/query" />
<definition value="Where the formal definition can be found." />
<comment value="This can be used to build an HTML form to invoke the operation, for instance." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.rest.operation.definition" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition.id">
<path value="CapabilityStatement.rest.operation.definition.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition.extension">
<path value="CapabilityStatement.rest.operation.definition.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition.reference">
<path value="CapabilityStatement.rest.operation.definition.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition.identifier">
<path value="CapabilityStatement.rest.operation.definition.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.rest.operation.definition.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.rest.operation.definition.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.rest.compartment">
<path value="CapabilityStatement.rest.compartment" />
<short value="Compartments served/used by system" />
<definition value="An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL ." />
<comment value="At present, the only defined compartments are at [CompartmentDefinition](compartmentdefinition.html)." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.rest.compartment" />
<min value="0" />
<max value="*" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging">
<path value="CapabilityStatement.messaging" />
<short value="If messaging is supported" />
<definition value="A description of the messaging capabilities of the solution." />
<comment value="Multiple repetitions allow the documentation of multiple endpoints per solution." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.messaging" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<condition value="cpb-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="cpb-16" />
<severity value="error" />
<human value="A Capability Statement messaging element SHALL have either supportedMessage or event element, but not both." />
<expression value="supportedMessage.empty() != event.empty()" />
<xpath value="exists(f:supportedMessage) != exists(f:event)" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.id">
<path value="CapabilityStatement.messaging.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.extension">
<path value="CapabilityStatement.messaging.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.modifierExtension">
<path value="CapabilityStatement.messaging.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint">
<path value="CapabilityStatement.messaging.endpoint" />
<short value="Where messages should be sent" />
<definition value="An endpoint (network accessible address) to which messages and/or replies are to be sent." />
<alias value="3" />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.messaging.endpoint" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.id">
<path value="CapabilityStatement.messaging.endpoint.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.extension">
<path value="CapabilityStatement.messaging.endpoint.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.modifierExtension">
<path value="CapabilityStatement.messaging.endpoint.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol">
<path value="CapabilityStatement.messaging.endpoint.protocol" />
<short value="http | ftp | mllp +" />
<definition value="A list of the messaging transport protocol(s) identifiers, supported by this endpoint." />
<comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.endpoint.protocol" />
<min value="1" />
<max value="1" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MessageTransport" />
</extension>
<strength value="extensible" />
<description value="The protocol used for message transport." />
<reference value="http://hl7.org/fhir/ValueSet/message-transport" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.id">
<path value="CapabilityStatement.messaging.endpoint.protocol.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.extension">
<path value="CapabilityStatement.messaging.endpoint.protocol.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.system">
<path value="CapabilityStatement.messaging.endpoint.protocol.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.version">
<path value="CapabilityStatement.messaging.endpoint.protocol.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.code">
<path value="CapabilityStatement.messaging.endpoint.protocol.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.messaging.endpoint.protocol.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.protocol.userSelected">
<path value="CapabilityStatement.messaging.endpoint.protocol.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.endpoint.address">
<path value="CapabilityStatement.messaging.endpoint.address" />
<short value="Network address or identifier of the end-point" />
<definition value="The network address of the end-point. For solutions that do not use network addresses for routing, it can be just an identifier." />
<comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.endpoint.address" />
<min value="1" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.reliableCache">
<path value="CapabilityStatement.messaging.reliableCache" />
<short value="Reliable Message Cache Length (min)" />
<definition value="Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender)." />
<comment value="If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging." />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.messaging.reliableCache" />
<min value="0" />
<max value="1" />
</base>
<code value="unsignedInt" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.documentation">
<path value="CapabilityStatement.messaging.documentation" />
<short value="Messaging interface behavior details" />
<definition value="Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the capability statement. For example, the process for becoming an authorized messaging exchange partner." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.messaging.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage">
<path value="CapabilityStatement.messaging.supportedMessage" />
<short value="Messages supported by this system" />
<definition value="References to message definitions for messages this system can send or receive." />
<comment value="This is a proposed alternative to the messaging.event structure." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.messaging.supportedMessage" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.id">
<path value="CapabilityStatement.messaging.supportedMessage.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.extension">
<path value="CapabilityStatement.messaging.supportedMessage.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.modifierExtension">
<path value="CapabilityStatement.messaging.supportedMessage.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.mode">
<path value="CapabilityStatement.messaging.supportedMessage.mode" />
<short value="sender | receiver" />
<definition value="The mode of this event declaration - whether application is sender or receiver." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.supportedMessage.mode" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="EventCapabilityMode" />
</extension>
<strength value="required" />
<description value="The mode of a message capability statement." />
<reference value="http://hl7.org/fhir/ValueSet/event-capability-mode" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition">
<path value="CapabilityStatement.messaging.supportedMessage.definition" />
<short value="Message supported by this system" />
<definition value="Points to a message definition that identifies the messaging event, message structure, allowed responses, etc." />
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.supportedMessage.definition" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition.id">
<path value="CapabilityStatement.messaging.supportedMessage.definition.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition.extension">
<path value="CapabilityStatement.messaging.supportedMessage.definition.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition.reference">
<path value="CapabilityStatement.messaging.supportedMessage.definition.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition.identifier">
<path value="CapabilityStatement.messaging.supportedMessage.definition.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.supportedMessage.definition.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.messaging.supportedMessage.definition.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event">
<path value="CapabilityStatement.messaging.event" />
<short value="Declare support for this event" />
<definition value="A description of the solution's support for an event at this end-point." />
<comment value="The same event may be listed up to two times - once as sender and once as receiver." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.messaging.event" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.id">
<path value="CapabilityStatement.messaging.event.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.extension">
<path value="CapabilityStatement.messaging.event.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.messaging.event.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.modifierExtension">
<path value="CapabilityStatement.messaging.event.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code">
<path value="CapabilityStatement.messaging.event.code" />
<short value="Event type" />
<definition value="A coded identifier of a supported messaging event." />
<comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.code" />
<min value="1" />
<max value="1" />
</base>
<code value="Coding" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MessageEvent" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="example" />
<description value="One of the message events defined as part of FHIR." />
<reference value="http://hl7.org/fhir/ValueSet/message-events" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
</mapping>
<identity value="rim" />
<map value="CV" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.id">
<path value="CapabilityStatement.messaging.event.code.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.extension">
<path value="CapabilityStatement.messaging.event.code.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.system">
<path value="CapabilityStatement.messaging.event.code.system" />
<short value="Identity of the terminology system" />
<definition value="The identification of the code system that defines the meaning of the symbol in the code." />
<comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
<requirements value="Need to be unambiguous about the source of the definition of the symbol." />
<min value="0" />
<max value="1" />
<path value="Coding.system" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.3" />
</mapping>
<identity value="rim" />
<map value="./codeSystem" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.version">
<path value="CapabilityStatement.messaging.event.code.version" />
<short value="Version of the system - if relevant" />
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
<comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
<min value="0" />
<max value="1" />
<path value="Coding.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.7" />
</mapping>
<identity value="rim" />
<map value="./codeSystemVersion" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.code">
<path value="CapabilityStatement.messaging.event.code.code" />
<short value="Symbol in syntax defined by the system" />
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to refer to a particular code in the system." />
<min value="0" />
<max value="1" />
<path value="Coding.code" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.1" />
</mapping>
<identity value="rim" />
<map value="./code" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.messaging.event.code.display" />
<short value="Representation defined by the system" />
<definition value="A representation of the meaning of the code in the system, following the rules of the system." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system." />
<min value="0" />
<max value="1" />
<path value="Coding.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="C*E.2 - but note this is not well followed" />
</mapping>
<identity value="rim" />
<map value="CV.displayName" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.code.userSelected">
<path value="CapabilityStatement.messaging.event.code.userSelected" />
<short value="If this coding was chosen directly by the user" />
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
<comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
<min value="0" />
<max value="1" />
<path value="Coding.userSelected" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="Sometimes implied by being first" />
</mapping>
<identity value="rim" />
<map value="CD.codingRationale" />
</mapping>
<identity value="orim" />
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.category">
<path value="CapabilityStatement.messaging.event.category" />
<short value="Consequence | Currency | Notification" />
<definition value="The impact of the content of the message." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.category" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="MessageSignificanceCategory" />
</extension>
<strength value="required" />
<description value="The impact of the content of a message." />
<reference value="http://hl7.org/fhir/ValueSet/message-significance-category" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.mode">
<path value="CapabilityStatement.messaging.event.mode" />
<short value="sender | receiver" />
<definition value="The mode of this event declaration - whether an application is a sender or receiver." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.mode" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="EventCapabilityMode" />
</extension>
<strength value="required" />
<description value="The mode of a message capability statement." />
<reference value="http://hl7.org/fhir/ValueSet/event-capability-mode" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.focus">
<path value="CapabilityStatement.messaging.event.focus" />
<short value="Resource that's focus of message" />
<definition value="A resource associated with the event. This is the resource that defines the event." />
<comment value="This SHALL be provided if the event type supports multiple different resource types." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.focus" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ResourceType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="One of the resource types defined as part of FHIR." />
<reference value="http://hl7.org/fhir/ValueSet/resource-types" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request">
<path value="CapabilityStatement.messaging.event.request" />
<short value="Profile that describes the request" />
<definition value="Information about the request for this event." />
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.request" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request.id">
<path value="CapabilityStatement.messaging.event.request.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request.extension">
<path value="CapabilityStatement.messaging.event.request.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request.reference">
<path value="CapabilityStatement.messaging.event.request.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request.identifier">
<path value="CapabilityStatement.messaging.event.request.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.request.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.messaging.event.request.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response">
<path value="CapabilityStatement.messaging.event.response" />
<short value="Profile that describes the response" />
<definition value="Information about the response for this event." />
<comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.response" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response.id">
<path value="CapabilityStatement.messaging.event.response.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response.extension">
<path value="CapabilityStatement.messaging.event.response.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response.reference">
<path value="CapabilityStatement.messaging.event.response.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response.identifier">
<path value="CapabilityStatement.messaging.event.response.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.response.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.messaging.event.response.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.messaging.event.documentation">
<path value="CapabilityStatement.messaging.event.documentation" />
<short value="Endpoint-specific event documentation" />
<definition value="Guidance on how this event is handled, such as internal system trigger points, business rules, etc." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.messaging.event.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document">
<path value="CapabilityStatement.document" />
<short value="Document definition" />
<definition value="A document definition." />
<min value="0" />
<max value="*" />
<path value="CapabilityStatement.document" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<condition value="ele-1" />
<condition value="cpb-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document.id">
<path value="CapabilityStatement.document.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document.extension">
<path value="CapabilityStatement.document.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.document.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.document.extension" />
<sliceName value="capabilityStatementExpectation" />
<short value="SHALL | SHOULD | MAY |SHOULD-NOT" />
<definition value="Defines the level of expectation associated with a given system capability." />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="1" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<reference value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
<identity value="v2" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.document.modifierExtension">
<path value="CapabilityStatement.document.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<isModifier value="true" />
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.document.mode">
<path value="CapabilityStatement.document.mode" />
<short value="producer | consumer" />
<definition value="Mode of this document declaration - whether an application is a producer or consumer." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.document.mode" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="DocumentMode" />
</extension>
<strength value="required" />
<description value="Whether the application produces or consumes documents." />
<reference value="http://hl7.org/fhir/ValueSet/document-mode" />
</valueSetReference>
</binding>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document.documentation">
<path value="CapabilityStatement.document.documentation" />
<short value="Description of document support" />
<definition value="A description of how the application supports or uses the specified document profile. For example, when documents are created, what action is taken with consumed documents, etc." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="CapabilityStatement.document.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile">
<path value="CapabilityStatement.document.profile" />
<short value="Constraint on a resource used in the document" />
<definition value="A constraint on a resource used in the document." />
<comment value="The first resource is the document resource." />
<min value="1" />
<max value="1" />
<path value="CapabilityStatement.document.profile" />
<min value="1" />
<max value="1" />
</base>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ref-1" />
<severity value="error" />
<human value="SHALL have a contained resource if a local reference is provided" />
<expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" />
<xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile.id">
<path value="CapabilityStatement.document.profile.id" />
<representation value="xmlAttr" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile.extension">
<path value="CapabilityStatement.document.profile.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
<rules value="open" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile.reference">
<path value="CapabilityStatement.document.profile.reference" />
<short value="Literal reference, Relative, internal or absolute URL" />
<definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
<comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server." />
<min value="0" />
<max value="1" />
<path value="Reference.reference" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<condition value="ref-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile.identifier">
<path value="CapabilityStatement.document.profile.identifier" />
<short value="Logical reference, when literal reference is not known" />
<definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." />
<comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
<min value="0" />
<max value="1" />
<path value="Reference.identifier" />
<min value="0" />
<max value="1" />
</base>
<code value="Identifier" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="v2" />
<map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
</mapping>
<identity value="rim" />
<map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" />
</mapping>
<identity value="servd" />
<map value="Identifier" />
</mapping>
<identity value="rim" />
<map value=".identifier" />
</mapping>
</element>
<element id="CapabilityStatement.document.profile.display">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true" />
</extension>
<path value="CapabilityStatement.document.profile.display" />
<short value="Text alternative for the resource" />
<definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
<comment value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." />
<min value="0" />
<max value="1" />
<path value="Reference.display" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="ele-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<isSummary value="true" />
<identity value="rim" />
<map value="n/a" />
</mapping>
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
</snapshot>
<element id="CapabilityStatement.url">
<path value="CapabilityStatement.url" />
<comment value="This version of the profile requires a URL element.\n\nFHIR-CONF-01: All FHIR ReST endpoints MUST publish their conformance\n\nFHIR-VER-02: HL7 FHIR version in FHIR Endpoint URL\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nCapability statements of kind 'requirements' example:\nhttps://fhir.nhs.uk/STU3/CapabilityStatement/ODSAPI-CapabilityStatement-1\n\nCapability statements of kind 'instance' example [TBC]:\nhttps://directory.spineservices.nhs.uk /STU3/SpineDirectory-CapabilityStatement-1" />
<requirements value="Allows the capability statement to be referenced by a single globally unique identifier." />
<min value="1" />
</element>
<element id="CapabilityStatement.version">
<path value="CapabilityStatement.version" />
<comment value="Capability statements of kind 'requirements' MUST support the version element.\n\nFHIR-VER-05: Minor and Patch Profile Version will use FHIR versioning\n\nThe version element within the resource will contain the full semantic version of the resource, and will look like this:\n<version value=”1.1.3”/>\n\n\nThere may be different capability statement instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the capability statement with the format [url]|[version]." />
</element>
<element id="CapabilityStatement.name">
<path value="CapabilityStatement.name" />
<comment value="This version of the profile requires a name element.\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nNational NHS Digital capability statements MUST support the NHS Digital agreed pattern. \nRefer to: \n\n• NHS-Digital-FHIR-Artefact-Naming.docx\n\n\nThe name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly." />
<requirements value="Support human navigation and code generation." />
<min value="1" />
</element>
<element id="CapabilityStatement.status">
<path value="CapabilityStatement.status" />
<comment value="For all under development CapabilityStatement profiles the status MUST be 'draft'.\n\nNB: This is not intended for use with actual conformance statements (instances)\n\nAllows filtering of capability statements that are appropriate for use vs. not. \nThis is labeled as "Is Modifier" because applications should not use a retired capability statement without due consideration. This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems." />
</element>
<element id="CapabilityStatement.publisher">
<path value="CapabilityStatement.publisher" />
<comment value="This version of the profile requires a publisher element.\n\nNational Spine REST API capability statements of kind ‘requirements’ and server ‘instances’ MUST populate this element with ‘NHS Digital’.\n\nMUST be populated with the name of the individual or organization that published the capability statement.\n\nUsually an organization, but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the capability statement. This item SHOULD be populated unless the information is available from context." />
<min value="1" />
<fixedString value="NHS Digital" />
</element>
<element id="CapabilityStatement.contact">
<path value="CapabilityStatement.contact" />
<comment value="This version of the profile requires a contact details element.\n\nMUST be populated with contacts to assist a user in finding and communicating with the publisher.\n\nMay be a web site, an email address, a telephone number, etc." />
<min value="1" />
</element>
<element id="CapabilityStatement.contact.name">
<path value="CapabilityStatement.contact.name" />
<comment value="This version of the profile requires a contact name element.\n\nNational capability statements of kind ‘requirements’ MUST populate this element with ‘Interoperability Team’.\n\nCapability statements of kind ‘instance’ SHOULD populate this element with relevant service desk details." />
<min value="1" />
</element>
<element id="CapabilityStatement.contact.telecom">
<path value="CapabilityStatement.contact.telecom" />
<comment value="This version of the profile requires at least one telecom element.\n\nCapability statements of kind 'requirements' MUST populate the telecom child elements as follows:\nSystem: email\nValue: interoperabilityteam@nhs.net\nUse: work\n\nCapability statements of kind 'instance' MUST populate the telecom child elements with relevant service desk contact details." />
<min value="1" />
</element>
<element id="CapabilityStatement.description">
<path value="CapabilityStatement.description" />
<comment value="Capability statements of kind ‘requirements’ MUST support the description element. \n\nThe description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication.\n\nThis description can be used to capture details such as why the capability statement was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the capability statement as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created). This does not need to be populated if the description is adequately implied by the software or implementation details.\n\nNHS Digital Business Rules:\nConformance statements of kind 'requirements' MUST support the description element. The description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication." />
</element>
<element id="CapabilityStatement.useContext">
<path value="CapabilityStatement.useContext" />
<comment value="NHS Digital Business Rules:\n\nMAY be populated with content developed with a focus and intent of supporting the contexts that are listed.\n\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply." />
</element>
<element id="CapabilityStatement.jurisdiction">
<path value="CapabilityStatement.jurisdiction" />
<comment value="NHS Digital Business Rules:\n\nRestricted out for now. \n\nIt may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended." />
<max value="1" />
</element>
<element id="CapabilityStatement.copyright">
<path value="CapabilityStatement.copyright" />
<comment value="All NHS Digital national REST API Capability statements of kind ‘requirements’ and server 'instances' MUST support the copyright element. \n\nExample:\nCopyright © 2017 NHS Digital.\n\n\n\n\nSystems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)" />
<min value="1" />
</element>
<element id="CapabilityStatement.kind">
<path value="CapabilityStatement.kind" />
<comment value="The 'requirements' code MUST be used for all capability statements profiles defined by national API IGs - it sets out what systems should do rather than what a particular system does do.\n\nA server implementation MUST use the code ‘instance’. It describes what a particular system does do.\n\n\nThe 'instance' code MUST be used when a capability statement describes the capabilities of a deployed and configured solution available at a particular access point or set of access points. The statement describes exactly how to interface with that deployed solution and thus provides for a degree of self-configuration of software solutions. \n\nThe capabilities of a deployed 'instance' can be conformance tested against the expected capabilities of a national API 'requirements' IG.\n\nNote that FHIR strings may not exceed 1MB in size" />
</element>
<element id="CapabilityStatement.instantiates">
<path value="CapabilityStatement.instantiates" />
<comment value="A server 'instance' of a national Capability Statement MUST reference the ‘requirements’ CapabilityStatement. [TBC]\n\n\nHL7 defines the following Services: [Terminology Service](terminology-service.html).\n\nMany [Implementation Guides](http://fhir.org/guides/registry) define additional services." />
</element>
<element id="CapabilityStatement.software">
<path value="CapabilityStatement.software" />
<comment value="cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements." />
</element>
<element id="CapabilityStatement.implementation">
<path value="CapabilityStatement.implementation" />
<comment value="cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements." />
</element>
<element id="CapabilityStatement.fhirVersion">
<path value="CapabilityStatement.fhirVersion" />
<comment value="STU3 CapabilityStatements resources MUST support "3.0.1".\n\nRFC 4122" />
</element>
<element id="CapabilityStatement.acceptUnknown">
<path value="CapabilityStatement.acceptUnknown" />
<comment value="Both national 'requirements' profiles and server 'instance' profiles MUST use the code ‘no’.\n\n\n\nUnknown elements in a resource can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence accepting unknown elements is about inter-version compatibility.\n\nApplications are recommended to accept unknown extensions and elements ('both'), but this is not always possible." />
</element>
<element id="CapabilityStatement.format">
<path value="CapabilityStatement.format" />
<comment value="National REST APIs MUST support one of JSON, XML or both formats. \n\nThis element MUST be populated to meet this requirement.\n\nSpine mime-type conformance:\n• Spine SHALL support the formal mime-type for STU3 XML + JSON FHIR resources: ‘application/fhir+xml’ or ‘application/fhir+json’\n• Spine MAY support the the formal mime-types for DSTU2 XML +JSON FHIR resources: ‘application/xml+fhir’ or ‘application/json+fhir’\n• Spine MAY support generic mime-types e.g. ‘text/html’, ‘xml’, ‘text/xml’, ‘application/xml’, ‘json’ and ‘application/json’\nSpine SHOULD support the FHIR STU3 implementation note: https://www.hl7.org/fhir/http.html#mime-type\n\n"xml", "json" and "ttl" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here." />
</element>
<element id="CapabilityStatement.patchFormat">
<path value="CapabilityStatement.patchFormat" />
<comment value="NHS Digital Business Rules:\n\nNational REST APIs MAY support the patch operation.\n\nAt present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats and match the formats it supports, but this is not always possible or necessary." />
</element>
<element id="CapabilityStatement.implementationGuide">
<path value="CapabilityStatement.implementationGuide" />
<comment value="A national 'requirements' profile MUST link to the NHS Developer site for FINAL releases of national API IG specifications.\n\nA server 'instance' MUST list the implementation guides that the server does (or should) support in their entirety.\n\n\n\n\n\nsee http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
</element>
<element id="CapabilityStatement.profile">
<path value="CapabilityStatement.profile" />
<comment value="A national 'requirements' profile MAY specify a list of profiles that represent different use cases that are required to be supported by a system.\n\nA server 'instance' MAY list all profiles that represent different use cases that are required to be supported by a system.\n\nSupported profiles are different than the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile). Typically, supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However, they do not need to describe more than one resource." />
</element>
<path value="CapabilityStatement.profile.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.profile.extension:profileLink">
<path value="CapabilityStatement.profile.extension" />
<sliceName value="profileLink" />
<comment value="NHS Digital Business Rules:\n\nThe ‘nhsdigital-profile-link-1’ extension in the STU3 CapabilityStatement resource links profiles to the resources they are based upon for the purpose of ‘describing’ profile specific capabilties such as specific search criteria or operations which are supported on a profile by profile bases. \n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-NHSDigital-ProfileLink-1" />
</type>
</element>
<element id="CapabilityStatement.rest">
<path value="CapabilityStatement.rest" />
<comment value="Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).\n\nMUST be supported for all national Spine RESTful APIs" />
</element>
<element id="CapabilityStatement.rest.mode">
<path value="CapabilityStatement.rest.mode" />
<comment value="This version of the profile MUST support 'server' mode. \n\nThe Client mode is out of scope for this version of the profile.\n\n\n\n\nNote that FHIR strings may not exceed 1MB in size" />
</element>
<element id="CapabilityStatement.rest.security.cors">
<path value="CapabilityStatement.rest.security.cors" />
<comment value="This version of the profile MUST support 'cors' Boolean element. \n\nAll National API FHIR servers SHOULD support CORS. \n\nCORS support is highly recommended - mandatory if using SMART on FHIR.\n\n\nThe easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS." />
</element>
<element id="CapabilityStatement.rest.resource">
<path value="CapabilityStatement.rest.resource" />
<comment value="A national 'requirements' profile MUST specify the restful capabilities of the solution for a specific resource type.\n\nA server 'instance' MUST support all resources served on the REST interface.\n\n\nMax of one repetition per resource type." />
</element>
<path value="CapabilityStatement.rest.resource.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.resource.extension:capabilitystatement-search-parameter-combination">
<path value="CapabilityStatement.rest.resource.extension" />
<sliceName value="capabilitystatement-search-parameter-combination" />
<comment value="NHS Digital Business Rules:\n\nCapabilityStatement resource search combinations must be specified using the HL7 maintained ‘capabilityStatement -search-parameter-combination’ common extension which is a container for a single allowable parameter combination.\n\nThe extension supports required and optional parameter combinations.\n\nIf a search combination is specified, clients should expect that they must submit that required combination or the search will be unsuccesful. \n\nIf multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" />
</type>
</element>
<element id="CapabilityStatement.rest.resource.profile">
<path value="CapabilityStatement.rest.resource.profile" />
<comment value="A national 'requirements' profile MUST specify the profile that describes the solution's overall support for the resource.\n\nA server 'instance' MUST support the profile that describes the solution's overall support for the resource.\n\n\nThe profile applies to all resources of this type - i.e. it is the superset of what is supported by the system." />
</element>
<element id="CapabilityStatement.rest.resource.interaction">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
<valueString value="ResourceInteraction" />
</extension>
<path value="CapabilityStatement.rest.resource.interaction" />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile that SHOULD NOT specify restful operations supported by the solution." />
</element>
<path value="CapabilityStatement.rest.resource.interaction.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.resource.interaction.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.interaction.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<element id="CapabilityStatement.rest.resource.interaction.code">
<path value="CapabilityStatement.rest.resource.interaction.code" />
<comment value="A national 'requirements' profile MUST specify coded identifiers of the interaction codes supported by the national system.\n\nA server 'instance' MUST support coded identifiers of the interaction codes supported by the national system." />
</element>
<element id="CapabilityStatement.rest.resource.versioning">
<path value="CapabilityStatement.rest.resource.versioning" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support versioning for a resource type.\nIf the capability statement does not explicitly support this field the default code = ‘no-version’. This indicates that the server does not support versioning for a resource type.\n\n\n\n\nIf a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so." />
</element>
<element id="CapabilityStatement.rest.resource.readHistory">
<path value="CapabilityStatement.rest.resource.readHistory" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support returning past versions of a resource as part of the vRead operation.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server is NOT able to return past versions of the resource as part of the vRead operation. \n\n\nIt is useful to support the vRead operation for current operations, even if past versions aren't available." />
</element>
<element id="CapabilityStatement.rest.resource.updateCreate">
<path value="CapabilityStatement.rest.resource.updateCreate" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY allow clients to create new identities on the server using the updateCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT allow clients to create new identities on the server.\n\n\n\nAllowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place." />
</element>
<element id="CapabilityStatement.rest.resource.conditionalCreate">
<path value="CapabilityStatement.rest.resource.conditionalCreate" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional create.\n\n\n\nConditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
</element>
<element id="CapabilityStatement.rest.resource.conditionalRead">
<path value="CapabilityStatement.rest.resource.conditionalRead" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalRead operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional read for a resource type.\n\n\nConditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
</element>
<element id="CapabilityStatement.rest.resource.conditionalUpdate">
<path value="CapabilityStatement.rest.resource.conditionalUpdate" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalUpdate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional update.\n\n\nConditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
</element>
<element id="CapabilityStatement.rest.resource.conditionalDelete">
<path value="CapabilityStatement.rest.resource.conditionalDelete" />
<comment value="NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalDelete operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional delete for a resource type.\n\n\nConditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2." />
</element>
<element id="CapabilityStatement.rest.resource.referencePolicy">
<path value="CapabilityStatement.rest.resource.referencePolicy" />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify how references are supported using the 'reference-handling-policy' value set. \n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify using the 'reference-handling-policy' value set codes HOW a national server supports references.\n\nA server 'instance' of a National API MAY make available server reference complaince using the 'reference-handling-policy' value set codes.\n\n\nNote that FHIR strings may not exceed 1MB in size" />
</element>
<element id="CapabilityStatement.rest.resource.searchInclude">
<path value="CapabilityStatement.rest.resource.searchInclude" />
<comment value="A national 'requirements' profile MUST specify the list of _include values supported by the system.\n\nA server 'instance' MUST support the list of _include values supported by the system.\n\nIf this list is empty, the server does not support includes." />
</element>
<path value="CapabilityStatement.rest.resource.searchInclude.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.resource.searchInclude.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchInclude.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude">
<path value="CapabilityStatement.rest.resource.searchRevInclude" />
<comment value="A national 'requirements' profile MUST specify the list of _revinclude values supported by the system.\n\nA server 'instance' MUST support the list of _revinclude values supported by the system.\n\nIf this list is empty, the server does not support reverse includes." />
</element>
<path value="CapabilityStatement.rest.resource.searchRevInclude.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.resource.searchRevInclude.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchRevInclude.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<element id="CapabilityStatement.rest.resource.searchParam">
<path value="CapabilityStatement.rest.resource.searchParam" />
<comment value="NHS Digital Business Rules:\n\nMUST reference either search parameters defined in the specification, or additional ones defined for/by the implementation.\nMAY reference search parameters for all resources or search result parameters.\n\n\n\n\nSearch combinations for specific purposes/ use cases must be supported in the CapabilityStatement using a bespoke extension." />
</element>
<path value="CapabilityStatement.rest.resource.searchParam.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.resource.searchParam.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\nhttp://hl7.org/fhir/STU3/valueset-conformance-expectation.html\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<reference value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</valueSetReference>
</binding>
</element>
<element id="CapabilityStatement.rest.resource.searchParam.name">
<path value="CapabilityStatement.rest.resource.searchParam.name" />
<comment value="MUST match Name of search parameter in STU3 Resource definitions.\n\nWhen specified, MUST match Name of search parameter in STU3 Resource definitions.\n\nParameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined." />
</element>
<element id="CapabilityStatement.rest.resource.searchParam.definition">
<path value="CapabilityStatement.rest.resource.searchParam.definition" />
<comment value="MUST be URI that is a formal reference to where this parameter was first defined.\n\nDefinition SHOULD be present in both 'requirements' and 'instance' capability statements.\n\nThis SHOULD be present, and matches refers to a SearchParameter by its canonical url. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource." />
</element>
<path value="CapabilityStatement.rest.interaction.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.interaction.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.interaction.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<element id="CapabilityStatement.rest.searchParam">
<path value="CapabilityStatement.rest.searchParam" />
<comment value="NHS Digital Business Rules:\n\nMUST reference search parameters that apply to all resources - tags, profiles, text search etc.\n\nTypically, the only search parameters supported for all searchse are those that apply to all resources - tags, profiles, text search etc." />
</element>
<element id="CapabilityStatement.rest.operation">
<path value="CapabilityStatement.rest.operation" />
<comment value="NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify operations or a named queries.\n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify operations or a named queries.\n\nA server 'instance' of a National API MAY make available a list of operations or a named queries that MUST be supported by a national FHIR API server." />
</element>
<path value="CapabilityStatement.rest.operation.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.rest.operation.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.rest.operation.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<path value="CapabilityStatement.messaging.event.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.messaging.event.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.messaging.event.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<valueSetUri value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</binding>
</element>
<path value="CapabilityStatement.document.extension" />
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="CapabilityStatement.document.extension:capabilityStatementExpectation">
<path value="CapabilityStatement.document.extension" />
<sliceName value="capabilityStatementExpectation" />
<comment value="NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf "SHALL NOT" is desired, use the "prohibited" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities." />
<code value="Extension" />
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1" />
</type>
<strength value="required" />
<description value="Defines the level of expectation associated with a given system capability." />
<reference value="http://hl7.org/fhir/ValueSet/conformance-expectation" />
</valueSetReference>
</binding>
</element>
</differential>
</StructureDefinition>

JSON View

{
"resourceType": "StructureDefinition",
"meta": {
"lastUpdated": "2018-01-05T16:50:12.155+00:00"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}
],
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/NHSDigital-CapabilityStatement-1",
"version": "1.0.0",
"name": "NHSDigital-CapabilityStatement-1",
"title": "NHSDigital CapabilityStatement",
"status": "draft",
"date": "2017-08-22T16:15:45.2519896+01:00",
"publisher": "NHS Digital",
"contact": [
{
"name": "Interoperability Team",
"telecom": [
{
"system": "email",
"value": "interoperabilityteam@nhs.net",
"use": "work"
}
]
}
],
"description": "NHSDigital-CapabilityStatement-1 requirements profile.",
"copyright": "Copyright © 2017 NHS Digital",
"fhirVersion": "3.0.1",
"kind": "resource",
"abstract": false,
"type": "CapabilityStatement",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement",
"derivation": "constraint",
"element": [
{
"id": "CapabilityStatement",
"path": "CapabilityStatement",
"short": "A statement of system capabilities",
"definition": "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.",
"min": 1,
"max": "1",
"base": {
"path": "Resource",
"min": 0,
"max": "*"
},
{
"key": "dom-2",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"expression": "contained.contained.empty()",
"xpath": "not(parent::f:contained and f:contained)"
},
{
"key": "dom-1",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
"expression": "contained.text.empty()",
"xpath": "not(parent::f:contained and f:text)"
},
{
"key": "dom-4",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"
},
{
"key": "dom-3",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
"expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
"xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"
},
{
"key": "cpb-8",
"severity": "error",
"human": "There can only be one REST declaration per mode.",
"expression": "rest.select(mode).isDistinct()",
"xpath": "count(f:rest)=count(distinct-values(f:rest/f:mode/@value))"
},
{
"key": "cpb-7",
"severity": "error",
"human": "The set of documents must be unique by the combination of profile and mode.",
"expression": "document.select(profile.reference&mode).isDistinct()",
"xpath": "count(f:document[f:mode/@value='producer'])=count(distinct-values(f:document[f:mode/@value='producer']/f:profile/f:reference/@value)) and count(f:document[f:mode/@value='consumer'])=count(distinct-values(f:document[f:mode/@value='consumer']/f:profile/f:reference/@value))"
},
{
"key": "cpb-15",
"severity": "error",
"human": "Capability Statements of kind 'instance' do not have implementation elements.",
"expression": "implementation.empty() or kind != 'capability'",
"xpath": "not(exists(f:implementation)) or (f:kind/@value != 'capability')"
},
{
"key": "cpb-3",
"severity": "error",
"human": "Messaging end-point is required (and is only permitted) when a statement is for an implementation.",
"expression": "messaging.endpoint.empty() or kind = 'instance'",
"xpath": "not(exists(f:messaging/f:endpoint)) or f:kind/@value = 'instance'"
},
{
"key": "cpb-14",
"severity": "error",
"human": "Capability Statements of kind 'requirements' do not have software or implementation elements.",
"expression": "(software.empty() and implementation.empty()) or kind != 'requirements'",
"xpath": "not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != 'requirements')"
},
{
"key": "cpb-2",
"severity": "error",
"human": "A Capability Statement SHALL have at least one of description, software, or implementation element.",
"expression": "(description.count() + software.count() + implementation.count()) > 0",
"xpath": "count(f:software | f:implementation | f:description) > 0"
},
{
"key": "cpb-1",
"severity": "error",
"human": "A Capability Statement SHALL have at least one of REST, messaging or document element.",
"expression": "rest.exists() or messaging.exists() or document.exists()",
"xpath": "exists(f:rest) or exists(f:messaging) or exists(f:document)"
}
],
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "conformance.behavior"
}
]
},
{
"id": "CapabilityStatement.id",
"path": "CapabilityStatement.id",
"short": "Logical id of this artifact",
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "id"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.meta",
"path": "CapabilityStatement.meta",
"short": "Metadata about the resource",
"definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.meta",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Meta"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.implicitRules",
"path": "CapabilityStatement.implicitRules",
"short": "A set of rules under which this content was created",
"definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
"comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.implicitRules",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.language",
"path": "CapabilityStatement.language",
"short": "Language of the resource content",
"definition": "The base language in which the resource is written.",
"comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"min": 0,
"max": "1",
"base": {
"path": "Resource.language",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"reference": "http://hl7.org/fhir/ValueSet/all-languages"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "extensible",
"description": "A human language.",
"reference": "http://hl7.org/fhir/ValueSet/languages"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.text",
"path": "CapabilityStatement.text",
"short": "Text summary of the resource, for human interpretation",
"definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
"comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
"alias": [
"narrative",
"html",
"xhtml",
"display"
],
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Narrative"
}
],
"ele-1",
"dom-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "rim",
"map": "Act.text?"
}
]
},
{
"id": "CapabilityStatement.contained",
"path": "CapabilityStatement.contained",
"short": "Contained, inline Resources",
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
"comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
"alias": [
"inline resources",
"anonymous resources",
"contained resources"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.contained",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Resource"
}
],
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.extension",
"path": "CapabilityStatement.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.modifierExtension",
"path": "CapabilityStatement.modifierExtension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.url",
"path": "CapabilityStatement.url",
"short": "Logical URI to reference this capability statement (globally unique)",
"definition": "An absolute URI that is used to identify this capability statement when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this capability statement is (or will be) published. The URL SHOULD include the major version of the capability statement. For more information see [Technical and Business Versions](resource.html#versions).",
"comment": "This version of the profile requires a URL element.\n\nFHIR-CONF-01: All FHIR ReST endpoints MUST publish their conformance\n\nFHIR-VER-02: HL7 FHIR version in FHIR Endpoint URL\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nCapability statements of kind 'requirements' example:\nhttps://fhir.nhs.uk/STU3/CapabilityStatement/ODSAPI-CapabilityStatement-1\n\nCapability statements of kind 'instance' example [TBC]:\nhttps://directory.spineservices.nhs.uk /STU3/SpineDirectory-CapabilityStatement-1",
"requirements": "Allows the capability statement to be referenced by a single globally unique identifier.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.url",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "id"
}
]
},
{
"id": "CapabilityStatement.version",
"path": "CapabilityStatement.version",
"short": "Business version of the capability statement",
"definition": "The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
"comment": "Capability statements of kind 'requirements' MUST support the version element.\n\nFHIR-VER-05: Minor and Patch Profile Version will use FHIR versioning\n\nThe version element within the resource will contain the full semantic version of the resource, and will look like this:\n<version value=”1.1.3”/>\n\n\nThere may be different capability statement instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the capability statement with the format [url]|[version].",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "id.version"
}
]
},
{
"id": "CapabilityStatement.name",
"path": "CapabilityStatement.name",
"short": "Name for this capability statement (computer friendly)",
"definition": "A natural language name identifying the capability statement. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"comment": "This version of the profile requires a name element.\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nNational NHS Digital capability statements MUST support the NHS Digital agreed pattern. \nRefer to: \n\n• NHS-Digital-FHIR-Artefact-Naming.docx\n\n\nThe name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.",
"requirements": "Support human navigation and code generation.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.title",
"path": "CapabilityStatement.title",
"short": "Name for this capability statement (human friendly)",
"definition": "A short, descriptive, user-friendly title for the capability statement.",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.title",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.status",
"path": "CapabilityStatement.status",
"short": "draft | active | retired | unknown",
"definition": "The status of this capability statement. Enables tracking the life-cycle of the content.",
"comment": "For all under development CapabilityStatement profiles the status MUST be 'draft'.\n\nNB: This is not intended for use with actual conformance statements (instances)\n\nAllows filtering of capability statements that are appropriate for use vs. not. \nThis is labeled as \"Is Modifier\" because applications should not use a retired capability statement without due consideration. This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isModifier": true,
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The lifecycle status of a Value Set or Concept Map.",
"reference": "http://hl7.org/fhir/ValueSet/publication-status"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "status"
}
]
},
{
"id": "CapabilityStatement.experimental",
"path": "CapabilityStatement.experimental",
"short": "For testing purposes, not real usage",
"definition": "A boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.",
"comment": "Allows filtering of capability statement that are appropriate for use vs. not. This is labeled as \"Is Modifier\" because applications should not use an experimental capability statement in production.",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level capability statement.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.experimental",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "class"
}
]
},
{
"id": "CapabilityStatement.date",
"path": "CapabilityStatement.date",
"short": "Date this was last changed",
"definition": "The date (and optionally time) when the capability statement was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the capability statement changes.",
"comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the capability statement. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
"alias": [
"Revision Date"
],
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.date",
"min": 1,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "when.recorded"
}
]
},
{
"id": "CapabilityStatement.publisher",
"path": "CapabilityStatement.publisher",
"short": "Name of the publisher (organization or individual)",
"definition": "The name of the individual or organization that published the capability statement.",
"comment": "This version of the profile requires a publisher element.\n\nNational Spine REST API capability statements of kind ‘requirements’ and server ‘instances’ MUST populate this element with ‘NHS Digital’.\n\nMUST be populated with the name of the individual or organization that published the capability statement.\n\nUsually an organization, but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the capability statement. This item SHOULD be populated unless the information is available from context.",
"requirements": "Helps establish the \"authority/credibility\" of the capability statement. May also allow for contact.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.publisher",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"fixedString": "NHS Digital",
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "w5",
"map": "who.witness"
}
]
},
{
"id": "CapabilityStatement.contact",
"path": "CapabilityStatement.contact",
"short": "Contact details for the publisher",
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"comment": "This version of the profile requires a contact details element.\n\nMUST be populated with contacts to assist a user in finding and communicating with the publisher.\n\nMay be a web site, an email address, a telephone number, etc.",
"min": 1,
"max": "*",
"base": {
"path": "CapabilityStatement.contact",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.id",
"path": "CapabilityStatement.contact.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.extension",
"path": "CapabilityStatement.contact.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.contact.name",
"path": "CapabilityStatement.contact.name",
"short": "Name of an individual to contact",
"definition": "The name of an individual to contact.",
"comment": "This version of the profile requires a contact name element.\n\nNational capability statements of kind ‘requirements’ MUST populate this element with ‘Interoperability Team’.\n\nCapability statements of kind ‘instance’ SHOULD populate this element with relevant service desk details.",
"min": 1,
"max": "1",
"base": {
"path": "ContactDetail.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.telecom",
"path": "CapabilityStatement.contact.telecom",
"short": "Contact details for individual or organization",
"definition": "The contact details for the individual (if a name was provided) or the organization.",
"comment": "This version of the profile requires at least one telecom element.\n\nCapability statements of kind 'requirements' MUST populate the telecom child elements as follows:\nSystem: email\nValue: interoperabilityteam@nhs.net\nUse: work\n\nCapability statements of kind 'instance' MUST populate the telecom child elements with relevant service desk contact details.",
"min": 1,
"max": "*",
"base": {
"path": "ContactDetail.telecom",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactPoint"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "cpt-2",
"severity": "error",
"human": "A system is required if a value is provided.",
"expression": "value.empty() or system.exists()",
"xpath": "not(exists(f:value)) or exists(f:system)"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "XTN"
},
{
"identity": "rim",
"map": "TEL"
},
{
"identity": "servd",
"map": "ContactPoint"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.id",
"path": "CapabilityStatement.contact.telecom.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.extension",
"path": "CapabilityStatement.contact.telecom.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.system",
"path": "CapabilityStatement.contact.telecom.system",
"short": "phone | fax | email | pager | url | sms | other",
"definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "ContactPoint.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1",
"cpt-2"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ContactPointSystem"
}
],
"strength": "required",
"description": "Telecommunications form for contact point",
"reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "XTN.3"
},
{
"identity": "rim",
"map": "./scheme"
},
{
"identity": "servd",
"map": "./ContactPointType"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.value",
"path": "CapabilityStatement.contact.telecom.value",
"short": "The actual contact point details",
"definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
"comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
"requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
"min": 0,
"max": "1",
"base": {
"path": "ContactPoint.value",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "XTN.1 (or XTN.12)"
},
{
"identity": "rim",
"map": "./url"
},
{
"identity": "servd",
"map": "./Value"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.use",
"path": "CapabilityStatement.contact.telecom.use",
"short": "home | work | temp | old | mobile - purpose of this contact point",
"definition": "Identifies the purpose for the contact point.",
"comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
"requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
"min": 0,
"max": "1",
"base": {
"path": "ContactPoint.use",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isModifier": true,
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ContactPointUse"
}
],
"strength": "required",
"description": "Use of contact point",
"reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "XTN.2 - but often indicated by field"
},
{
"identity": "rim",
"map": "unique(./use)"
},
{
"identity": "servd",
"map": "./ContactPointPurpose"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.rank",
"path": "CapabilityStatement.contact.telecom.rank",
"short": "Specify preferred order of use (1 = highest)",
"definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.",
"comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
"min": 0,
"max": "1",
"base": {
"path": "ContactPoint.rank",
"min": 0,
"max": "1"
},
"type": [
{
"code": "positiveInt"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.period",
"path": "CapabilityStatement.contact.telecom.period",
"short": "Time period when the contact point was/is in use",
"definition": "Time period when the contact point was/is in use.",
"comment": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.",
"min": 0,
"max": "1",
"base": {
"path": "ContactPoint.period",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Period"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "per-1",
"severity": "error",
"human": "If present, start SHALL have a lower value than end",
"expression": "start.empty() or end.empty() or (start <= end)",
"xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "DR"
},
{
"identity": "rim",
"map": "IVL<TS>[lowClosed=\"true\" and highClosed=\"true\"] or URG<TS>[lowClosed=\"true\" and highClosed=\"true\"]"
},
{
"identity": "v2",
"map": "N/A"
},
{
"identity": "rim",
"map": "./usablePeriod[type=\"IVL<TS>\"]"
},
{
"identity": "servd",
"map": "./StartDate and ./EndDate"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.period.id",
"path": "CapabilityStatement.contact.telecom.period.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.period.extension",
"path": "CapabilityStatement.contact.telecom.period.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.period.start",
"path": "CapabilityStatement.contact.telecom.period.start",
"short": "Starting time with inclusive boundary",
"definition": "The start of the period. The boundary is inclusive.",
"comment": "If the low element is missing, the meaning is that the low boundary is not known.",
"min": 0,
"max": "1",
"base": {
"path": "Period.start",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"ele-1",
"per-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "DR.1"
},
{
"identity": "rim",
"map": "./low"
}
]
},
{
"id": "CapabilityStatement.contact.telecom.period.end",
"path": "CapabilityStatement.contact.telecom.period.end",
"short": "End time with inclusive boundary, if not ongoing",
"definition": "The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
"comment": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.",
"min": 0,
"max": "1",
"base": {
"path": "Period.end",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
"ele-1",
"per-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "DR.2"
},
{
"identity": "rim",
"map": "./high"
}
]
},
{
"id": "CapabilityStatement.description",
"path": "CapabilityStatement.description",
"short": "Natural language description of the capability statement",
"definition": "A free text natural language description of the capability statement from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.",
"comment": "Capability statements of kind ‘requirements’ MUST support the description element. \n\nThe description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication.\n\nThis description can be used to capture details such as why the capability statement was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the capability statement as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created). This does not need to be populated if the description is adequately implied by the software or implementation details.\n\nNHS Digital Business Rules:\nConformance statements of kind 'requirements' MUST support the description element. The description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"ele-1",
"cpb-2"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.useContext",
"path": "CapabilityStatement.useContext",
"short": "Context the content is intended to support",
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate capability statement instances.",
"comment": "NHS Digital Business Rules:\n\nMAY be populated with content developed with a focus and intent of supporting the contexts that are listed.\n\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.useContext",
"min": 0,
"max": "*"
},
"type": [
{
"code": "UsageContext"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.useContext.id",
"path": "CapabilityStatement.useContext.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.useContext.extension",
"path": "CapabilityStatement.useContext.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.useContext.code",
"path": "CapabilityStatement.useContext.code",
"short": "Type of context being specified",
"definition": "A code that identifies the type of context being specified by this usage context.",
"comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
"min": 1,
"max": "1",
"base": {
"path": "UsageContext.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Coding"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "UsageContextType"
}
],
"strength": "extensible",
"description": "A code that specifies a type of context being specified by a usage context",
"reference": "http://hl7.org/fhir/ValueSet/usage-context-type"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity": "rim",
"map": "CV"
},
{
"identity": "orim",
"map": "fhir:Coding rdfs:subClassOf dt:CDCoding"
}
]
},
{
"id": "CapabilityStatement.useContext.code.id",
"path": "CapabilityStatement.useContext.code.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.useContext.code.extension",
"path": "CapabilityStatement.useContext.code.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.useContext.code.system",
"path": "CapabilityStatement.useContext.code.system",
"short": "Identity of the terminology system",
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.3"
},
{
"identity": "rim",
"map": "./codeSystem"
},
{
"identity": "orim",
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}
]
},
{
"id": "CapabilityStatement.useContext.code.version",
"path": "CapabilityStatement.useContext.code.version",
"short": "Version of the system - if relevant",
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.7"
},
{
"identity": "rim",
"map": "./codeSystemVersion"
},
{
"identity": "orim",
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}
]
},
{
"id": "CapabilityStatement.useContext.code.code",
"path": "CapabilityStatement.useContext.code.code",
"short": "Symbol in syntax defined by the system",
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.1"
},
{
"identity": "rim",
"map": "./code"
},
{
"identity": "orim",
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}
]
},
{
"id": "CapabilityStatement.useContext.code.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.useContext.code.display",
"short": "Representation defined by the system",
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.2 - but note this is not well followed"
},
{
"identity": "rim",
"map": "CV.displayName"
},
{
"identity": "orim",
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}
]
},
{
"id": "CapabilityStatement.useContext.code.userSelected",
"path": "CapabilityStatement.useContext.code.userSelected",
"short": "If this coding was chosen directly by the user",
"definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.userSelected",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "Sometimes implied by being first"
},
{
"identity": "rim",
"map": "CD.codingRationale"
},
{
"identity": "orim",
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}
]
},
{
"id": "CapabilityStatement.useContext.value[x]",
"path": "CapabilityStatement.useContext.value[x]",
"short": "Value that defines the context",
"definition": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
"comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"min": 1,
"max": "1",
"base": {
"path": "UsageContext.value[x]",
"min": 1,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
},
{
"code": "Quantity"
},
{
"code": "Range"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "UsageContextValue"
}
],
"strength": "example",
"description": "A code that defines the specific value for the context being specified",
"reference": "http://hl7.org/fhir/ValueSet/use-context"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE"
},
{
"identity": "rim",
"map": "CD"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id": "CapabilityStatement.jurisdiction",
"path": "CapabilityStatement.jurisdiction",
"short": "Intended jurisdiction for capability statement (if applicable)",
"definition": "A legal or geographic region in which the capability statement is intended to be used.",
"comment": "NHS Digital Business Rules:\n\nRestricted out for now. \n\nIt may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.jurisdiction",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "extensible",
"description": "Countries and regions within which this artifact is targeted for use",
"reference": "http://hl7.org/fhir/ValueSet/jurisdiction"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE"
},
{
"identity": "rim",
"map": "CD"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.id",
"path": "CapabilityStatement.jurisdiction.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.extension",
"path": "CapabilityStatement.jurisdiction.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding",
"path": "CapabilityStatement.jurisdiction.coding",
"short": "Code defined by a terminology system",
"definition": "A reference to a code defined by a terminology system.",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.",
"min": 0,
"max": "*",
"base": {
"path": "CodeableConcept.coding",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Coding"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity": "rim",
"map": "CV"
},
{
"identity": "orim",
"map": "fhir:Coding rdfs:subClassOf dt:CDCoding"
},
{
"identity": "v2",
"map": "C*E.1-8, C*E.10-22"
},
{
"identity": "rim",
"map": "union(., ./translation)"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.id",
"path": "CapabilityStatement.jurisdiction.coding.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.extension",
"path": "CapabilityStatement.jurisdiction.coding.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.system",
"path": "CapabilityStatement.jurisdiction.coding.system",
"short": "Identity of the terminology system",
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.3"
},
{
"identity": "rim",
"map": "./codeSystem"
},
{
"identity": "orim",
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.version",
"path": "CapabilityStatement.jurisdiction.coding.version",
"short": "Version of the system - if relevant",
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.7"
},
{
"identity": "rim",
"map": "./codeSystemVersion"
},
{
"identity": "orim",
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.code",
"path": "CapabilityStatement.jurisdiction.coding.code",
"short": "Symbol in syntax defined by the system",
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.1"
},
{
"identity": "rim",
"map": "./code"
},
{
"identity": "orim",
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.jurisdiction.coding.display",
"short": "Representation defined by the system",
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.2 - but note this is not well followed"
},
{
"identity": "rim",
"map": "CV.displayName"
},
{
"identity": "orim",
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.coding.userSelected",
"path": "CapabilityStatement.jurisdiction.coding.userSelected",
"short": "If this coding was chosen directly by the user",
"definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.userSelected",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "Sometimes implied by being first"
},
{
"identity": "rim",
"map": "CD.codingRationale"
},
{
"identity": "orim",
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}
]
},
{
"id": "CapabilityStatement.jurisdiction.text",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.jurisdiction.text",
"short": "Plain text representation of the concept",
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"max": "1",
"base": {
"path": "CodeableConcept.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.9. But note many systems use C*E.2 for this"
},
{
"identity": "rim",
"map": "./originalText[mediaType/code=\"text/plain\"]/data"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
}
]
},
{
"id": "CapabilityStatement.purpose",
"path": "CapabilityStatement.purpose",
"short": "Why this capability statement is defined",
"definition": "Explaination of why this capability statement is needed and why it has been designed as it has.",
"comment": "This element does not describe the usage of the capability statement Instead it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this capability statement.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.purpose",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "objimpl",
"map": "no-gen-base"
},
{
"identity": "w5",
"map": "why"
}
]
},
{
"id": "CapabilityStatement.copyright",
"path": "CapabilityStatement.copyright",
"short": "Use and/or publishing restrictions",
"definition": "A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement.",
"comment": "All NHS Digital national REST API Capability statements of kind ‘requirements’ and server 'instances' MUST support the copyright element. \n\nExample:\nCopyright © 2017 NHS Digital.\n\n\n\n\nSystems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)",
"requirements": "Consumers must be able to determine any legal restrictions on the use of the capability statement and/or its content.",
"alias": [
"License",
"Restrictions"
],
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.copyright",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "CapabilityStatement.kind",
"path": "CapabilityStatement.kind",
"short": "instance | capability | requirements",
"definition": "The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).",
"comment": "The 'requirements' code MUST be used for all capability statements profiles defined by national API IGs - it sets out what systems should do rather than what a particular system does do.\n\nA server implementation MUST use the code ‘instance’. It describes what a particular system does do.\n\n\nThe 'instance' code MUST be used when a capability statement describes the capabilities of a deployed and configured solution available at a particular access point or set of access points. The statement describes exactly how to interface with that deployed solution and thus provides for a degree of self-configuration of software solutions. \n\nThe capabilities of a deployed 'instance' can be conformance tested against the expected capabilities of a national API 'requirements' IG.\n\nNote that FHIR strings may not exceed 1MB in size",
"requirements": "Allow searching the 3 modes.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.kind",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CapabilityStatementKind"
}
],
"strength": "required",
"description": "How a capability statement is intended to be used.",
"reference": "http://hl7.org/fhir/ValueSet/capability-statement-kind"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.instantiates",
"path": "CapabilityStatement.instantiates",
"short": "Canonical URL of another capability statement this implements",
"definition": "Reference to a canonical URL of another CapabilityStatement that this software implements or uses. This capability statement is a published API description that corresponds to a business service. The rest of the capability statement does not need to repeat the details of the referenced resource, but can do so.",
"comment": "A server 'instance' of a national Capability Statement MUST reference the ‘requirements’ CapabilityStatement. [TBC]\n\n\nHL7 defines the following Services: [Terminology Service](terminology-service.html).\n\nMany [Implementation Guides](http://fhir.org/guides/registry) define additional services.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.instantiates",
"min": 0,
"max": "*"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.software",
"path": "CapabilityStatement.software",
"short": "Software that is covered by this capability statement",
"definition": "Software that is covered by this capability statement. It is used when the capability statement describes the capabilities of a particular software version, independent of an installation.",
"comment": "cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.software",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1",
"cpb-2"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.software.id",
"path": "CapabilityStatement.software.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.software.extension",
"path": "CapabilityStatement.software.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.software.modifierExtension",
"path": "CapabilityStatement.software.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.software.name",
"path": "CapabilityStatement.software.name",
"short": "A name the software is known by",
"definition": "Name software is known by.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.software.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.software.version",
"path": "CapabilityStatement.software.version",
"short": "Version covered by this statement",
"definition": "The version identifier for the software covered by this statement.",
"comment": "If possible, a version should be specified, as statements are likely to be different for different versions of software.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.software.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.software.releaseDate",
"path": "CapabilityStatement.software.releaseDate",
"short": "Date this version released",
"definition": "Date this version of the software was released.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.software.releaseDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.implementation",
"path": "CapabilityStatement.implementation",
"short": "If this describes a specific instance",
"definition": "Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program.",
"comment": "cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.implementation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1",
"cpb-2"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.implementation.id",
"path": "CapabilityStatement.implementation.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.implementation.extension",
"path": "CapabilityStatement.implementation.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.implementation.modifierExtension",
"path": "CapabilityStatement.implementation.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.implementation.description",
"path": "CapabilityStatement.implementation.description",
"short": "Describes this specific instance",
"definition": "Information about the specific installation that this capability statement relates to.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.implementation.description",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.implementation.url",
"path": "CapabilityStatement.implementation.url",
"short": "Base URL for the installation",
"definition": "An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces.",
"comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.implementation.url",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.fhirVersion",
"path": "CapabilityStatement.fhirVersion",
"short": "FHIR Version the system uses",
"definition": "The version of the FHIR specification on which this capability statement is based.",
"comment": "STU3 CapabilityStatements resources MUST support \"3.0.1\".\n\nRFC 4122",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.fhirVersion",
"min": 1,
"max": "1"
},
"type": [
{
"code": "id"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.acceptUnknown",
"path": "CapabilityStatement.acceptUnknown",
"short": "no | extensions | elements | both",
"definition": "A code that indicates whether the application accepts unknown elements or extensions when reading resources.",
"comment": "Both national 'requirements' profiles and server 'instance' profiles MUST use the code ‘no’.\n\n\n\nUnknown elements in a resource can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence accepting unknown elements is about inter-version compatibility.\n\nApplications are recommended to accept unknown extensions and elements ('both'), but this is not always possible.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.acceptUnknown",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "UnknownContentCode"
}
],
"strength": "required",
"description": "A code that indicates whether an application accepts unknown elements or extensions when reading resources.",
"reference": "http://hl7.org/fhir/ValueSet/unknown-content-code"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.format",
"path": "CapabilityStatement.format",
"short": "formats supported (xml | json | ttl | mime type)",
"definition": "A list of the formats supported by this implementation using their content types.",
"comment": "National REST APIs MUST support one of JSON, XML or both formats. \n\nThis element MUST be populated to meet this requirement.\n\nSpine mime-type conformance:\n• Spine SHALL support the formal mime-type for STU3 XML + JSON FHIR resources: ‘application/fhir+xml’ or ‘application/fhir+json’\n• Spine MAY support the the formal mime-types for DSTU2 XML +JSON FHIR resources: ‘application/xml+fhir’ or ‘application/json+fhir’\n• Spine MAY support generic mime-types e.g. ‘text/html’, ‘xml’, ‘text/xml’, ‘application/xml’, ‘json’ and ‘application/json’\nSpine SHOULD support the FHIR STU3 implementation note: https://www.hl7.org/fhir/http.html#mime-type\n\n\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.",
"min": 1,
"max": "*",
"base": {
"path": "CapabilityStatement.format",
"min": 1,
"max": "*"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MimeType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The mime type of an attachment. Any valid mime type is allowed.",
"valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.patchFormat",
"path": "CapabilityStatement.patchFormat",
"short": "Patch formats supported",
"definition": "A list of the patch formats supported by this implementation using their content types.",
"comment": "NHS Digital Business Rules:\n\nNational REST APIs MAY support the patch operation.\n\nAt present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats and match the formats it supports, but this is not always possible or necessary.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.patchFormat",
"min": 0,
"max": "*"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MimeType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The mime type of an attachment. Any valid mime type is allowed.",
"valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.implementationGuide",
"path": "CapabilityStatement.implementationGuide",
"short": "Implementation guides supported",
"definition": "A list of implementation guides that the server does (or should) support in their entirety.",
"comment": "A national 'requirements' profile MUST link to the NHS Developer site for FINAL releases of national API IG specifications.\n\nA server 'instance' MUST list the implementation guides that the server does (or should) support in their entirety.\n\n\n\n\n\nsee http://en.wikipedia.org/wiki/Uniform_resource_identifier",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.implementationGuide",
"min": 0,
"max": "*"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.profile",
"path": "CapabilityStatement.profile",
"short": "Profiles for use cases supported",
"definition": "A list of profiles that represent different use cases supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles](profiling.html#profile-uses).",
"comment": "A national 'requirements' profile MAY specify a list of profiles that represent different use cases that are required to be supported by a system.\n\nA server 'instance' MAY list all profiles that represent different use cases that are required to be supported by a system.\n\nSupported profiles are different than the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile). Typically, supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However, they do not need to describe more than one resource.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.profile",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.profile.id",
"path": "CapabilityStatement.profile.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.profile.extension",
"path": "CapabilityStatement.profile.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.profile.extension:profileLink",
"path": "CapabilityStatement.profile.extension",
"sliceName": "profileLink",
"short": "Profile link",
"definition": "Optional Extension Element - found in all resources.",
"comment": "NHS Digital Business Rules:\n\nThe ‘nhsdigital-profile-link-1’ extension in the STU3 CapabilityStatement resource links profiles to the resources they are based upon for the purpose of ‘describing’ profile specific capabilties such as specific search criteria or operations which are supported on a profile by profile bases. \n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-NHSDigital-ProfileLink-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.profile.reference",
"path": "CapabilityStatement.profile.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.profile.identifier",
"path": "CapabilityStatement.profile.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.profile.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.profile.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest",
"path": "CapabilityStatement.rest",
"short": "If the endpoint is a RESTful one",
"definition": "A definition of the restful capabilities of the solution, if any.",
"comment": "Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).\n\nMUST be supported for all national Spine RESTful APIs",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1",
"cpb-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "cpb-9",
"severity": "error",
"human": "A given resource can only be described once per RESTful mode.",
"expression": "resource.select(type).isDistinct()",
"xpath": "count(f:resource)=count(distinct-values(f:resource/f:type/@value))"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.id",
"path": "CapabilityStatement.rest.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.extension",
"path": "CapabilityStatement.rest.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.modifierExtension",
"path": "CapabilityStatement.rest.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.mode",
"path": "CapabilityStatement.rest.mode",
"short": "client | server",
"definition": "Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.",
"comment": "This version of the profile MUST support 'server' mode. \n\nThe Client mode is out of scope for this version of the profile.\n\n\n\n\nNote that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.mode",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RestfulCapabilityMode"
}
],
"strength": "required",
"description": "The mode of a RESTful capability statement.",
"reference": "http://hl7.org/fhir/ValueSet/restful-capability-mode"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.documentation",
"path": "CapabilityStatement.rest.documentation",
"short": "General description of implementation",
"definition": "Information about the system's restful capabilities that apply across all applications, such as security.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security",
"path": "CapabilityStatement.rest.security",
"short": "Information about security of implementation",
"definition": "Information about security implementation from an interface perspective - what a client needs to know.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.security",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.id",
"path": "CapabilityStatement.rest.security.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.extension",
"path": "CapabilityStatement.rest.security.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.modifierExtension",
"path": "CapabilityStatement.rest.security.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.cors",
"path": "CapabilityStatement.rest.security.cors",
"short": "Adds CORS Headers (http://enable-cors.org/)",
"definition": "Server adds CORS headers when responding to requests - this enables javascript applications to use the server.",
"comment": "This version of the profile MUST support 'cors' Boolean element. \n\nAll National API FHIR servers SHOULD support CORS. \n\nCORS support is highly recommended - mandatory if using SMART on FHIR.\n\n\nThe easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.security.cors",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.service",
"path": "CapabilityStatement.rest.security.service",
"short": "OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates",
"definition": "Types of security services that are supported/required by the system.",
"comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.security.service",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RestfulSecurityService"
}
],
"strength": "extensible",
"description": "Types of security services used with FHIR.",
"reference": "http://hl7.org/fhir/ValueSet/restful-security-service"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE"
},
{
"identity": "rim",
"map": "CD"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.id",
"path": "CapabilityStatement.rest.security.service.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.extension",
"path": "CapabilityStatement.rest.security.service.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding",
"path": "CapabilityStatement.rest.security.service.coding",
"short": "Code defined by a terminology system",
"definition": "A reference to a code defined by a terminology system.",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.",
"min": 0,
"max": "*",
"base": {
"path": "CodeableConcept.coding",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Coding"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity": "rim",
"map": "CV"
},
{
"identity": "orim",
"map": "fhir:Coding rdfs:subClassOf dt:CDCoding"
},
{
"identity": "v2",
"map": "C*E.1-8, C*E.10-22"
},
{
"identity": "rim",
"map": "union(., ./translation)"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.id",
"path": "CapabilityStatement.rest.security.service.coding.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.extension",
"path": "CapabilityStatement.rest.security.service.coding.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.system",
"path": "CapabilityStatement.rest.security.service.coding.system",
"short": "Identity of the terminology system",
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.3"
},
{
"identity": "rim",
"map": "./codeSystem"
},
{
"identity": "orim",
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.version",
"path": "CapabilityStatement.rest.security.service.coding.version",
"short": "Version of the system - if relevant",
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.7"
},
{
"identity": "rim",
"map": "./codeSystemVersion"
},
{
"identity": "orim",
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.code",
"path": "CapabilityStatement.rest.security.service.coding.code",
"short": "Symbol in syntax defined by the system",
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.1"
},
{
"identity": "rim",
"map": "./code"
},
{
"identity": "orim",
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.rest.security.service.coding.display",
"short": "Representation defined by the system",
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.2 - but note this is not well followed"
},
{
"identity": "rim",
"map": "CV.displayName"
},
{
"identity": "orim",
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.coding.userSelected",
"path": "CapabilityStatement.rest.security.service.coding.userSelected",
"short": "If this coding was chosen directly by the user",
"definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.userSelected",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "Sometimes implied by being first"
},
{
"identity": "rim",
"map": "CD.codingRationale"
},
{
"identity": "orim",
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}
]
},
{
"id": "CapabilityStatement.rest.security.service.text",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.rest.security.service.text",
"short": "Plain text representation of the concept",
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"max": "1",
"base": {
"path": "CodeableConcept.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.9. But note many systems use C*E.2 for this"
},
{
"identity": "rim",
"map": "./originalText[mediaType/code=\"text/plain\"]/data"
},
{
"identity": "orim",
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
}
]
},
{
"id": "CapabilityStatement.rest.security.description",
"path": "CapabilityStatement.rest.security.description",
"short": "General description of how security works",
"definition": "General description of how security works.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.security.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate",
"path": "CapabilityStatement.rest.security.certificate",
"short": "Certificates associated with security profiles",
"definition": "Certificates associated with security profiles.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.security.certificate",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate.id",
"path": "CapabilityStatement.rest.security.certificate.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate.extension",
"path": "CapabilityStatement.rest.security.certificate.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate.modifierExtension",
"path": "CapabilityStatement.rest.security.certificate.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate.type",
"path": "CapabilityStatement.rest.security.certificate.type",
"short": "Mime type for certificates",
"definition": "Mime type for a certificate.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.security.certificate.type",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MimeType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The mime type of an attachment. Any valid mime type is allowed.",
"valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.security.certificate.blob",
"path": "CapabilityStatement.rest.security.certificate.blob",
"short": "Actual certificate",
"definition": "Actual certificate.",
"comment": "A stream of bytes, base64 encoded",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.security.certificate.blob",
"min": 0,
"max": "1"
},
"type": [
{
"code": "base64Binary"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource",
"path": "CapabilityStatement.rest.resource",
"short": "Resource served on the REST interface",
"definition": "A specification of the restful capabilities of the solution for a specific resource type.",
"comment": "A national 'requirements' profile MUST specify the restful capabilities of the solution for a specific resource type.\n\nA server 'instance' MUST support all resources served on the REST interface.\n\n\nMax of one repetition per resource type.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "cpb-12",
"severity": "error",
"human": "Search parameter names must be unique in the context of a resource.",
"expression": "searchParam.select(name).isDistinct()",
"xpath": "count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.id",
"path": "CapabilityStatement.rest.resource.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.extension",
"path": "CapabilityStatement.rest.resource.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.extension:capabilitystatement-search-parameter-combination",
"path": "CapabilityStatement.rest.resource.extension",
"sliceName": "capabilitystatement-search-parameter-combination",
"short": "An allowable parameter combination",
"definition": "A container for a single allowable parameter combination.",
"comment": "NHS Digital Business Rules:\n\nCapabilityStatement resource search combinations must be specified using the HL7 maintained ‘capabilityStatement -search-parameter-combination’ common extension which is a container for a single allowable parameter combination.\n\nThe extension supports required and optional parameter combinations.\n\nIf a search combination is specified, clients should expect that they must submit that required combination or the search will be unsuccesful. \n\nIf multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.modifierExtension",
"path": "CapabilityStatement.rest.resource.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.type",
"path": "CapabilityStatement.rest.resource.type",
"short": "A resource type that is supported",
"definition": "A type of resource exposed via the restful interface.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.type",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ResourceType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "One of the resource types defined as part of FHIR.",
"reference": "http://hl7.org/fhir/ValueSet/resource-types"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile",
"path": "CapabilityStatement.rest.resource.profile",
"short": "Base System profile for all uses of resource",
"definition": "A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles](profiling.html#profile-uses).",
"comment": "A national 'requirements' profile MUST specify the profile that describes the solution's overall support for the resource.\n\nA server 'instance' MUST support the profile that describes the solution's overall support for the resource.\n\n\nThe profile applies to all resources of this type - i.e. it is the superset of what is supported by the system.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.profile",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile.id",
"path": "CapabilityStatement.rest.resource.profile.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile.extension",
"path": "CapabilityStatement.rest.resource.profile.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile.reference",
"path": "CapabilityStatement.rest.resource.profile.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile.identifier",
"path": "CapabilityStatement.rest.resource.profile.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.rest.resource.profile.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.documentation",
"path": "CapabilityStatement.rest.resource.documentation",
"short": "Additional information about the use of the resource type",
"definition": "Additional information about the resource type used by the system.",
"comment": "Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "ResourceInteraction"
}
],
"path": "CapabilityStatement.rest.resource.interaction",
"short": "What operations are supported?",
"definition": "Identifies a restful operation supported by the solution.",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile that SHOULD NOT specify restful operations supported by the solution.",
"min": 1,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource.interaction",
"min": 1,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.id",
"path": "CapabilityStatement.rest.resource.interaction.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.extension",
"path": "CapabilityStatement.rest.resource.interaction.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.interaction.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.modifierExtension",
"path": "CapabilityStatement.rest.resource.interaction.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.code",
"path": "CapabilityStatement.rest.resource.interaction.code",
"short": "read | vread | update | patch | delete | history-instance | history-type | create | search-type",
"definition": "Coded identifier of the operation, supported by the system resource.",
"comment": "A national 'requirements' profile MUST specify coded identifiers of the interaction codes supported by the national system.\n\nA server 'instance' MUST support coded identifiers of the interaction codes supported by the national system.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.interaction.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TypeRestfulInteraction"
}
],
"strength": "required",
"description": "Operations supported by REST at the type or instance level.",
"reference": "http://hl7.org/fhir/ValueSet/type-restful-interaction"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.interaction.documentation",
"path": "CapabilityStatement.rest.resource.interaction.documentation",
"short": "Anything special about operation behavior",
"definition": "Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "REST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.interaction.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.versioning",
"path": "CapabilityStatement.rest.resource.versioning",
"short": "no-version | versioned | versioned-update",
"definition": "This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support versioning for a resource type.\nIf the capability statement does not explicitly support this field the default code = ‘no-version’. This indicates that the server does not support versioning for a resource type.\n\n\n\n\nIf a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.versioning",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ResourceVersionPolicy"
}
],
"strength": "required",
"description": "How the system supports versioning for a resource.",
"reference": "http://hl7.org/fhir/ValueSet/versioning-policy"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.readHistory",
"path": "CapabilityStatement.rest.resource.readHistory",
"short": "Whether vRead can return past versions",
"definition": "A flag for whether the server is able to return past versions as part of the vRead operation.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support returning past versions of a resource as part of the vRead operation.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server is NOT able to return past versions of the resource as part of the vRead operation. \n\n\nIt is useful to support the vRead operation for current operations, even if past versions aren't available.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.readHistory",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.updateCreate",
"path": "CapabilityStatement.rest.resource.updateCreate",
"short": "If update can commit to a new identity",
"definition": "A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY allow clients to create new identities on the server using the updateCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT allow clients to create new identities on the server.\n\n\n\nAllowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.updateCreate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.conditionalCreate",
"path": "CapabilityStatement.rest.resource.conditionalCreate",
"short": "If allows/uses conditional create",
"definition": "A flag that indicates that the server supports conditional create.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional create.\n\n\n\nConditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.conditionalCreate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.conditionalRead",
"path": "CapabilityStatement.rest.resource.conditionalRead",
"short": "not-supported | modified-since | not-match | full-support",
"definition": "A code that indicates how the server supports conditional read.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalRead operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional read for a resource type.\n\n\nConditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.conditionalRead",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ConditionalReadStatus"
}
],
"strength": "required",
"description": "A code that indicates how the server supports conditional read.",
"reference": "http://hl7.org/fhir/ValueSet/conditional-read-status"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.conditionalUpdate",
"path": "CapabilityStatement.rest.resource.conditionalUpdate",
"short": "If allows/uses conditional update",
"definition": "A flag that indicates that the server supports conditional update.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalUpdate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional update.\n\n\nConditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.conditionalUpdate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.conditionalDelete",
"path": "CapabilityStatement.rest.resource.conditionalDelete",
"short": "not-supported | single | multiple - how conditional delete is supported",
"definition": "A code that indicates how the server supports conditional delete.",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalDelete operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional delete for a resource type.\n\n\nConditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.conditionalDelete",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ConditionalDeleteStatus"
}
],
"strength": "required",
"description": "A code that indicates how the server supports conditional delete.",
"reference": "http://hl7.org/fhir/ValueSet/conditional-delete-status"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.referencePolicy",
"path": "CapabilityStatement.rest.resource.referencePolicy",
"short": "literal | logical | resolves | enforced | local",
"definition": "A set of flags that defines how references are supported.",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify how references are supported using the 'reference-handling-policy' value set. \n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify using the 'reference-handling-policy' value set codes HOW a national server supports references.\n\nA server 'instance' of a National API MAY make available server reference complaince using the 'reference-handling-policy' value set codes.\n\n\nNote that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource.referencePolicy",
"min": 0,
"max": "*"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ReferenceHandlingPolicy"
}
],
"strength": "required",
"description": "A set of flags that defines how references are supported.",
"reference": "http://hl7.org/fhir/ValueSet/reference-handling-policy"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchInclude",
"path": "CapabilityStatement.rest.resource.searchInclude",
"short": "_include values supported by the server",
"definition": "A list of _include values supported by the server.",
"comment": "A national 'requirements' profile MUST specify the list of _include values supported by the system.\n\nA server 'instance' MUST support the list of _include values supported by the system.\n\nIf this list is empty, the server does not support includes.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource.searchInclude",
"min": 0,
"max": "*"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchInclude.id",
"path": "CapabilityStatement.rest.resource.searchInclude.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchInclude.extension",
"path": "CapabilityStatement.rest.resource.searchInclude.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchInclude.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchInclude.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchInclude.value",
"path": "CapabilityStatement.rest.resource.searchInclude.value",
"xmlAttr"
],
"short": "Primitive value for string",
"definition": "Primitive value for string",
"min": 0,
"max": "1",
"base": {
"path": "string.value",
"min": 0,
"max": "1"
},
"type": [
{
"_code": {
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString": "string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString": "xsd:string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString": "xsd:string"
}
]
}
}
],
"maxLength": 1048576
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude",
"path": "CapabilityStatement.rest.resource.searchRevInclude",
"short": "_revinclude values supported by the server",
"definition": "A list of _revinclude (reverse include) values supported by the server.",
"comment": "A national 'requirements' profile MUST specify the list of _revinclude values supported by the system.\n\nA server 'instance' MUST support the list of _revinclude values supported by the system.\n\nIf this list is empty, the server does not support reverse includes.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource.searchRevInclude",
"min": 0,
"max": "*"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude.id",
"path": "CapabilityStatement.rest.resource.searchRevInclude.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude.extension",
"path": "CapabilityStatement.rest.resource.searchRevInclude.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchRevInclude.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude.value",
"path": "CapabilityStatement.rest.resource.searchRevInclude.value",
"xmlAttr"
],
"short": "Primitive value for string",
"definition": "Primitive value for string",
"min": 0,
"max": "1",
"base": {
"path": "string.value",
"min": 0,
"max": "1"
},
"type": [
{
"_code": {
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString": "string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString": "xsd:string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString": "xsd:string"
}
]
}
}
],
"maxLength": 1048576
},
{
"id": "CapabilityStatement.rest.resource.searchParam",
"path": "CapabilityStatement.rest.resource.searchParam",
"short": "Search parameters supported by implementation",
"definition": "Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.",
"comment": "NHS Digital Business Rules:\n\nMUST reference either search parameters defined in the specification, or additional ones defined for/by the implementation.\nMAY reference search parameters for all resources or search result parameters.\n\n\n\n\nSearch combinations for specific purposes/ use cases must be supported in the CapabilityStatement using a bespoke extension.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.resource.searchParam",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.id",
"path": "CapabilityStatement.rest.resource.searchParam.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.extension",
"path": "CapabilityStatement.rest.resource.searchParam.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchParam.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\nhttp://hl7.org/fhir/STU3/valueset-conformance-expectation.html\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"reference": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.modifierExtension",
"path": "CapabilityStatement.rest.resource.searchParam.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.name",
"path": "CapabilityStatement.rest.resource.searchParam.name",
"short": "Name of search parameter",
"definition": "The name of the search parameter used in the interface.",
"comment": "MUST match Name of search parameter in STU3 Resource definitions.\n\nWhen specified, MUST match Name of search parameter in STU3 Resource definitions.\n\nParameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.searchParam.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.definition",
"path": "CapabilityStatement.rest.resource.searchParam.definition",
"short": "Source of definition for parameter",
"definition": "An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [SearchParameter.url]()).",
"comment": "MUST be URI that is a formal reference to where this parameter was first defined.\n\nDefinition SHOULD be present in both 'requirements' and 'instance' capability statements.\n\nThis SHOULD be present, and matches refers to a SearchParameter by its canonical url. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.searchParam.definition",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.type",
"path": "CapabilityStatement.rest.resource.searchParam.type",
"short": "number | date | string | token | reference | composite | quantity | uri",
"definition": "The type of value a search parameter refers to, and how the content is interpreted.",
"comment": "While this can be looked up from the definition, it is included here as a convenience for systems that autogenerate a query interface based on the server capability statement. It SHALL be the same as the type in the search parameter definition.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.searchParam.type",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SearchParamType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "Data types allowed to be used for search parameters.",
"reference": "http://hl7.org/fhir/ValueSet/search-param-type"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.resource.searchParam.documentation",
"path": "CapabilityStatement.rest.resource.searchParam.documentation",
"short": "Server-specific usage",
"definition": "This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.resource.searchParam.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.interaction",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "SystemInteraction"
}
],
"path": "CapabilityStatement.rest.interaction",
"short": "What operations are supported?",
"definition": "A specification of restful operations supported by the system.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.interaction",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.id",
"path": "CapabilityStatement.rest.interaction.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.extension",
"path": "CapabilityStatement.rest.interaction.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.interaction.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.modifierExtension",
"path": "CapabilityStatement.rest.interaction.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.code",
"path": "CapabilityStatement.rest.interaction.code",
"short": "transaction | batch | search-system | history-system",
"definition": "A coded identifier of the operation, supported by the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.interaction.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SystemRestfulInteraction"
}
],
"strength": "required",
"description": "Operations supported by REST at the system level.",
"reference": "http://hl7.org/fhir/ValueSet/system-restful-interaction"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.interaction.documentation",
"path": "CapabilityStatement.rest.interaction.documentation",
"short": "Anything special about operation behavior",
"definition": "Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.interaction.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.searchParam",
"path": "CapabilityStatement.rest.searchParam",
"short": "Search parameters for searching all resources",
"definition": "Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.",
"comment": "NHS Digital Business Rules:\n\nMUST reference search parameters that apply to all resources - tags, profiles, text search etc.\n\nTypically, the only search parameters supported for all searchse are those that apply to all resources - tags, profiles, text search etc.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.searchParam",
"min": 0,
"max": "*"
},
"contentReference": "#CapabilityStatement.rest.resource.searchParam"
},
{
"id": "CapabilityStatement.rest.operation",
"path": "CapabilityStatement.rest.operation",
"short": "Definition of an operation or a custom query",
"definition": "Definition of an operation or a named query together with its parameters and their meaning and type.",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify operations or a named queries.\n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify operations or a named queries.\n\nA server 'instance' of a National API MAY make available a list of operations or a named queries that MUST be supported by a national FHIR API server.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.operation",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.operation.id",
"path": "CapabilityStatement.rest.operation.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.operation.extension",
"path": "CapabilityStatement.rest.operation.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.operation.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.operation.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.operation.modifierExtension",
"path": "CapabilityStatement.rest.operation.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.operation.name",
"path": "CapabilityStatement.rest.operation.name",
"short": "Name by which the operation/query is invoked",
"definition": "The name of the operation or query. For an operation, this is the name prefixed with $ and used in the URL. For a query, this is the name used in the _query parameter when the query is called.",
"comment": "The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used. The name does not include the \"$\" portion that is always included in the URL.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.operation.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition",
"path": "CapabilityStatement.rest.operation.definition",
"short": "The defined operation/query",
"definition": "Where the formal definition can be found.",
"comment": "This can be used to build an HTML form to invoke the operation, for instance.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.rest.operation.definition",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition.id",
"path": "CapabilityStatement.rest.operation.definition.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition.extension",
"path": "CapabilityStatement.rest.operation.definition.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition.reference",
"path": "CapabilityStatement.rest.operation.definition.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition.identifier",
"path": "CapabilityStatement.rest.operation.definition.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.rest.operation.definition.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.rest.operation.definition.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.rest.compartment",
"path": "CapabilityStatement.rest.compartment",
"short": "Compartments served/used by system",
"definition": "An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .",
"comment": "At present, the only defined compartments are at [CompartmentDefinition](compartmentdefinition.html).",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.rest.compartment",
"min": 0,
"max": "*"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging",
"path": "CapabilityStatement.messaging",
"short": "If messaging is supported",
"definition": "A description of the messaging capabilities of the solution.",
"comment": "Multiple repetitions allow the documentation of multiple endpoints per solution.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.messaging",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1",
"cpb-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "cpb-16",
"severity": "error",
"human": "A Capability Statement messaging element SHALL have either supportedMessage or event element, but not both.",
"expression": "supportedMessage.empty() != event.empty()",
"xpath": "exists(f:supportedMessage) != exists(f:event)"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.id",
"path": "CapabilityStatement.messaging.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.extension",
"path": "CapabilityStatement.messaging.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.modifierExtension",
"path": "CapabilityStatement.messaging.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint",
"path": "CapabilityStatement.messaging.endpoint",
"short": "Where messages should be sent",
"definition": "An endpoint (network accessible address) to which messages and/or replies are to be sent.",
"alias": [
"3"
],
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.messaging.endpoint",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.id",
"path": "CapabilityStatement.messaging.endpoint.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.extension",
"path": "CapabilityStatement.messaging.endpoint.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.modifierExtension",
"path": "CapabilityStatement.messaging.endpoint.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol",
"path": "CapabilityStatement.messaging.endpoint.protocol",
"short": "http | ftp | mllp +",
"definition": "A list of the messaging transport protocol(s) identifiers, supported by this endpoint.",
"comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.endpoint.protocol",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Coding"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MessageTransport"
}
],
"strength": "extensible",
"description": "The protocol used for message transport.",
"reference": "http://hl7.org/fhir/ValueSet/message-transport"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity": "rim",
"map": "CV"
},
{
"identity": "orim",
"map": "fhir:Coding rdfs:subClassOf dt:CDCoding"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.id",
"path": "CapabilityStatement.messaging.endpoint.protocol.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.extension",
"path": "CapabilityStatement.messaging.endpoint.protocol.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.system",
"path": "CapabilityStatement.messaging.endpoint.protocol.system",
"short": "Identity of the terminology system",
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.3"
},
{
"identity": "rim",
"map": "./codeSystem"
},
{
"identity": "orim",
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.version",
"path": "CapabilityStatement.messaging.endpoint.protocol.version",
"short": "Version of the system - if relevant",
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.7"
},
{
"identity": "rim",
"map": "./codeSystemVersion"
},
{
"identity": "orim",
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.code",
"path": "CapabilityStatement.messaging.endpoint.protocol.code",
"short": "Symbol in syntax defined by the system",
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.1"
},
{
"identity": "rim",
"map": "./code"
},
{
"identity": "orim",
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.messaging.endpoint.protocol.display",
"short": "Representation defined by the system",
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.2 - but note this is not well followed"
},
{
"identity": "rim",
"map": "CV.displayName"
},
{
"identity": "orim",
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.protocol.userSelected",
"path": "CapabilityStatement.messaging.endpoint.protocol.userSelected",
"short": "If this coding was chosen directly by the user",
"definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.userSelected",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "Sometimes implied by being first"
},
{
"identity": "rim",
"map": "CD.codingRationale"
},
{
"identity": "orim",
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}
]
},
{
"id": "CapabilityStatement.messaging.endpoint.address",
"path": "CapabilityStatement.messaging.endpoint.address",
"short": "Network address or identifier of the end-point",
"definition": "The network address of the end-point. For solutions that do not use network addresses for routing, it can be just an identifier.",
"comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.endpoint.address",
"min": 1,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.reliableCache",
"path": "CapabilityStatement.messaging.reliableCache",
"short": "Reliable Message Cache Length (min)",
"definition": "Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender).",
"comment": "If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging.",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.reliableCache",
"min": 0,
"max": "1"
},
"type": [
{
"code": "unsignedInt"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.documentation",
"path": "CapabilityStatement.messaging.documentation",
"short": "Messaging interface behavior details",
"definition": "Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the capability statement. For example, the process for becoming an authorized messaging exchange partner.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage",
"path": "CapabilityStatement.messaging.supportedMessage",
"short": "Messages supported by this system",
"definition": "References to message definitions for messages this system can send or receive.",
"comment": "This is a proposed alternative to the messaging.event structure.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.messaging.supportedMessage",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.id",
"path": "CapabilityStatement.messaging.supportedMessage.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.extension",
"path": "CapabilityStatement.messaging.supportedMessage.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.modifierExtension",
"path": "CapabilityStatement.messaging.supportedMessage.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.mode",
"path": "CapabilityStatement.messaging.supportedMessage.mode",
"short": "sender | receiver",
"definition": "The mode of this event declaration - whether application is sender or receiver.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.supportedMessage.mode",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "EventCapabilityMode"
}
],
"strength": "required",
"description": "The mode of a message capability statement.",
"reference": "http://hl7.org/fhir/ValueSet/event-capability-mode"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition",
"path": "CapabilityStatement.messaging.supportedMessage.definition",
"short": "Message supported by this system",
"definition": "Points to a message definition that identifies the messaging event, message structure, allowed responses, etc.",
"comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.supportedMessage.definition",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition.id",
"path": "CapabilityStatement.messaging.supportedMessage.definition.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition.extension",
"path": "CapabilityStatement.messaging.supportedMessage.definition.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition.reference",
"path": "CapabilityStatement.messaging.supportedMessage.definition.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition.identifier",
"path": "CapabilityStatement.messaging.supportedMessage.definition.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.messaging.supportedMessage.definition.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.messaging.supportedMessage.definition.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event",
"path": "CapabilityStatement.messaging.event",
"short": "Declare support for this event",
"definition": "A description of the solution's support for an event at this end-point.",
"comment": "The same event may be listed up to two times - once as sender and once as receiver.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.messaging.event",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.id",
"path": "CapabilityStatement.messaging.event.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.extension",
"path": "CapabilityStatement.messaging.event.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.messaging.event.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.modifierExtension",
"path": "CapabilityStatement.messaging.event.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code",
"path": "CapabilityStatement.messaging.event.code",
"short": "Event type",
"definition": "A coded identifier of a supported messaging event.",
"comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Coding"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MessageEvent"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "example",
"description": "One of the message events defined as part of FHIR.",
"reference": "http://hl7.org/fhir/ValueSet/message-events"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity": "rim",
"map": "CV"
},
{
"identity": "orim",
"map": "fhir:Coding rdfs:subClassOf dt:CDCoding"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.id",
"path": "CapabilityStatement.messaging.event.code.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.extension",
"path": "CapabilityStatement.messaging.event.code.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.system",
"path": "CapabilityStatement.messaging.event.code.system",
"short": "Identity of the terminology system",
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.3"
},
{
"identity": "rim",
"map": "./codeSystem"
},
{
"identity": "orim",
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.version",
"path": "CapabilityStatement.messaging.event.code.version",
"short": "Version of the system - if relevant",
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.7"
},
{
"identity": "rim",
"map": "./codeSystemVersion"
},
{
"identity": "orim",
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.code",
"path": "CapabilityStatement.messaging.event.code.code",
"short": "Symbol in syntax defined by the system",
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.1"
},
{
"identity": "rim",
"map": "./code"
},
{
"identity": "orim",
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.messaging.event.code.display",
"short": "Representation defined by the system",
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "C*E.2 - but note this is not well followed"
},
{
"identity": "rim",
"map": "CV.displayName"
},
{
"identity": "orim",
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}
]
},
{
"id": "CapabilityStatement.messaging.event.code.userSelected",
"path": "CapabilityStatement.messaging.event.code.userSelected",
"short": "If this coding was chosen directly by the user",
"definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"max": "1",
"base": {
"path": "Coding.userSelected",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "Sometimes implied by being first"
},
{
"identity": "rim",
"map": "CD.codingRationale"
},
{
"identity": "orim",
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}
]
},
{
"id": "CapabilityStatement.messaging.event.category",
"path": "CapabilityStatement.messaging.event.category",
"short": "Consequence | Currency | Notification",
"definition": "The impact of the content of the message.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.category",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MessageSignificanceCategory"
}
],
"strength": "required",
"description": "The impact of the content of a message.",
"reference": "http://hl7.org/fhir/ValueSet/message-significance-category"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.mode",
"path": "CapabilityStatement.messaging.event.mode",
"short": "sender | receiver",
"definition": "The mode of this event declaration - whether an application is a sender or receiver.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.mode",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "EventCapabilityMode"
}
],
"strength": "required",
"description": "The mode of a message capability statement.",
"reference": "http://hl7.org/fhir/ValueSet/event-capability-mode"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.focus",
"path": "CapabilityStatement.messaging.event.focus",
"short": "Resource that's focus of message",
"definition": "A resource associated with the event. This is the resource that defines the event.",
"comment": "This SHALL be provided if the event type supports multiple different resource types.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.focus",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ResourceType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "One of the resource types defined as part of FHIR.",
"reference": "http://hl7.org/fhir/ValueSet/resource-types"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request",
"path": "CapabilityStatement.messaging.event.request",
"short": "Profile that describes the request",
"definition": "Information about the request for this event.",
"comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.request",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request.id",
"path": "CapabilityStatement.messaging.event.request.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request.extension",
"path": "CapabilityStatement.messaging.event.request.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request.reference",
"path": "CapabilityStatement.messaging.event.request.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request.identifier",
"path": "CapabilityStatement.messaging.event.request.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.messaging.event.request.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.messaging.event.request.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response",
"path": "CapabilityStatement.messaging.event.response",
"short": "Profile that describes the response",
"definition": "Information about the response for this event.",
"comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.response",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response.id",
"path": "CapabilityStatement.messaging.event.response.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response.extension",
"path": "CapabilityStatement.messaging.event.response.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response.reference",
"path": "CapabilityStatement.messaging.event.response.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response.identifier",
"path": "CapabilityStatement.messaging.event.response.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.messaging.event.response.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.messaging.event.response.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.messaging.event.documentation",
"path": "CapabilityStatement.messaging.event.documentation",
"short": "Endpoint-specific event documentation",
"definition": "Guidance on how this event is handled, such as internal system trigger points, business rules, etc.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.messaging.event.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document",
"path": "CapabilityStatement.document",
"short": "Document definition",
"definition": "A document definition.",
"min": 0,
"max": "*",
"base": {
"path": "CapabilityStatement.document",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"ele-1",
"cpb-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document.id",
"path": "CapabilityStatement.document.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document.extension",
"path": "CapabilityStatement.document.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.document.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.document.extension",
"sliceName": "capabilityStatementExpectation",
"short": "SHALL | SHOULD | MAY |SHOULD-NOT",
"definition": "Defines the level of expectation associated with a given system capability.",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"reference": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "v2",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.document.modifierExtension",
"path": "CapabilityStatement.document.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier": true,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.document.mode",
"path": "CapabilityStatement.document.mode",
"short": "producer | consumer",
"definition": "Mode of this document declaration - whether an application is a producer or consumer.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.document.mode",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentMode"
}
],
"strength": "required",
"description": "Whether the application produces or consumes documents.",
"reference": "http://hl7.org/fhir/ValueSet/document-mode"
}
},
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document.documentation",
"path": "CapabilityStatement.document.documentation",
"short": "Description of document support",
"definition": "A description of how the application supports or uses the specified document profile. For example, when documents are created, what action is taken with consumed documents, etc.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "CapabilityStatement.document.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document.profile",
"path": "CapabilityStatement.document.profile",
"short": "Constraint on a resource used in the document",
"definition": "A constraint on a resource used in the document.",
"comment": "The first resource is the document resource.",
"min": 1,
"max": "1",
"base": {
"path": "CapabilityStatement.document.profile",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ref-1",
"severity": "error",
"human": "SHALL have a contained resource if a local reference is provided",
"expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}
]
},
{
"id": "CapabilityStatement.document.profile.id",
"path": "CapabilityStatement.document.profile.id",
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CapabilityStatement.document.profile.extension",
"path": "CapabilityStatement.document.profile.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.document.profile.reference",
"path": "CapabilityStatement.document.profile.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1",
"ref-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "CapabilityStatement.document.profile.identifier",
"path": "CapabilityStatement.document.profile.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "v2",
"map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity": "rim",
"map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity": "servd",
"map": "Identifier"
},
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "CapabilityStatement.document.profile.display",
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "CapabilityStatement.document.profile.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"ele-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "N/A"
}
]
}
]
},
"element": [
{
"id": "CapabilityStatement.url",
"path": "CapabilityStatement.url",
"comment": "This version of the profile requires a URL element.\n\nFHIR-CONF-01: All FHIR ReST endpoints MUST publish their conformance\n\nFHIR-VER-02: HL7 FHIR version in FHIR Endpoint URL\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nCapability statements of kind 'requirements' example:\nhttps://fhir.nhs.uk/STU3/CapabilityStatement/ODSAPI-CapabilityStatement-1\n\nCapability statements of kind 'instance' example [TBC]:\nhttps://directory.spineservices.nhs.uk /STU3/SpineDirectory-CapabilityStatement-1",
"requirements": "Allows the capability statement to be referenced by a single globally unique identifier.",
"min": 1
},
{
"id": "CapabilityStatement.version",
"path": "CapabilityStatement.version",
"comment": "Capability statements of kind 'requirements' MUST support the version element.\n\nFHIR-VER-05: Minor and Patch Profile Version will use FHIR versioning\n\nThe version element within the resource will contain the full semantic version of the resource, and will look like this:\n<version value=”1.1.3”/>\n\n\nThere may be different capability statement instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the capability statement with the format [url]|[version]."
},
{
"id": "CapabilityStatement.name",
"path": "CapabilityStatement.name",
"comment": "This version of the profile requires a name element.\n\nFHIR-VER-04: Major Profile Version in Resource ID\n\nNational NHS Digital capability statements MUST support the NHS Digital agreed pattern. \nRefer to: \n\n• NHS-Digital-FHIR-Artefact-Naming.docx\n\n\nThe name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.",
"requirements": "Support human navigation and code generation.",
"min": 1
},
{
"id": "CapabilityStatement.status",
"path": "CapabilityStatement.status",
"comment": "For all under development CapabilityStatement profiles the status MUST be 'draft'.\n\nNB: This is not intended for use with actual conformance statements (instances)\n\nAllows filtering of capability statements that are appropriate for use vs. not. \nThis is labeled as \"Is Modifier\" because applications should not use a retired capability statement without due consideration. This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems."
},
{
"id": "CapabilityStatement.publisher",
"path": "CapabilityStatement.publisher",
"comment": "This version of the profile requires a publisher element.\n\nNational Spine REST API capability statements of kind ‘requirements’ and server ‘instances’ MUST populate this element with ‘NHS Digital’.\n\nMUST be populated with the name of the individual or organization that published the capability statement.\n\nUsually an organization, but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the capability statement. This item SHOULD be populated unless the information is available from context.",
"min": 1,
"fixedString": "NHS Digital"
},
{
"id": "CapabilityStatement.contact",
"path": "CapabilityStatement.contact",
"comment": "This version of the profile requires a contact details element.\n\nMUST be populated with contacts to assist a user in finding and communicating with the publisher.\n\nMay be a web site, an email address, a telephone number, etc.",
"min": 1
},
{
"id": "CapabilityStatement.contact.name",
"path": "CapabilityStatement.contact.name",
"comment": "This version of the profile requires a contact name element.\n\nNational capability statements of kind ‘requirements’ MUST populate this element with ‘Interoperability Team’.\n\nCapability statements of kind ‘instance’ SHOULD populate this element with relevant service desk details.",
"min": 1
},
{
"id": "CapabilityStatement.contact.telecom",
"path": "CapabilityStatement.contact.telecom",
"comment": "This version of the profile requires at least one telecom element.\n\nCapability statements of kind 'requirements' MUST populate the telecom child elements as follows:\nSystem: email\nValue: interoperabilityteam@nhs.net\nUse: work\n\nCapability statements of kind 'instance' MUST populate the telecom child elements with relevant service desk contact details.",
"min": 1
},
{
"id": "CapabilityStatement.description",
"path": "CapabilityStatement.description",
"comment": "Capability statements of kind ‘requirements’ MUST support the description element. \n\nThe description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication.\n\nThis description can be used to capture details such as why the capability statement was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the capability statement as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created). This does not need to be populated if the description is adequately implied by the software or implementation details.\n\nNHS Digital Business Rules:\nConformance statements of kind 'requirements' MUST support the description element. The description of the capability statement will be described and published within the NHS Digital Jekyll API Implementation Guide publication."
},
{
"id": "CapabilityStatement.useContext",
"path": "CapabilityStatement.useContext",
"comment": "NHS Digital Business Rules:\n\nMAY be populated with content developed with a focus and intent of supporting the contexts that are listed.\n\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply."
},
{
"id": "CapabilityStatement.jurisdiction",
"path": "CapabilityStatement.jurisdiction",
"comment": "NHS Digital Business Rules:\n\nRestricted out for now. \n\nIt may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended.",
"max": "1"
},
{
"id": "CapabilityStatement.copyright",
"path": "CapabilityStatement.copyright",
"comment": "All NHS Digital national REST API Capability statements of kind ‘requirements’ and server 'instances' MUST support the copyright element. \n\nExample:\nCopyright © 2017 NHS Digital.\n\n\n\n\nSystems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)",
"min": 1
},
{
"id": "CapabilityStatement.kind",
"path": "CapabilityStatement.kind",
"comment": "The 'requirements' code MUST be used for all capability statements profiles defined by national API IGs - it sets out what systems should do rather than what a particular system does do.\n\nA server implementation MUST use the code ‘instance’. It describes what a particular system does do.\n\n\nThe 'instance' code MUST be used when a capability statement describes the capabilities of a deployed and configured solution available at a particular access point or set of access points. The statement describes exactly how to interface with that deployed solution and thus provides for a degree of self-configuration of software solutions. \n\nThe capabilities of a deployed 'instance' can be conformance tested against the expected capabilities of a national API 'requirements' IG.\n\nNote that FHIR strings may not exceed 1MB in size"
},
{
"id": "CapabilityStatement.instantiates",
"path": "CapabilityStatement.instantiates",
"comment": "A server 'instance' of a national Capability Statement MUST reference the ‘requirements’ CapabilityStatement. [TBC]\n\n\nHL7 defines the following Services: [Terminology Service](terminology-service.html).\n\nMany [Implementation Guides](http://fhir.org/guides/registry) define additional services."
},
{
"id": "CapabilityStatement.software",
"path": "CapabilityStatement.software",
"comment": "cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements."
},
{
"id": "CapabilityStatement.implementation",
"path": "CapabilityStatement.implementation",
"comment": "cpb-2: Capability statements of kind 'requirements' do not have software or implementation elements."
},
{
"id": "CapabilityStatement.fhirVersion",
"path": "CapabilityStatement.fhirVersion",
"comment": "STU3 CapabilityStatements resources MUST support \"3.0.1\".\n\nRFC 4122"
},
{
"id": "CapabilityStatement.acceptUnknown",
"path": "CapabilityStatement.acceptUnknown",
"comment": "Both national 'requirements' profiles and server 'instance' profiles MUST use the code ‘no’.\n\n\n\nUnknown elements in a resource can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence accepting unknown elements is about inter-version compatibility.\n\nApplications are recommended to accept unknown extensions and elements ('both'), but this is not always possible."
},
{
"id": "CapabilityStatement.format",
"path": "CapabilityStatement.format",
"comment": "National REST APIs MUST support one of JSON, XML or both formats. \n\nThis element MUST be populated to meet this requirement.\n\nSpine mime-type conformance:\n• Spine SHALL support the formal mime-type for STU3 XML + JSON FHIR resources: ‘application/fhir+xml’ or ‘application/fhir+json’\n• Spine MAY support the the formal mime-types for DSTU2 XML +JSON FHIR resources: ‘application/xml+fhir’ or ‘application/json+fhir’\n• Spine MAY support generic mime-types e.g. ‘text/html’, ‘xml’, ‘text/xml’, ‘application/xml’, ‘json’ and ‘application/json’\nSpine SHOULD support the FHIR STU3 implementation note: https://www.hl7.org/fhir/http.html#mime-type\n\n\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here."
},
{
"id": "CapabilityStatement.patchFormat",
"path": "CapabilityStatement.patchFormat",
"comment": "NHS Digital Business Rules:\n\nNational REST APIs MAY support the patch operation.\n\nAt present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats and match the formats it supports, but this is not always possible or necessary."
},
{
"id": "CapabilityStatement.implementationGuide",
"path": "CapabilityStatement.implementationGuide",
"comment": "A national 'requirements' profile MUST link to the NHS Developer site for FINAL releases of national API IG specifications.\n\nA server 'instance' MUST list the implementation guides that the server does (or should) support in their entirety.\n\n\n\n\n\nsee http://en.wikipedia.org/wiki/Uniform_resource_identifier"
},
{
"id": "CapabilityStatement.profile",
"path": "CapabilityStatement.profile",
"comment": "A national 'requirements' profile MAY specify a list of profiles that represent different use cases that are required to be supported by a system.\n\nA server 'instance' MAY list all profiles that represent different use cases that are required to be supported by a system.\n\nSupported profiles are different than the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile). Typically, supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However, they do not need to describe more than one resource."
},
{
"path": "CapabilityStatement.profile.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.profile.extension:profileLink",
"path": "CapabilityStatement.profile.extension",
"sliceName": "profileLink",
"comment": "NHS Digital Business Rules:\n\nThe ‘nhsdigital-profile-link-1’ extension in the STU3 CapabilityStatement resource links profiles to the resources they are based upon for the purpose of ‘describing’ profile specific capabilties such as specific search criteria or operations which are supported on a profile by profile bases. \n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-NHSDigital-ProfileLink-1"
}
]
},
{
"id": "CapabilityStatement.rest",
"path": "CapabilityStatement.rest",
"comment": "Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).\n\nMUST be supported for all national Spine RESTful APIs"
},
{
"id": "CapabilityStatement.rest.mode",
"path": "CapabilityStatement.rest.mode",
"comment": "This version of the profile MUST support 'server' mode. \n\nThe Client mode is out of scope for this version of the profile.\n\n\n\n\nNote that FHIR strings may not exceed 1MB in size"
},
{
"id": "CapabilityStatement.rest.security.cors",
"path": "CapabilityStatement.rest.security.cors",
"comment": "This version of the profile MUST support 'cors' Boolean element. \n\nAll National API FHIR servers SHOULD support CORS. \n\nCORS support is highly recommended - mandatory if using SMART on FHIR.\n\n\nThe easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS."
},
{
"id": "CapabilityStatement.rest.resource",
"path": "CapabilityStatement.rest.resource",
"comment": "A national 'requirements' profile MUST specify the restful capabilities of the solution for a specific resource type.\n\nA server 'instance' MUST support all resources served on the REST interface.\n\n\nMax of one repetition per resource type."
},
{
"path": "CapabilityStatement.rest.resource.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.resource.extension:capabilitystatement-search-parameter-combination",
"path": "CapabilityStatement.rest.resource.extension",
"sliceName": "capabilitystatement-search-parameter-combination",
"comment": "NHS Digital Business Rules:\n\nCapabilityStatement resource search combinations must be specified using the HL7 maintained ‘capabilityStatement -search-parameter-combination’ common extension which is a container for a single allowable parameter combination.\n\nThe extension supports required and optional parameter combinations.\n\nIf a search combination is specified, clients should expect that they must submit that required combination or the search will be unsuccesful. \n\nIf multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
}
]
},
{
"id": "CapabilityStatement.rest.resource.profile",
"path": "CapabilityStatement.rest.resource.profile",
"comment": "A national 'requirements' profile MUST specify the profile that describes the solution's overall support for the resource.\n\nA server 'instance' MUST support the profile that describes the solution's overall support for the resource.\n\n\nThe profile applies to all resources of this type - i.e. it is the superset of what is supported by the system."
},
{
"id": "CapabilityStatement.rest.resource.interaction",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "ResourceInteraction"
}
],
"path": "CapabilityStatement.rest.resource.interaction",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile that SHOULD NOT specify restful operations supported by the solution."
},
{
"path": "CapabilityStatement.rest.resource.interaction.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.resource.interaction.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.interaction.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"id": "CapabilityStatement.rest.resource.interaction.code",
"path": "CapabilityStatement.rest.resource.interaction.code",
"comment": "A national 'requirements' profile MUST specify coded identifiers of the interaction codes supported by the national system.\n\nA server 'instance' MUST support coded identifiers of the interaction codes supported by the national system."
},
{
"id": "CapabilityStatement.rest.resource.versioning",
"path": "CapabilityStatement.rest.resource.versioning",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support versioning for a resource type.\nIf the capability statement does not explicitly support this field the default code = ‘no-version’. This indicates that the server does not support versioning for a resource type.\n\n\n\n\nIf a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so."
},
{
"id": "CapabilityStatement.rest.resource.readHistory",
"path": "CapabilityStatement.rest.resource.readHistory",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support returning past versions of a resource as part of the vRead operation.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server is NOT able to return past versions of the resource as part of the vRead operation. \n\n\nIt is useful to support the vRead operation for current operations, even if past versions aren't available."
},
{
"id": "CapabilityStatement.rest.resource.updateCreate",
"path": "CapabilityStatement.rest.resource.updateCreate",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY allow clients to create new identities on the server using the updateCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT allow clients to create new identities on the server.\n\n\n\nAllowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place."
},
{
"id": "CapabilityStatement.rest.resource.conditionalCreate",
"path": "CapabilityStatement.rest.resource.conditionalCreate",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalCreate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional create.\n\n\n\nConditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2."
},
{
"id": "CapabilityStatement.rest.resource.conditionalRead",
"path": "CapabilityStatement.rest.resource.conditionalRead",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalRead operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional read for a resource type.\n\n\nConditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2."
},
{
"id": "CapabilityStatement.rest.resource.conditionalUpdate",
"path": "CapabilityStatement.rest.resource.conditionalUpdate",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalUpdate operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default flag = ‘false’. This indicates that the server does NOT support conditional update.\n\n\nConditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2."
},
{
"id": "CapabilityStatement.rest.resource.conditionalDelete",
"path": "CapabilityStatement.rest.resource.conditionalDelete",
"comment": "NHS Digital Business Rules:\n\nNHS Digital national REST API Capability Statements of kind ‘requirements’ and server 'instances' MAY support the conditionalDelete operation for a resource type.\n\nIf the capability statement does not explicitly support this field the default code = ‘not-supported’. This indicates that the server does not support conditional delete for a resource type.\n\n\nConditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2."
},
{
"id": "CapabilityStatement.rest.resource.referencePolicy",
"path": "CapabilityStatement.rest.resource.referencePolicy",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify how references are supported using the 'reference-handling-policy' value set. \n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify using the 'reference-handling-policy' value set codes HOW a national server supports references.\n\nA server 'instance' of a National API MAY make available server reference complaince using the 'reference-handling-policy' value set codes.\n\n\nNote that FHIR strings may not exceed 1MB in size"
},
{
"id": "CapabilityStatement.rest.resource.searchInclude",
"path": "CapabilityStatement.rest.resource.searchInclude",
"comment": "A national 'requirements' profile MUST specify the list of _include values supported by the system.\n\nA server 'instance' MUST support the list of _include values supported by the system.\n\nIf this list is empty, the server does not support includes."
},
{
"path": "CapabilityStatement.rest.resource.searchInclude.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.resource.searchInclude.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchInclude.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude",
"path": "CapabilityStatement.rest.resource.searchRevInclude",
"comment": "A national 'requirements' profile MUST specify the list of _revinclude values supported by the system.\n\nA server 'instance' MUST support the list of _revinclude values supported by the system.\n\nIf this list is empty, the server does not support reverse includes."
},
{
"path": "CapabilityStatement.rest.resource.searchRevInclude.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.resource.searchRevInclude.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchRevInclude.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"id": "CapabilityStatement.rest.resource.searchParam",
"path": "CapabilityStatement.rest.resource.searchParam",
"comment": "NHS Digital Business Rules:\n\nMUST reference either search parameters defined in the specification, or additional ones defined for/by the implementation.\nMAY reference search parameters for all resources or search result parameters.\n\n\n\n\nSearch combinations for specific purposes/ use cases must be supported in the CapabilityStatement using a bespoke extension."
},
{
"path": "CapabilityStatement.rest.resource.searchParam.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.resource.searchParam.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.resource.searchParam.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\nhttp://hl7.org/fhir/STU3/valueset-conformance-expectation.html\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"reference": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
}
},
{
"id": "CapabilityStatement.rest.resource.searchParam.name",
"path": "CapabilityStatement.rest.resource.searchParam.name",
"comment": "MUST match Name of search parameter in STU3 Resource definitions.\n\nWhen specified, MUST match Name of search parameter in STU3 Resource definitions.\n\nParameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined."
},
{
"id": "CapabilityStatement.rest.resource.searchParam.definition",
"path": "CapabilityStatement.rest.resource.searchParam.definition",
"comment": "MUST be URI that is a formal reference to where this parameter was first defined.\n\nDefinition SHOULD be present in both 'requirements' and 'instance' capability statements.\n\nThis SHOULD be present, and matches refers to a SearchParameter by its canonical url. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource."
},
{
"path": "CapabilityStatement.rest.interaction.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.interaction.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.interaction.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"id": "CapabilityStatement.rest.searchParam",
"path": "CapabilityStatement.rest.searchParam",
"comment": "NHS Digital Business Rules:\n\nMUST reference search parameters that apply to all resources - tags, profiles, text search etc.\n\nTypically, the only search parameters supported for all searchse are those that apply to all resources - tags, profiles, text search etc."
},
{
"id": "CapabilityStatement.rest.operation",
"path": "CapabilityStatement.rest.operation",
"comment": "NHS Digital Business Rules:\n\nThe NHSDigital-CapabilityStatement-1 profile is a generic NHS Capability Statement profile and SHOULD NOT specify operations or a named queries.\n\nA national profile ('requirements') of the NHSDigital-CapabilityStatement-1 profile MAY specify operations or a named queries.\n\nA server 'instance' of a National API MAY make available a list of operations or a named queries that MUST be supported by a national FHIR API server."
},
{
"path": "CapabilityStatement.rest.operation.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.rest.operation.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.rest.operation.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"path": "CapabilityStatement.messaging.event.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.messaging.event.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.messaging.event.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"valueSetUri": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
},
{
"path": "CapabilityStatement.document.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"rules": "open"
}
},
{
"id": "CapabilityStatement.document.extension:capabilityStatementExpectation",
"path": "CapabilityStatement.document.extension",
"sliceName": "capabilityStatementExpectation",
"comment": "NHS Digital Business Rules:\n\nFHIR endpoint capability must be specified within the CapabilityStatement resource using the HL7 maintained ‘capabilitystatement-expectation’ common extension. \n\nIt defines the level of expectation associated with a given system capability. \n\nThe ‘capabilitystatement-expectation’ extension is bound to the ‘conformance-expectation’ value set. \n\nThis value set defines the following codes which must be used when publishing a FHIR capability statement:\n\nCode/ Definition:\nSHALL - Support for the specified capability is required to be considered conformant.\nSHOULD - Support for the specified capability is strongly encouraged and failure to support it should only occur after careful consideration.\nMAY - Support for the specified capability is not necessary to be considered conformant and the requirement should be considered strictly optional.\nSHOULD-NOT - Support for the specified capability is strongly discouraged and should occur only after careful consideration.\n\nIf \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension. This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
"type": [
{
"code": "Extension",
"profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatement-Expectation-1"
}
],
"binding": {
"strength": "required",
"description": "Defines the level of expectation associated with a given system capability.",
"reference": "http://hl7.org/fhir/ValueSet/conformance-expectation"
}
}
}
]
}
}
---
back to top