CapabilityStatement Definitions
<a id="CapabilityStatement"></a>
CapabilityStatement
A statement of system capabilities
Definition: A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server or Client for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.
Comments: Applications may implement multiple versions (see Managing Multiple Versions, and the $versions operation). If they do, then a CapabilityStatement describes the system's support for a particular version of FHIR, and the server will have multiple statements, one for each version.
Cardinality: 0..*
Constraints: cnl-0 | warning | Name should be usable as an identifier for the module by machine processing applications such as code generation | name.exists() implies name.matches('^A-Z{1,254}$'); cpb-4 | error | There should only be one CapabilityStatement.rest per mode. | rest.mode.isDistinct(); cpb-7 | error | The set of documents must be unique by the combination of profile and mode. | document.select(profile&mode).isDistinct(); cpb-16 | error | If kind = requirements, implementation and software must be absent | (kind!='requirements') or (implementation.exists().not() and software.exists().not()); cpb-15 | error | If kind = capability, implementation must be absent, software must be present | (kind != 'capability') or (implementation.exists().not() and software.exists()); cpb-3 | error | Messaging end-point is only permitted when a capability statement is for an implementation. | messaging.endpoint.empty() or kind = 'instance'; cpb-14 | error | If kind = instance, implementation must be present and software may be present | (kind != 'instance') or implementation.exists(); cpb-2 | error | A Capability Statement SHALL have at least one of description, software, or implementation element. | (description.count() + software.count() + implementation.count()) > 0; cpb-1 | error | A Capability Statement SHALL have at least one of REST, messaging or document element. | rest.exists() or messaging.exists() or document.exists()
Mappings: rim=n/a; w5=conformance.behavior
<a id="CapabilityStatement.url"></a>
CapabilityStatement.url
Canonical identifier for this capability statement, represented as a URI (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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this capability statement is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the capability statement is stored on different servers.
Comments: Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.
The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions.
In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.
Requirements: Allows the capability statement to be referenced by a single globally unique identifier.
Cardinality: 0..1
Type: uri
Summary: true
Constraints: cnl-1 | warning | URL should not contain | or # - these characters make processing canonical references problematic | exists() implies matches('^[^|# ]+$')
Mappings: w5=FiveWs.identifier
<a id="CapabilityStatement.identifier"></a>
CapabilityStatement.identifier
Additional identifier for the CapabilityStatement (business identifier)
Definition: A formal identifier that is used to identify this CapabilityStatement when it is represented in other formats, or referenced in a specification, model, design or an instance.
Requirements: Allows externally provided and/or usable business identifiers to be easily associated with the module.
Cardinality: 0..*
Type: Identifier
Summary: true
Mappings: w5=FiveWs.identifier
<a id="CapabilityStatement.version"></a>
CapabilityStatement.version
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.
Comments: There 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 reference to a particular business version of the capability statement with the format [url]|[version]. The version SHOULD NOT contain a '#' - see Business Version.
Cardinality: 0..1
Type: string
Summary: true
Mappings: w5=FiveWs.version
<a id="CapabilityStatement.versionAlgorithm[x]"></a>
CapabilityStatement.versionAlgorithm[x]
How to compare versions
Definition: Indicates the mechanism used to compare versions to determine which is more current.
Comments: If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.
Cardinality: 0..1
Binding: extensible:version-algorithm
Summary: true
<a id="CapabilityStatement.name"></a>
CapabilityStatement.name
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.
Comments: The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
Requirements: Support human navigation and code generation.
Conditions: cnl-0
Cardinality: 0..1
Type: string
Summary: true
<a id="CapabilityStatement.title"></a>
CapabilityStatement.title
Name for this capability statement (human friendly)
Definition: A short, descriptive, user-friendly title for the capability statement.
Comments: This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
Cardinality: 0..1
Type: string
Summary: true
<a id="CapabilityStatement.status"></a>
CapabilityStatement.status
draft | active | retired | unknown
Definition: The status of this capability statement. Enables tracking the life-cycle of the content.
Comments: Allows filtering of capability statements that are appropriate for use versus not.This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems.
See guidance around (not) making local changes to elements here.
Cardinality: 1..1
Type: code
Binding: required:publication-status
Summary: true
Is Modifier: true (Reason: This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration)
Mappings: w5=FiveWs.status
<a id="CapabilityStatement.experimental"></a>
CapabilityStatement.experimental
For testing only - never for real usage
Definition: A Boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing) and no version of this resource will ever be intended for genuine usage.
Comments: Allows filtering of capability statements that are appropriate for use versus not.. Experimental resources might include example instances in implementation guides, instances created solely for testing purposes, etc. If experimental is 'true' for any version of a resource, it should be true for all versions of the resource. (If experimental changes, then it is being misused or a resource that was never intended for real-world use has unexpectedly changed its purpose.).
Experimental resources are not expected to be stable and may well have breaking changes without a corresponding change to the 'version' element.
Requirements: Enables experimental content to be developed following the same lifecycle that would be used for a production-level capability statement.
Meaning if Missing: If absent, this resource is treated as though it is not experimental.
Cardinality: 0..1
Type: boolean
Summary: true
Mappings: w5=FiveWs.class
<a id="CapabilityStatement.date"></a>
CapabilityStatement.date
Date last changed
Definition: The date (and optionally time) when the capability statement was last significantly changed. The date must change 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.
Comments: The date is often not tracked until the resource is published, but may be present on draft content. 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.
See guidance around (not) making local changes to elements here.
Aliases: Revision Date
Cardinality: 1..1
Type: dateTime
Summary: true
Mappings: w5=FiveWs.recorded
<a id="CapabilityStatement.publisher"></a>
CapabilityStatement.publisher
Name of the publisher/steward (organization or individual)
Definition: The name of the organization or individual responsible for the release and ongoing maintenance of the capability statement.
Comments: Usually 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.
Cardinality: 0..1
Type: string
Summary: true
Mappings: w5=FiveWs.witness
<a id="CapabilityStatement.contact"></a>
CapabilityStatement.contact
Contact details for the publisher
Definition: Contact details to assist a user in finding and communicating with the publisher.
Comments: May be a web site, an email address, a telephone number, etc.
See guidance around (not) making local changes to elements here.
Cardinality: 0..*
Type: ContactDetail
Summary: true
<a id="CapabilityStatement.description"></a>
CapabilityStatement.description
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.
Comments: This description can be used to capture details such as 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 capability statement is presumed to be the predominant language in the place the capability statement was created).This does not need to be populated if the description is adequately implied by the software or implementation details.
Conditions: cpb-2
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.useContext"></a>
CapabilityStatement.useContext
The context that the content is intended to support
Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate capability statement instances.
Comments: When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
Requirements: Assist in searching for appropriate content.
Cardinality: 0..*
Type: UsageContext
Summary: true
<a id="CapabilityStatement.actorDefinition"></a>
CapabilityStatement.actorDefinition
ActorDefinitions the CapabilityStatement supports
Definition: ActorDefinitions to describe the specific sets of functionality supported by (or that should be supported by) systems (via obligations).
Cardinality: 0..*
Type: canonical
Summary: true
<a id="CapabilityStatement.jurisdiction"></a>
CapabilityStatement.jurisdiction
Jurisdiction of the authority that maintains the capability statement (if applicable)
Definition: A legal or geographic region in which the authority that maintains the resource is operating. In general, the jurisdiction is also found in the useContext. The useContext may reference additional jurisdictions because the defining jurisdiction does not necessarily limit the jurisdictions of use.
Comments: It may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended.
DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)
Cardinality: 0..*
Type: CodeableConcept
Binding: extensible:jurisdiction
Summary: true
<a id="CapabilityStatement.purpose"></a>
CapabilityStatement.purpose
Why this capability statement is defined
Definition: Explanation of why this capability statement is needed and why it has been designed as it has.
Comments: 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.
Cardinality: 0..1
Type: markdown
Mappings: w5=FiveWs.why[x]; objimpl=no-gen-base
<a id="CapabilityStatement.copyright"></a>
CapabilityStatement.copyright
Notice about intellectual property ownership, can include restrictions on use
Definition: A copyright statement relating to the capability statement and/or its contents. Copyright statements are notices of intellectual property ownership and can include restrictions on the use and publishing of the capability statement.
Comments: ...
Requirements: Consumers must be able to determine any legal restrictions on the use of the capability statement and/or its content.
Aliases: License, Restrictions
Cardinality: 0..1
Type: markdown
Mappings: objimpl=no-gen-base
<a id="CapabilityStatement.copyrightLabel"></a>
CapabilityStatement.copyrightLabel
Copyright holder and year(s)
Definition: A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are restricted. (e.g. 'All rights reserved', 'Some rights reserved').
Comments: The copyright symbol and the '(c)' textual representation SHOULD NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.
Requirements: Defines the content expected to be rendered in all representations of the artifact.
Cardinality: 0..1
Type: string
<a id="CapabilityStatement.kind"></a>
CapabilityStatement.kind
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).
Requirements: Allow searching the 3 modes.
Conditions: cpb-16, cpb-15, cpb-3, cpb-14
Cardinality: 1..1
Type: code
Binding: required:capability-statement-kind
Summary: true
<a id="CapabilityStatement.instantiates"></a>
CapabilityStatement.instantiates
Canonical URL of another capability statement this implements
Definition: Reference to a canonical URL of another CapabilityStatement that this software implements. This capability statement is a published API description that corresponds to a business service. The server may actually implement a subset of the capability statement it claims to implement, so the capability statement must specify the full capability details.
Comments: HL7 defines the following Services: Terminology Service.
Many Implementation Guides define additional services.
Cardinality: 0..*
Type: canonical
Summary: true
<a id="CapabilityStatement.imports"></a>
CapabilityStatement.imports
Canonical URL of another capability statement this adds to
Definition: Reference to a canonical URL of another CapabilityStatement that this software adds to. The capability statement automatically includes everything in the other statement, and it is not duplicated, though the server may repeat the same resources, interactions and operations to add additional details to them.
Comments: The contents of any sibling imported CapabilityStatements SHALL NOT overlap, i.e. they cannot refer either directly or in their hierarchy to the same rest/resource, operations/name, searchparam/name, interaction/code, messaging/endpoint, document/mode pair as is found in a sibling import. However the importing CapabilityStatement is permitted to overlap, i.e. it may further refine rules around interactions, operations, etc. imported from another CapabilityStatement. If a CapabilityStatement has a hierarchy of imports, the whole hierarchy must be navigated to determine the full set of resources, interactions, operations, etc. that are being imported (including any refinements at lower levels of the hierarchy) when checking for overlap with sibling imports.
A capability statement that imports another CapabilityStatement automatically instantiates it too (though this is often not a very useful statement for the kinds of CapabilityStatements that are suitable for importing).
Cardinality: 0..*
Type: canonical
Summary: true
<a id="CapabilityStatement.software"></a>
CapabilityStatement.software
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.
Conditions: cpb-16, cpb-15, cpb-2
Cardinality: 0..1
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.software.name"></a>
CapabilityStatement.software.name
A name the software is known by
Definition: Name the software is known by.
Cardinality: 1..1
Type: string
Summary: true
<a id="CapabilityStatement.software.version"></a>
CapabilityStatement.software.version
Version covered by this statement
Definition: The version identifier for the software covered by this statement.
Comments: If possible, a version should be specified, as statements are likely to be different for different versions of software.
Cardinality: 0..1
Type: string
Summary: true
<a id="CapabilityStatement.software.releaseDate"></a>
CapabilityStatement.software.releaseDate
Date this version was released
Definition: Date this version of the software was released.
Cardinality: 0..1
Type: dateTime
Summary: true
<a id="CapabilityStatement.implementation"></a>
CapabilityStatement.implementation
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.
Conditions: cpb-16, cpb-15, cpb-14, cpb-2
Cardinality: 0..1
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.implementation.description"></a>
CapabilityStatement.implementation.description
Describes this specific instance
Definition: Information about the specific installation that this capability statement relates to.
Cardinality: 1..1
Type: markdown
Summary: true
<a id="CapabilityStatement.implementation.url"></a>
CapabilityStatement.implementation.url
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.
Cardinality: 0..1
Type: url
Summary: true
<a id="CapabilityStatement.implementation.custodian"></a>
CapabilityStatement.implementation.custodian
Organization that manages the data
Definition: The organization responsible for the management of the instance and oversight of the data on the server at the specified URL.
Cardinality: 0..1
Type: Reference(Organization)
Summary: true
<a id="CapabilityStatement.fhirVersion"></a>
CapabilityStatement.fhirVersion
FHIR Version the system supports
Definition: The version of the FHIR specification that this CapabilityStatement describes (which SHALL be the same as the FHIR version of the CapabilityStatement itself). There is no default value.
Comments: Servers may implement multiple versions (see Managing Multiple Versions, and the $versions operation). If they do, and the CapabilityStatement is requested from the server, then this fhirVersion will be either the version requested, or the server's default version.
Cardinality: 1..1
Type: code
Binding: required:FHIR-version
Summary: true
<a id="CapabilityStatement.format"></a>
CapabilityStatement.format
formats supported (xml | json | ttl | mime type)
Definition: A list of the formats supported by this implementation using their content types.
Comments: "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.
Cardinality: 1..*
Type: code
Binding: required:supplemented-mimetypes
Summary: true
<a id="CapabilityStatement.patchFormat"></a>
CapabilityStatement.patchFormat
Patch formats supported (Mime types for FHIR and JSON And XML Patch)
Definition: A list of the patch formats supported by this implementation using their content types.
Comments: At 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.
Cardinality: 0..*
Type: code
Binding: required:patchmimetypes
Summary: true
<a id="CapabilityStatement.acceptLanguage"></a>
CapabilityStatement.acceptLanguage
Languages supported
Definition: A list of the languages supported by this implementation that are usefully supported in the Accept-Language header.
Comments: In general, if a server gets a request with an Accept-Language that it doesn't support, it should still reutrn the resource, just in its default language for the resource.
Cardinality: 0..*
Type: code
Binding: required:all-languages
Summary: true
<a id="CapabilityStatement.implementationGuide"></a>
CapabilityStatement.implementationGuide
Implementation guides supported
Definition: A list of implementation guides that the server does (or should) support in their entirety.
Comments: Note: this is primarily only relevant in terms of ImplementationGuides that don't define specific CapabilityStatements declaring the expectation of distinct roles. (E.g. generic IGs that establish privacy policies.) In situations where an ImplementationGuide does define CapabilityStatements, asserting CapabilityStatement.implementationGuide means that the implementation adheres to any Implementation.global definitions present in that IG as well as any textual requirements around security or other general interoperability behaviors. However, it does not make any assertions as to conformance with any of the CapabilityStatements defined in the IG. To assert conformance with CapabilityStatements in a referenced IG, it is necessary to use the CapabilityStatement.instantiates element.
Cardinality: 0..*
Type: canonical
Summary: true
<a id="CapabilityStatement.rest"></a>
CapabilityStatement.rest
If the endpoint is a RESTful one
Definition: A definition of the restful capabilities of the solution, if any.
Comments: Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).
Conditions: cpb-4, cpb-1
Cardinality: 0..*
Type: BackboneElement
Summary: true
Constraints: cpb-9 | error | A given resource can only be described once per RESTful mode. | resource.select(type).isDistinct()
<a id="CapabilityStatement.rest.mode"></a>
CapabilityStatement.rest.mode
client | server
Definition: Identifies whether this portion of the statement is describing the ability to initiate or receive restful interactions.
Conditions: cpb-4
Cardinality: 1..1
Type: code
Binding: required:restful-capability-mode
Summary: true
<a id="CapabilityStatement.rest.documentation"></a>
CapabilityStatement.rest.documentation
General description of implementation
Definition: Information about the system's restful capabilities that apply across all applications, such as security.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.security"></a>
CapabilityStatement.rest.security
Information about security of implementation
Definition: Information about security implementation from an interface perspective - what a client needs to know.
Cardinality: 0..1
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.rest.security.cors"></a>
CapabilityStatement.rest.security.cors
Adds CORS Headers (http://enable-cors.org/)
Definition: Server adds CORS headers when responding to requests - this enables Javascript applications to use the server.
Comments: The easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS.
Cardinality: 0..1
Type: boolean
Summary: true
<a id="CapabilityStatement.rest.security.service"></a>
CapabilityStatement.rest.security.service
OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
Definition: Types of security services that are supported/required by the system.
Cardinality: 0..*
Type: CodeableConcept
Binding: extensible:restful-security-service
Summary: true
<a id="CapabilityStatement.rest.security.description"></a>
CapabilityStatement.rest.security.description
General description of how security works
Definition: General description of how security works.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.resource"></a>
CapabilityStatement.rest.resource
Resource served on the REST interface
Definition: A specification of the restful capabilities of the solution for a specific resource type.
Comments: Max of one repetition per resource type.
Conditions: cpb-9
Cardinality: 0..*
Type: BackboneElement
Summary: true
Constraints: cpb-12 | error | Search parameter names must be unique in the context of a resource. | searchParam.select(name).isDistinct()
<a id="CapabilityStatement.rest.resource.type"></a>
CapabilityStatement.rest.resource.type
A resource type that is supported
Definition: A relative URL, in which case it is a type of resource exposed via the restful interface, either a resource defined in this specification, or an additional resource, or else a full URL referring to some other type that specialises the base resource (e.g. a custom resource).
Conditions: cpb-9
Cardinality: 1..1
Type: uri
Binding: extensible:extended-resource-types
Summary: true
<a id="CapabilityStatement.rest.resource.definition"></a>
CapabilityStatement.rest.resource.definition
The definition for an additional resource
Definition: The definition of the resource, if the resource is an additional resource. If it is not an additional resource, then this element must not be present.
Cardinality: 0..1
Type: canonical
Summary: true
<a id="CapabilityStatement.rest.resource.profile"></a>
CapabilityStatement.rest.resource.profile
System-wide profile
Definition: A system-wide profile that is applied across all instances of the resource supported by the system. For example, if declared on Observation, this profile is the "superset" of capabilities for laboratory and vitals and other domains. See further discussion in Using Profiles.
Comments: All other profiles for this type that are listed in .rest.resource.supportedProfile must conform to this profile.
Cardinality: 0..1
Type: canonical
Summary: true
<a id="CapabilityStatement.rest.resource.supportedProfile"></a>
CapabilityStatement.rest.resource.supportedProfile
Use-case specific profiles
Definition: A list of profiles representing different use cases the system hosts/produces. A supported profile is a statement about the functionality of the data and services provided by the server (or the client) for supported use cases. For example, a system can define and declare multiple Observation profiles for laboratory observations, vital sign observations, etc. By declaring supported profiles, systems provide a way to determine whether individual resources are conformant. See further discussion in Using Profiles.
Comments: Supported profiles must conform to the resource profile in the .rest.resource.profile element if it is present. The resource profile is a system-wide profile applied across all instances of the resource supported by the system. A supported profile is a statement about the functionality of the data and services provided by the server (or used by the client) for a particular set of use cases and will not necessarily apply to all data consumed or exposed by the server.
Cardinality: 0..*
Type: canonical
Summary: true
<a id="CapabilityStatement.rest.resource.documentation"></a>
CapabilityStatement.rest.resource.documentation
Additional information about the use of the resource type
Definition: Additional information about the resource type used by the system.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.resource.interaction"></a>
CapabilityStatement.rest.resource.interaction
What interactions are supported?
Definition: Identifies a restful interaction supported by the solution.
Comments: In general, a Resource will only appear in a CapabilityStatement if the server actually has some capabilities - e.g. there is at least one interaction supported. However interactions can be omitted to support summarization (_summary = true).
Cardinality: 0..*
Type: BackboneElement
<a id="CapabilityStatement.rest.resource.interaction.code"></a>
CapabilityStatement.rest.resource.interaction.code
read | vread | update | update-conditional | patch | patch-conditional | delete | delete-conditional-single | delete-conditional-multiple | delete-history | delete-history-version | history-instance | history-type | create | create-conditional | search-type
Definition: Coded identifier of the interaction, supported by the system resource.
Cardinality: 1..1
Type: code
Binding: required:type-restful-interaction
<a id="CapabilityStatement.rest.resource.interaction.documentation"></a>
CapabilityStatement.rest.resource.interaction.documentation
Anything special about interaction behavior
Definition: Guidance specific to the implementation of this interaction, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'.
Requirements: REST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.resource.versioning"></a>
CapabilityStatement.rest.resource.versioning
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.
Comments: If a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so.
Cardinality: 0..1
Type: code
Binding: required:versioning-policy
<a id="CapabilityStatement.rest.resource.readHistory"></a>
CapabilityStatement.rest.resource.readHistory
Whether vRead can return past versions
Definition: A flag for whether the server is able to return past versions as part of the vRead interaction.
Comments: It is useful to support the vRead interaction for current interactions, even if past versions aren't available.
Cardinality: 0..1
Type: boolean
<a id="CapabilityStatement.rest.resource.updateCreate"></a>
CapabilityStatement.rest.resource.updateCreate
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 (that is, the client PUTs to a location where there is no existing resource). Allowing this interaction means that the server allows the client to create new identities on the server.
Comments: Allowing 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.
Cardinality: 0..1
Type: boolean
<a id="CapabilityStatement.rest.resource.conditionalCreate"></a>
CapabilityStatement.rest.resource.conditionalCreate
If allows/uses conditional create
Definition: A flag that indicates that the server supports conditional create.
Comments: Conditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2.
Cardinality: 0..1
Type: boolean
<a id="CapabilityStatement.rest.resource.conditionalRead"></a>
CapabilityStatement.rest.resource.conditionalRead
not-supported | modified-since | not-match | full-support
Definition: A code that indicates how the server supports conditional read.
Comments: Conditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2.
Cardinality: 0..1
Type: code
Binding: required:conditional-read-status
<a id="CapabilityStatement.rest.resource.conditionalUpdate"></a>
CapabilityStatement.rest.resource.conditionalUpdate
If allows/uses conditional update
Definition: A flag that indicates that the server supports conditional update.
Comments: Conditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2.
Cardinality: 0..1
Type: boolean
<a id="CapabilityStatement.rest.resource.conditionalPatch"></a>
CapabilityStatement.rest.resource.conditionalPatch
If allows/uses conditional patch
Definition: A flag that indicates that the server supports conditional patch.
Comments: Conditional Patch is mainly appropriate for interface engine scripts converting from other formats, such as v2.
Cardinality: 0..1
Type: boolean
<a id="CapabilityStatement.rest.resource.conditionalDelete"></a>
CapabilityStatement.rest.resource.conditionalDelete
not-supported | single | multiple - how conditional delete is supported
Definition: A code that indicates how the server supports conditional delete.
Comments: Conditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2.
Cardinality: 0..1
Type: code
Binding: required:conditional-delete-status
<a id="CapabilityStatement.rest.resource.referencePolicy"></a>
CapabilityStatement.rest.resource.referencePolicy
literal | logical | resolves | enforced | local
Definition: A set of flags that defines how references are supported.
Cardinality: 0..*
Type: code
Binding: required:reference-handling-policy
<a id="CapabilityStatement.rest.resource.searchInclude"></a>
CapabilityStatement.rest.resource.searchInclude
_include values supported by the server
Definition: A list of _include values supported by the server.
Comments: Documenting _include support helps set conformance expectations for the desired system. Still, it is a level of detail that might not be exposed by production servers or clients when using CapabilityStatement to describe an actual implementation. If this list is empty, the server does not support includes. The wildcard, *, is an allowed value and used to signal support for requests using an * in place of a specific value. In a CapabilityStatement, listing an * makes no assertions beyond that support - the actual search parameters available still must be listed individually. Support for iterative (a.k.a., recursive) _include is communicated by listing the iterative includes values supported by the server in the searchInclude element of the "root" resource type. For example, to support the following search:
GET [base]/CarePlan?_include=CarePlan:activity-reference:DeviceRequest&_include:iterate=DeviceRequest:device
These values would be listed as part of capabilities for "CarePlan":
"searchInclude" : ["CarePlan:activity-reference:DeviceRequest","DeviceRequest:device"]
Cardinality: 0..*
Type: string
<a id="CapabilityStatement.rest.resource.searchRevInclude"></a>
CapabilityStatement.rest.resource.searchRevInclude
_revinclude values supported by the server
Definition: A list of _revinclude (reverse include) values supported by the server.
Comments: See CapabilityStatement.rest.resource.searchInclude comments.
Cardinality: 0..*
Type: string
<a id="CapabilityStatement.rest.resource.searchParam"></a>
CapabilityStatement.rest.resource.searchParam
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.
Comments: The search parameters should include the control search parameters such as _sort, _count, etc. that also apply to this resource (though many will be listed at CapabilityStatement.rest.searchParam). The behavior of some search parameters may be further described by other code or extension elements, or narrative within the capability statement or linked SearchParameter definitions. If documenting a parameter that is not a 'true' SearchParameter (such as _format, _count, etc.), the .definition element SHALL be omitted and the type SHOULD be 'special'.
Conditions: cpb-12
Cardinality: 0..*
Type: BackboneElement
<a id="CapabilityStatement.rest.resource.searchParam.name"></a>
CapabilityStatement.rest.resource.searchParam.name
Name for parameter in search url
Definition: The label used for the search parameter in this particular system's API - i.e. the 'name' portion of the name-value pair that will appear as part of the search URL. This SHOULD be the same as the SearchParameter.code of the defining SearchParameter. However, it can sometimes differ if necessary to disambiguate when a server supports multiple SearchParameters that happen to share the same code.
Comments: Parameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined. There is no correspondence whatsoever between CapabilityStatement's searchParam.name and SearchParameter.name - the latter is used as a class name when generating code for the search parameter.
Conditions: cpb-12
Cardinality: 1..1
Type: string
<a id="CapabilityStatement.rest.resource.searchParam.definition"></a>
CapabilityStatement.rest.resource.searchParam.definition
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). This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs.
Comments: This 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. This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs.
Cardinality: 0..1
Type: canonical
<a id="CapabilityStatement.rest.resource.searchParam.type"></a>
CapabilityStatement.rest.resource.searchParam.type
number | date | string | token | reference | composite | quantity | uri | special | resource
Definition: The type of value a search parameter refers to, and how the content is interpreted.
Comments: 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.
Cardinality: 1..1
Type: code
Binding: required:search-param-type
<a id="CapabilityStatement.rest.resource.searchParam.documentation"></a>
CapabilityStatement.rest.resource.searchParam.documentation
Server-specific usage
Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.resource.operation"></a>
CapabilityStatement.rest.resource.operation
Definition of a resource operation
Definition: Definition of an operation or a named query together with its parameters and their meaning and type. Consult the definition of the operation for details about how to invoke the operation, and the parameters.
Comments: Operations linked from CapabilityStatement.rest.resource.operation must have OperationDefinition.type = true or OperationDefinition.instance = true.
If an operation that is listed in multiple CapabilityStatement.rest.resource.operation (e.g. for different resource types), then clients should understand that the operation is only supported on the specified resource types, and that may be a subset of those listed in OperationDefinition.resource.
Cardinality: 0..*
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.rest.resource.operation.name"></a>
CapabilityStatement.rest.resource.operation.name
Name by which the operation/query is invoked
Definition: The name of the operation or query. For an operation, this name is prefixed with $ and used in the URL. For a query, this is the name used in the _query parameter when the query is called. This SHOULD be the same as the OperationDefinition.code of the defining OperationDefinition. However, it can sometimes differ if necessary to disambiguate when a server supports multiple OperationDefinition that happen to share the same code.
Comments: The name here SHOULD be the same as the OperationDefinition.code in the referenced OperationDefinition, unless there is a name clash and the OperationDefinition.code cannot be used. The name does not include the "$" portion that is always included in the URL. There is no correspondence whatsoever between CapabilityStatement's operation.name and OperationDefinition.name - the latter is used as a class name when generating code for the operation. HL7 will never define operations that have conflicting names.
Cardinality: 1..1
Type: string
Summary: true
<a id="CapabilityStatement.rest.resource.operation.definition"></a>
CapabilityStatement.rest.resource.operation.definition
The defined operation/query
Definition: Where the formal definition can be found. If a server references the base definition of an Operation (i.e. from the specification itself such as http://hl7.org/fhir/OperationDefinition/ValueSet-expand), that means it supports the full capabilities of the operation - e.g. both GET and POST invocation. If it only supports a subset, it must define its own custom OperationDefinition with a 'base' of the original OperationDefinition. The custom definition would describe the specific subset of functionality supported.
Comments: This can be used to build an HTML form to invoke the operation, for instance.
Cardinality: 1..1
Type: canonical
Summary: true
<a id="CapabilityStatement.rest.resource.operation.documentation"></a>
CapabilityStatement.rest.resource.operation.documentation
Specific details about operation behavior
Definition: Documentation that describes anything special about the operation behavior, possibly detailing different behavior for system, type and instance-level invocation of the operation.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.interaction"></a>
CapabilityStatement.rest.interaction
What interactions are supported?
Definition: A specification of restful operations supported by the system.
Cardinality: 0..*
Type: BackboneElement
<a id="CapabilityStatement.rest.interaction.code"></a>
CapabilityStatement.rest.interaction.code
transaction | batch | search-system | history-system
Definition: A coded identifier of the interaction, supported by the system.
Cardinality: 1..1
Type: code
Binding: required:system-restful-interaction
<a id="CapabilityStatement.rest.interaction.documentation"></a>
CapabilityStatement.rest.interaction.documentation
Anything special about interaction behavior
Definition: Guidance specific to the implementation of this interaction, such as limitations on the kind of transactions allowed, or information about system wide search is implemented.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.rest.searchParam"></a>
CapabilityStatement.rest.searchParam
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. This is only for searches executed against the system-level endpoint.
Comments: Typically, the only search parameters supported for all searches are those that apply to all resources - tags, profiles, text search etc. These search parameters should include the control search parameters such as _sort, _count, etc. that also apply to this resource (though many will be listed at CapabilityStatement.rest.searchParam). The behavior of some search parameters may be further described by other code or extension elements, or narrative within the capability statement or linked SearchParameter definitions. If documenting a parameter that is not a 'true' SearchParameter (such as _format, _count, etc.), the .definition element SHALL be omitted and the type SHOULD be 'special'.
Cardinality: 0..*
<a id="CapabilityStatement.rest.operation"></a>
CapabilityStatement.rest.operation
Definition of a system level operation
Definition: Definition of an operation or a named query together with its parameters and their meaning and type.
Comments: CapabilityStatement.rest.operation is for operations invoked at the system level, or for operations that are supported across multiple resource types. Operations linked from CapabilityStatement.rest.operation must have OperationDefinition.system = true, or more than one Operation.resource.
Cardinality: 0..*
Summary: true
<a id="CapabilityStatement.rest.compartment"></a>
CapabilityStatement.rest.compartment
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 .
Comments: At present, the only defined compartments are at CompartmentDefinition.
Cardinality: 0..*
Type: canonical
<a id="CapabilityStatement.messaging"></a>
CapabilityStatement.messaging
If messaging is supported
Definition: A description of the messaging capabilities of the solution.
Comments: Multiple repetitions allow the documentation of multiple endpoints per solution.
Conditions: cpb-1
Cardinality: 0..*
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.messaging.endpoint"></a>
CapabilityStatement.messaging.endpoint
Where messages should be sent
Definition: An endpoint (network accessible address) to which messages and/or replies are to be sent.
Aliases: 3
Conditions: cpb-3
Cardinality: 0..*
Type: BackboneElement
<a id="CapabilityStatement.messaging.endpoint.protocol"></a>
CapabilityStatement.messaging.endpoint.protocol
http | ftp | mllp +
Definition: A list of the messaging transport protocol(s) identifiers, supported by this endpoint.
Cardinality: 1..1
Type: Coding
Binding: extensible:message-transport
<a id="CapabilityStatement.messaging.endpoint.address"></a>
CapabilityStatement.messaging.endpoint.address
Network address or identifier of the end-point
Definition: The network address of the endpoint. For solutions that do not use network addresses for routing, it can be just an identifier.
Cardinality: 1..1
Type: url
<a id="CapabilityStatement.messaging.reliableCache"></a>
CapabilityStatement.messaging.reliableCache
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).
Comments: If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging.
Cardinality: 0..1
Type: unsignedInt
<a id="CapabilityStatement.messaging.documentation"></a>
CapabilityStatement.messaging.documentation
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.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.messaging.supportedMessage"></a>
CapabilityStatement.messaging.supportedMessage
Messages supported by this system
Definition: References to message definitions for messages this system can send or receive.
Comments: This is a proposed alternative to the messaging.event structure.
Cardinality: 0..*
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.messaging.supportedMessage.mode"></a>
CapabilityStatement.messaging.supportedMessage.mode
sender | receiver
Definition: The mode of this event declaration - whether application is sender or receiver.
Cardinality: 1..1
Type: code
Binding: required:event-capability-mode
Summary: true
<a id="CapabilityStatement.messaging.supportedMessage.definition"></a>
CapabilityStatement.messaging.supportedMessage.definition
Message supported by this system
Definition: Points to a message definition that identifies the messaging event, message structure, allowed responses, etc.
Cardinality: 1..1
Type: canonical
Summary: true
<a id="CapabilityStatement.document"></a>
CapabilityStatement.document
Document definition
Definition: A document definition.
Conditions: cpb-7, cpb-1
Cardinality: 0..*
Type: BackboneElement
Summary: true
<a id="CapabilityStatement.document.mode"></a>
CapabilityStatement.document.mode
producer | consumer
Definition: Mode of this document declaration - whether an application is a producer or consumer.
Conditions: cpb-7
Cardinality: 1..1
Type: code
Binding: required:document-mode
Summary: true
<a id="CapabilityStatement.document.documentation"></a>
CapabilityStatement.document.documentation
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.
Cardinality: 0..1
Type: markdown
<a id="CapabilityStatement.document.profile"></a>
CapabilityStatement.document.profile
Constraint on the resources used in the document
Definition: A profile on the document Bundle that constrains which resources are present, and their contents.
Comments: The profile is actually on the Bundle.
Conditions: cpb-7
Cardinality: 1..1
Type: canonical
Summary: true