FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

5.2 Resource CapabilityStatement - Content

FHIR Infrastructure Work GroupMaturity Level: 3 Trial UseCompartments: Not linked to any defined compartments

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.

The capability statement is a key part of the overall conformance framework in FHIR. It is used as a statement of the features of actual software, or of a set of rules for an application to provide. This statement connects to all the detailed statements of functionality, such as StructureDefinitions and ValueSets. This composite statement of application capability may be used for system compatibility testing, code generation, or as either the basis for a conformance assessment. For further information about Conformance testing, see Conformance Rules and Profiling FHIR.

Specifically, capability statements are used in one of three ways:

In this scenario, the 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.

This is the type of profile that FHIR restful solutions are expected to make available on invocation of the capabilities operation. It is also the type of statement that forms a basis for the testing, certification or commissioning of specific software installations.

In this scenario, the capability statement describes generic capabilities of a software application or component solution. The solution might be available for purchase or other acquisition and might be deployed and configured at any number of independent sites. Because it is not dependent on any particular implementation, the profile cannot provide specific details such as endpoint addresses. It may also need to document various configurations in which the application can be set up or describe the degree of customizability associated with the solution.

This type of statement may be used as a marketing tool by software and system developers to formally describe their capabilities. It can also be used as the basis for conformance testing of software solutions independent of a particular installation.

In this scenario, the capability statement describes the capabilities of a desired system. It might be used as part of an architectural design process to document needed system capabilities, or might be used as part of an RFP process to formally document the requirements of a requested solution and to document the criteria by which proposals will be evaluated.

These three types of profiles can be used together. A requirements statement can be compared against the solution statements proffered by respondents to an RFP. A solution statement for a software package forms the starting point for the implementation statement associated with a particular installation of that software package.

Capability Statements provide for a degree of automatic configuration and adaptation. However, capturing absolutely every variation that could impact the interoperability of two systems, let alone keeping that detailed information up-to-date as systems evolve through maintenance and upgrades is rarely practical. Therefore, capability statements should be seen as an interim step. They provide a degree of automation. However, they also provide a great deal of human-readable content that can minimize the need for direct communication between the operators of the systems being configured to interoperate.

This resource is referenced by testscript

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. CapabilityStatement IDomainResourceA statement of system capabilities
+ There can only be one REST declaration per mode.
+ The set of documents must be unique by the combination of profile and mode.
+ Capability Statements of kind 'instance' do not have implementation elements.
+ Messaging end-point is required (and is only permitted) when a statement is for an implementation.
+ Capability Statements of kind 'requirements' do not have software or implementation elements.
+ A Capability Statement SHALL have at least one of description, software, or implementation element.
+ A Capability Statement SHALL have at least one of REST, messaging or document element.
Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
... url Σ0..1uriLogical URI to reference this capability statement (globally unique)
... version Σ0..1stringBusiness version of the capability statement
... name Σ0..1stringName for this capability statement (computer friendly)
... title Σ0..1stringName for this capability statement (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
PublicationStatus (Required)
... experimental ?!Σ0..1booleanFor testing purposes, not real usage
... date Σ1..1dateTimeDate this was last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description I0..1markdownNatural language description of the capability statement
... useContext Σ0..*UsageContextContext the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for capability statement (if applicable)
Jurisdiction ValueSet (Extensible)
... purpose 0..1markdownWhy this capability statement is defined
... copyright 0..1markdownUse and/or publishing restrictions
... kind Σ1..1codeinstance | capability | requirements
CapabilityStatementKind (Required)
... instantiates Σ0..*uriCanonical URL of another capability statement this implements
... software ΣI0..1BackboneElementSoftware that is covered by this capability statement
.... name Σ1..1stringA name the software is known by
.... version Σ0..1stringVersion covered by this statement
.... releaseDate Σ0..1dateTimeDate this version released
... implementation ΣI0..1BackboneElementIf this describes a specific instance
.... description Σ1..1stringDescribes this specific instance
.... url Σ0..1uriBase URL for the installation
... fhirVersion Σ1..1idFHIR Version the system uses
... acceptUnknown Σ1..1codeno | extensions | elements | both
UnknownContentCode (Required)
... format Σ1..*codeformats supported (xml | json | ttl | mime type)
MimeType (Required)
... patchFormat Σ0..*codePatch formats supported
MimeType (Required)
... implementationGuide Σ0..*uriImplementation guides supported
... profile Σ0..*Reference(StructureDefinition)Profiles for use cases supported
... rest ΣI0..*BackboneElementIf the endpoint is a RESTful one
+ A given resource can only be described once per RESTful mode.
.... mode Σ1..1codeclient | server
RestfulCapabilityMode (Required)
.... documentation 0..1stringGeneral description of implementation
.... security Σ0..1BackboneElementInformation about security of implementation
..... cors Σ0..1booleanAdds CORS Headers (http://enable-cors.org/)
..... service Σ0..*CodeableConceptOAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
RestfulSecurityService (Extensible)
..... description 0..1stringGeneral description of how security works
..... certificate 0..*BackboneElementCertificates associated with security profiles
...... type 0..1codeMime type for certificates
MimeType (Required)
...... blob 0..1base64BinaryActual certificate
.... resource ΣI0..*BackboneElementResource served on the REST interface
+ Search parameter names must be unique in the context of a resource.
..... type Σ1..1codeA resource type that is supported
ResourceType (Required)
..... profile Σ0..1Reference(StructureDefinition)Base System profile for all uses of resource
..... documentation 0..1markdownAdditional information about the use of the resource type
..... interaction 1..*BackboneElementWhat operations are supported?
...... code 1..1coderead | vread | update | patch | delete | history-instance | history-type | create | search-type
TypeRestfulInteraction (Required)
...... documentation 0..1stringAnything special about operation behavior
..... versioning 0..1codeno-version | versioned | versioned-update
ResourceVersionPolicy (Required)
..... readHistory 0..1booleanWhether vRead can return past versions
..... updateCreate 0..1booleanIf update can commit to a new identity
..... conditionalCreate 0..1booleanIf allows/uses conditional create
..... conditionalRead 0..1codenot-supported | modified-since | not-match | full-support
ConditionalReadStatus (Required)
..... conditionalUpdate 0..1booleanIf allows/uses conditional update
..... conditionalDelete 0..1codenot-supported | single | multiple - how conditional delete is supported
ConditionalDeleteStatus (Required)
..... referencePolicy 0..*codeliteral | logical | resolves | enforced | local
ReferenceHandlingPolicy (Required)
..... searchInclude 0..*string_include values supported by the server
..... searchRevInclude 0..*string_revinclude values supported by the server
..... searchParam 0..*BackboneElementSearch parameters supported by implementation
...... name 1..1stringName of search parameter
...... definition 0..1uriSource of definition for parameter
...... type 1..1codenumber | date | string | token | reference | composite | quantity | uri
SearchParamType (Required)
...... documentation 0..1stringServer-specific usage
.... interaction 0..*BackboneElementWhat operations are supported?
..... code 1..1codetransaction | batch | search-system | history-system
SystemRestfulInteraction (Required)
..... documentation 0..1stringAnything special about operation behavior
.... searchParam 0..*see searchParamSearch parameters for searching all resources
.... operation Σ0..*BackboneElementDefinition of an operation or a custom query
..... name 1..1stringName by which the operation/query is invoked
..... definition Σ1..1Reference(OperationDefinition)The defined operation/query
.... compartment 0..*uriCompartments served/used by system
... messaging ΣI0..*BackboneElementIf messaging is supported
+ A Capability Statement messaging element SHALL have either supportedMessage or event element, but not both.
.... endpoint 0..*BackboneElementWhere messages should be sent
..... protocol 1..1Codinghttp | ftp | mllp +
MessageTransport (Extensible)
..... address 1..1uriNetwork address or identifier of the end-point
.... reliableCache 0..1unsignedIntReliable Message Cache Length (min)
.... documentation 0..1stringMessaging interface behavior details
.... supportedMessage Σ0..*BackboneElementMessages supported by this system
..... mode Σ1..1codesender | receiver
EventCapabilityMode (Required)
..... definition Σ1..1Reference(MessageDefinition)Message supported by this system
.... event Σ0..*BackboneElementDeclare support for this event
..... code Σ1..1CodingEvent type
MessageEvent (Example)
..... category 0..1codeConsequence | Currency | Notification
MessageSignificanceCategory (Required)
..... mode 1..1codesender | receiver
EventCapabilityMode (Required)
..... focus 1..1codeResource that's focus of message
ResourceType (Required)
..... request Σ1..1Reference(StructureDefinition)Profile that describes the request
..... response Σ1..1Reference(StructureDefinition)Profile that describes the response
..... documentation 0..1stringEndpoint-specific event documentation
... document ΣI0..*BackboneElementDocument definition
.... mode 1..1codeproducer | consumer
DocumentMode (Required)
.... documentation 0..1stringDescription of document support
.... profile Σ1..1Reference(StructureDefinition)Constraint on a resource used in the document

doco Documentation for this format

UML Diagram (Legend)

CapabilityStatement (DomainResource)url : uri [0..1]version : string [0..1]name : string [0..1]title : string [0..1]status : code [1..1] PublicationStatus! experimental : boolean [0..1]date : dateTime [1..1]publisher : string [0..1]contact : ContactDetail [0..*]description : markdown [0..1]useContext : UsageContext [0..*]jurisdiction : CodeableConcept [0..*] Jurisdiction ValueSet+ purpose : markdown [0..1]copyright : markdown [0..1]kind : code [1..1] CapabilityStatementKind! instantiates : uri [0..*]fhirVersion : id [1..1]acceptUnknown : code [1..1] UnknownContentCode! format : code [1..*] MimeType! patchFormat : code [0..*] MimeType! implementationGuide : uri [0..*]profile : Reference [0..*] StructureDefinition Softwarename : string [1..1]version : string [0..1]releaseDate : dateTime [0..1]Implementationdescription : string [1..1]url : uri [0..1]Restmode : code [1..1] RestfulCapabilityMode! documentation : string [0..1]compartment : uri [0..*]Securitycors : boolean [0..1]service : CodeableConcept [0..*] RestfulSecurityService+ description : string [0..1]Certificatetype : code [0..1] MimeType! blob : base64Binary [0..1]Resourcetype : code [1..1] ResourceType! profile : Reference [0..1] StructureDefinition documentation : markdown [0..1]versioning : code [0..1] ResourceVersionPolicy! readHistory : boolean [0..1]updateCreate : boolean [0..1]conditionalCreate : boolean [0..1]conditionalRead : code [0..1] ConditionalReadStatus! conditionalUpdate : boolean [0..1]conditionalDelete : code [0..1] ConditionalDeleteStatus! referencePolicy : code [0..*] ReferenceHandlingPolicy! searchInclude : string [0..*]searchRevInclude : string [0..*]ResourceInteractioncode : code [1..1] TypeRestfulInteraction! documentation : string [0..1]SearchParamname : string [1..1]definition : uri [0..1]type : code [1..1] SearchParamType! documentation : string [0..1]SystemInteractioncode : code [1..1] SystemRestfulInteraction! documentation : string [0..1]Operationname : string [1..1]definition : Reference [1..1] OperationDefinition MessagingreliableCache : unsignedInt [0..1]documentation : string [0..1]Endpointprotocol : Coding [1..1] MessageTransport+ address : uri [1..1]SupportedMessagemode : code [1..1] EventCapabilityMode! definition : Reference [1..1] MessageDefinition Eventcode : Coding [1..1] MessageEvent?? category : code [0..1] MessageSignificanceCategory! mode : code [1..1] EventCapabilityMode! focus : code [1..1] ResourceType! request : Reference [1..1] StructureDefinition response : Reference [1..1] StructureDefinition documentation : string [0..1]Documentmode : code [1..1] DocumentMode! documentation : string [0..1]profile : Reference [1..1] StructureDefinition software[0..1]implementation[0..1]certificate[0..*]security[0..1]interaction[1..*]searchParam[0..*]resource[0..*]interaction[0..*]searchParam[0..*]operation[0..*]rest[0..*]endpoint[0..*]supportedMessage[0..*]event[0..*]messaging[0..*]document[0..*]

XML Template

<CapabilityStatement xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <url value="[uri]"/><!-- 0..1 Logical URI to reference this capability statement (globally unique) -->
 <version value="[string]"/><!-- 0..1 Business version of the capability statement -->
 <name value="[string]"/><!-- 0..1 Name for this capability statement (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this capability statement (human friendly) -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown -->
 <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage -->
 <date value="[dateTime]"/><!-- 1..1 Date this was last changed -->
 <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- ?? 0..1 Natural language description of the capability statement -->
 <useContext><!-- 0..* UsageContext Context the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for capability statement (if applicable) --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this capability statement is defined -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <kind value="[code]"/><!-- 1..1 instance | capability | requirements -->
 <instantiates value="[uri]"/><!-- 0..* Canonical URL of another capability statement this implements -->
 <software>  <!-- ?? 0..1 Software that is covered by this capability statement -->
  <name value="[string]"/><!-- 1..1 A name the software is known by -->
  <version value="[string]"/><!-- 0..1 Version covered by this statement -->
  <releaseDate value="[dateTime]"/><!-- 0..1 Date this version released -->
 </software>
 <implementation>  <!-- ?? 0..1 If this describes a specific instance -->
  <description value="[string]"/><!-- 1..1 Describes this specific instance -->
  <url value="[uri]"/><!-- 0..1 Base URL for the installation -->
 </implementation>
 <fhirVersion value="[id]"/><!-- 1..1 FHIR Version the system uses -->
 <acceptUnknown value="[code]"/><!-- 1..1 no | extensions | elements | both -->
 <format value="[code]"/><!-- 1..* formats supported (xml | json | ttl | mime type)  -->
 <patchFormat value="[code]"/><!-- 0..* Patch formats supported  -->
 <implementationGuide value="[uri]"/><!-- 0..* Implementation guides supported -->
 <profile><!-- 0..* Reference(StructureDefinition) Profiles for use cases supported --></profile>
 <rest>  <!-- ?? 0..* If the endpoint is a RESTful one -->
  <mode value="[code]"/><!-- 1..1 client | server -->
  <documentation value="[string]"/><!-- 0..1 General description of implementation -->
  <security>  <!-- 0..1 Information about security of implementation -->
   <cors value="[boolean]"/><!-- 0..1 Adds CORS Headers (http://enable-cors.org/) -->
   <service><!-- 0..* CodeableConcept OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates --></service>
   <description value="[string]"/><!-- 0..1 General description of how security works -->
   <certificate>  <!-- 0..* Certificates associated with security profiles -->
    <type value="[code]"/><!-- 0..1 Mime type for certificates  -->
    <blob value="[base64Binary]"/><!-- 0..1 Actual certificate -->
   </certificate>
  </security>
  <resource>  <!-- 0..* Resource served on the REST interface -->
   <type value="[code]"/><!-- 1..1 A resource type that is supported -->
   <profile><!-- 0..1 Reference(StructureDefinition) Base System profile for all uses of resource --></profile>
   <documentation value="[markdown]"/><!-- 0..1 Additional information about the use of the resource type -->
   <interaction>  <!-- 1..* What operations are supported? -->
    <code value="[code]"/><!-- 1..1 read | vread | update | patch | delete | history-instance | history-type | create | search-type -->
    <documentation value="[string]"/><!-- 0..1 Anything special about operation behavior -->
   </interaction>
   <versioning value="[code]"/><!-- 0..1 no-version | versioned | versioned-update -->
   <readHistory value="[boolean]"/><!-- 0..1 Whether vRead can return past versions -->
   <updateCreate value="[boolean]"/><!-- 0..1 If update can commit to a new identity -->
   <conditionalCreate value="[boolean]"/><!-- 0..1 If allows/uses conditional create -->
   <conditionalRead value="[code]"/><!-- 0..1 not-supported | modified-since | not-match | full-support -->
   <conditionalUpdate value="[boolean]"/><!-- 0..1 If allows/uses conditional update -->
   <conditionalDelete value="[code]"/><!-- 0..1 not-supported | single | multiple - how conditional delete is supported -->
   <referencePolicy value="[code]"/><!-- 0..* literal | logical | resolves | enforced | local -->
   <searchInclude value="[string]"/><!-- 0..* _include values supported by the server -->
   <searchRevInclude value="[string]"/><!-- 0..* _revinclude values supported by the server -->
   <searchParam>  <!-- 0..* Search parameters supported by implementation -->
    <name value="[string]"/><!-- 1..1 Name of search parameter -->
    <definition value="[uri]"/><!-- 0..1 Source of definition for parameter -->
    <type value="[code]"/><!-- 1..1 number | date | string | token | reference | composite | quantity | uri -->
    <documentation value="[string]"/><!-- 0..1 Server-specific usage -->
   </searchParam>
  </resource>
  <interaction>  <!-- 0..* What operations are supported? -->
   <code value="[code]"/><!-- 1..1 transaction | batch | search-system | history-system -->
   <documentation value="[string]"/><!-- 0..1 Anything special about operation behavior -->
  </interaction>
  <searchParam><!-- 0..* Content as for CapabilityStatement.rest.resource.searchParam Search parameters for searching all resources --></searchParam>
  <operation>  <!-- 0..* Definition of an operation or a custom query -->
   <name value="[string]"/><!-- 1..1 Name by which the operation/query is invoked -->
   <definition><!-- 1..1 Reference(OperationDefinition) The defined operation/query --></definition>
  </operation>
  <compartment value="[uri]"/><!-- 0..* Compartments served/used by system -->
 </rest>
 <messaging>  <!-- ?? 0..* If messaging is supported -->
  <endpoint>  <!-- 0..* Where messages should be sent -->
   <protocol><!-- 1..1 Coding http | ftp | mllp + --></protocol>
   <address value="[uri]"/><!-- 1..1 Network address or identifier of the end-point -->
  </endpoint>
  <reliableCache value="[unsignedInt]"/><!-- 0..1 Reliable Message Cache Length (min) -->
  <documentation value="[string]"/><!-- 0..1 Messaging interface behavior details -->
  <supportedMessage>  <!-- 0..* Messages supported by this system -->
   <mode value="[code]"/><!-- 1..1 sender | receiver -->
   <definition><!-- 1..1 Reference(MessageDefinition) Message supported by this system --></definition>
  </supportedMessage>
  <event>  <!-- 0..* Declare support for this event -->
   <code><!-- 1..1 Coding Event type --></code>
   <category value="[code]"/><!-- 0..1 Consequence | Currency | Notification -->
   <mode value="[code]"/><!-- 1..1 sender | receiver -->
   <focus value="[code]"/><!-- 1..1 Resource that's focus of message -->
   <request><!-- 1..1 Reference(StructureDefinition) Profile that describes the request --></request>
   <response><!-- 1..1 Reference(StructureDefinition) Profile that describes the response --></response>
   <documentation value="[string]"/><!-- 0..1 Endpoint-specific event documentation -->
  </event>
 </messaging>
 <document>  <!-- ?? 0..* Document definition -->
  <mode value="[code]"/><!-- 1..1 producer | consumer -->
  <documentation value="[string]"/><!-- 0..1 Description of document support -->
  <profile><!-- 1..1 Reference(StructureDefinition) Constraint on a resource used in the document --></profile>
 </document>
</CapabilityStatement>

JSON Template

{doco
  "resourceType" : "CapabilityStatement",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "url" : "<uri>", // Logical URI to reference this capability statement (globally unique)
  "version" : "<string>", // Business version of the capability statement
  "name" : "<string>", // Name for this capability statement (computer friendly)
  "title" : "<string>", // Name for this capability statement (human friendly)
  "status" : "<code>", // R!  draft | active | retired | unknown
  "experimental" : <boolean>, // For testing purposes, not real usage
  "date" : "<dateTime>", // R!  Date this was last changed
  "publisher" : "<string>", // Name of the publisher (organization or individual)
  "contact" : [{ ContactDetail }], // Contact details for the publisher
  "description" : "<markdown>", // C? Natural language description of the capability statement
  "useContext" : [{ UsageContext }], // Context the content is intended to support
  "jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for capability statement (if applicable)
  "purpose" : "<markdown>", // Why this capability statement is defined
  "copyright" : "<markdown>", // Use and/or publishing restrictions
  "kind" : "<code>", // R!  instance | capability | requirements
  "instantiates" : ["<uri>"], // Canonical URL of another capability statement this implements
  "software" : { // C? Software that is covered by this capability statement
    "name" : "<string>", // R!  A name the software is known by
    "version" : "<string>", // Version covered by this statement
    "releaseDate" : "<dateTime>" // Date this version released
  },
  "implementation" : { // C? If this describes a specific instance
    "description" : "<string>", // R!  Describes this specific instance
    "url" : "<uri>" // Base URL for the installation
  },
  "fhirVersion" : "<id>", // R!  FHIR Version the system uses
  "acceptUnknown" : "<code>", // R!  no | extensions | elements | both
  "format" : ["<code>"], // R!  formats supported (xml | json | ttl | mime type) 
  "patchFormat" : ["<code>"], // Patch formats supported 
  "implementationGuide" : ["<uri>"], // Implementation guides supported
  "profile" : [{ Reference(StructureDefinition) }], // Profiles for use cases supported
  "rest" : [{ // C? If the endpoint is a RESTful one
    "mode" : "<code>", // R!  client | server
    "documentation" : "<string>", // General description of implementation
    "security" : { // Information about security of implementation
      "cors" : <boolean>, // Adds CORS Headers (http://enable-cors.org/)
      "service" : [{ CodeableConcept }], // OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
      "description" : "<string>", // General description of how security works
      "certificate" : [{ // Certificates associated with security profiles
        "type" : "<code>", // Mime type for certificates 
        "blob" : "<base64Binary>" // Actual certificate
      }]
    },
    "resource" : [{ // Resource served on the REST interface
      "type" : "<code>", // R!  A resource type that is supported
      "profile" : { Reference(StructureDefinition) }, // Base System profile for all uses of resource
      "documentation" : "<markdown>", // Additional information about the use of the resource type
      "interaction" : [{ // R!  What operations are supported?
        "code" : "<code>", // R!  read | vread | update | patch | delete | history-instance | history-type | create | search-type
        "documentation" : "<string>" // Anything special about operation behavior
      }],
      "versioning" : "<code>", // no-version | versioned | versioned-update
      "readHistory" : <boolean>, // Whether vRead can return past versions
      "updateCreate" : <boolean>, // If update can commit to a new identity
      "conditionalCreate" : <boolean>, // If allows/uses conditional create
      "conditionalRead" : "<code>", // not-supported | modified-since | not-match | full-support
      "conditionalUpdate" : <boolean>, // If allows/uses conditional update
      "conditionalDelete" : "<code>", // not-supported | single | multiple - how conditional delete is supported
      "referencePolicy" : ["<code>"], // literal | logical | resolves | enforced | local
      "searchInclude" : ["<string>"], // _include values supported by the server
      "searchRevInclude" : ["<string>"], // _revinclude values supported by the server
      "searchParam" : [{ // Search parameters supported by implementation
        "name" : "<string>", // R!  Name of search parameter
        "definition" : "<uri>", // Source of definition for parameter
        "type" : "<code>", // R!  number | date | string | token | reference | composite | quantity | uri
        "documentation" : "<string>" // Server-specific usage
      }]
    }],
    "interaction" : [{ // What operations are supported?
      "code" : "<code>", // R!  transaction | batch | search-system | history-system
      "documentation" : "<string>" // Anything special about operation behavior
    }],
    "searchParam" : [{ Content as for CapabilityStatement.rest.resource.searchParam }], // Search parameters for searching all resources
    "operation" : [{ // Definition of an operation or a custom query
      "name" : "<string>", // R!  Name by which the operation/query is invoked
      "definition" : { Reference(OperationDefinition) } // R!  The defined operation/query
    }],
    "compartment" : ["<uri>"] // Compartments served/used by system
  }],
  "messaging" : [{ // C? If messaging is supported
    "endpoint" : [{ // Where messages should be sent
      "protocol" : { Coding }, // R!  http | ftp | mllp +
      "address" : "<uri>" // R!  Network address or identifier of the end-point
    }],
    "reliableCache" : "<unsignedInt>", // Reliable Message Cache Length (min)
    "documentation" : "<string>", // Messaging interface behavior details
    "supportedMessage" : [{ // Messages supported by this system
      "mode" : "<code>", // R!  sender | receiver
      "definition" : { Reference(MessageDefinition) } // R!  Message supported by this system
    }],
    "event" : [{ // Declare support for this event
      "code" : { Coding }, // R!  Event type
      "category" : "<code>", // Consequence | Currency | Notification
      "mode" : "<code>", // R!  sender | receiver
      "focus" : "<code>", // R!  Resource that's focus of message
      "request" : { Reference(StructureDefinition) }, // R!  Profile that describes the request
      "response" : { Reference(StructureDefinition) }, // R!  Profile that describes the response
      "documentation" : "<string>" // Endpoint-specific event documentation
    }]
  }],
  "document" : [{ // C? Document definition
    "mode" : "<code>", // R!  producer | consumer
    "documentation" : "<string>", // Description of document support
    "profile" : { Reference(StructureDefinition) } // R!  Constraint on a resource used in the document
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:CapabilityStatement.url [ uri ]; # 0..1 Logical URI to reference this capability statement (globally unique)
  fhir:CapabilityStatement.version [ string ]; # 0..1 Business version of the capability statement
  fhir:CapabilityStatement.name [ string ]; # 0..1 Name for this capability statement (computer friendly)
  fhir:CapabilityStatement.title [ string ]; # 0..1 Name for this capability statement (human friendly)
  fhir:CapabilityStatement.status [ code ]; # 1..1 draft | active | retired | unknown
  fhir:CapabilityStatement.experimental [ boolean ]; # 0..1 For testing purposes, not real usage
  fhir:CapabilityStatement.date [ dateTime ]; # 1..1 Date this was last changed
  fhir:CapabilityStatement.publisher [ string ]; # 0..1 Name of the publisher (organization or individual)
  fhir:CapabilityStatement.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher
  fhir:CapabilityStatement.description [ markdown ]; # 0..1 Natural language description of the capability statement
  fhir:CapabilityStatement.useContext [ UsageContext ], ... ; # 0..* Context the content is intended to support
  fhir:CapabilityStatement.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for capability statement (if applicable)
  fhir:CapabilityStatement.purpose [ markdown ]; # 0..1 Why this capability statement is defined
  fhir:CapabilityStatement.copyright [ markdown ]; # 0..1 Use and/or publishing restrictions
  fhir:CapabilityStatement.kind [ code ]; # 1..1 instance | capability | requirements
  fhir:CapabilityStatement.instantiates [ uri ], ... ; # 0..* Canonical URL of another capability statement this implements
  fhir:CapabilityStatement.software [ # 0..1 Software that is covered by this capability statement
    fhir:CapabilityStatement.software.name [ string ]; # 1..1 A name the software is known by
    fhir:CapabilityStatement.software.version [ string ]; # 0..1 Version covered by this statement
    fhir:CapabilityStatement.software.releaseDate [ dateTime ]; # 0..1 Date this version released
  ];
  fhir:CapabilityStatement.implementation [ # 0..1 If this describes a specific instance
    fhir:CapabilityStatement.implementation.description [ string ]; # 1..1 Describes this specific instance
    fhir:CapabilityStatement.implementation.url [ uri ]; # 0..1 Base URL for the installation
  ];
  fhir:CapabilityStatement.fhirVersion [ id ]; # 1..1 FHIR Version the system uses
  fhir:CapabilityStatement.acceptUnknown [ code ]; # 1..1 no | extensions | elements | both
  fhir:CapabilityStatement.format [ code ], ... ; # 1..* formats supported (xml | json | ttl | mime type)
  fhir:CapabilityStatement.patchFormat [ code ], ... ; # 0..* Patch formats supported
  fhir:CapabilityStatement.implementationGuide [ uri ], ... ; # 0..* Implementation guides supported
  fhir:CapabilityStatement.profile [ Reference(StructureDefinition) ], ... ; # 0..* Profiles for use cases supported
  fhir:CapabilityStatement.rest [ # 0..* If the endpoint is a RESTful one
    fhir:CapabilityStatement.rest.mode [ code ]; # 1..1 client | server
    fhir:CapabilityStatement.rest.documentation [ string ]; # 0..1 General description of implementation
    fhir:CapabilityStatement.rest.security [ # 0..1 Information about security of implementation
      fhir:CapabilityStatement.rest.security.cors [ boolean ]; # 0..1 Adds CORS Headers (http://enable-cors.org/)
      fhir:CapabilityStatement.rest.security.service [ CodeableConcept ], ... ; # 0..* OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
      fhir:CapabilityStatement.rest.security.description [ string ]; # 0..1 General description of how security works
      fhir:CapabilityStatement.rest.security.certificate [ # 0..* Certificates associated with security profiles
        fhir:CapabilityStatement.rest.security.certificate.type [ code ]; # 0..1 Mime type for certificates
        fhir:CapabilityStatement.rest.security.certificate.blob [ base64Binary ]; # 0..1 Actual certificate
      ], ...;
    ];
    fhir:CapabilityStatement.rest.resource [ # 0..* Resource served on the REST interface
      fhir:CapabilityStatement.rest.resource.type [ code ]; # 1..1 A resource type that is supported
      fhir:CapabilityStatement.rest.resource.profile [ Reference(StructureDefinition) ]; # 0..1 Base System profile for all uses of resource
      fhir:CapabilityStatement.rest.resource.documentation [ markdown ]; # 0..1 Additional information about the use of the resource type
      fhir:CapabilityStatement.rest.resource.interaction [ # 1..* What operations are supported?
        fhir:CapabilityStatement.rest.resource.interaction.code [ code ]; # 1..1 read | vread | update | patch | delete | history-instance | history-type | create | search-type
        fhir:CapabilityStatement.rest.resource.interaction.documentation [ string ]; # 0..1 Anything special about operation behavior
      ], ...;
      fhir:CapabilityStatement.rest.resource.versioning [ code ]; # 0..1 no-version | versioned | versioned-update
      fhir:CapabilityStatement.rest.resource.readHistory [ boolean ]; # 0..1 Whether vRead can return past versions
      fhir:CapabilityStatement.rest.resource.updateCreate [ boolean ]; # 0..1 If update can commit to a new identity
      fhir:CapabilityStatement.rest.resource.conditionalCreate [ boolean ]; # 0..1 If allows/uses conditional create
      fhir:CapabilityStatement.rest.resource.conditionalRead [ code ]; # 0..1 not-supported | modified-since | not-match | full-support
      fhir:CapabilityStatement.rest.resource.conditionalUpdate [ boolean ]; # 0..1 If allows/uses conditional update
      fhir:CapabilityStatement.rest.resource.conditionalDelete [ code ]; # 0..1 not-supported | single | multiple - how conditional delete is supported
      fhir:CapabilityStatement.rest.resource.referencePolicy [ code ], ... ; # 0..* literal | logical | resolves | enforced | local
      fhir:CapabilityStatement.rest.resource.searchInclude [ string ], ... ; # 0..* _include values supported by the server
      fhir:CapabilityStatement.rest.resource.searchRevInclude [ string ], ... ; # 0..* _revinclude values supported by the server
      fhir:CapabilityStatement.rest.resource.searchParam [ # 0..* Search parameters supported by implementation
        fhir:CapabilityStatement.rest.resource.searchParam.name [ string ]; # 1..1 Name of search parameter
        fhir:CapabilityStatement.rest.resource.searchParam.definition [ uri ]; # 0..1 Source of definition for parameter
        fhir:CapabilityStatement.rest.resource.searchParam.type [ code ]; # 1..1 number | date | string | token | reference | composite | quantity | uri
        fhir:CapabilityStatement.rest.resource.searchParam.documentation [ string ]; # 0..1 Server-specific usage
      ], ...;
    ], ...;
    fhir:CapabilityStatement.rest.interaction [ # 0..* What operations are supported?
      fhir:CapabilityStatement.rest.interaction.code [ code ]; # 1..1 transaction | batch | search-system | history-system
      fhir:CapabilityStatement.rest.interaction.documentation [ string ]; # 0..1 Anything special about operation behavior
    ], ...;
    fhir:CapabilityStatement.rest.searchParam [ See CapabilityStatement.rest.resource.searchParam ], ... ; # 0..* Search parameters for searching all resources
    fhir:CapabilityStatement.rest.operation [ # 0..* Definition of an operation or a custom query
      fhir:CapabilityStatement.rest.operation.name [ string ]; # 1..1 Name by which the operation/query is invoked
      fhir:CapabilityStatement.rest.operation.definition [ Reference(OperationDefinition) ]; # 1..1 The defined operation/query
    ], ...;
    fhir:CapabilityStatement.rest.compartment [ uri ], ... ; # 0..* Compartments served/used by system
  ], ...;
  fhir:CapabilityStatement.messaging [ # 0..* If messaging is supported
    fhir:CapabilityStatement.messaging.endpoint [ # 0..* Where messages should be sent
      fhir:CapabilityStatement.messaging.endpoint.protocol [ Coding ]; # 1..1 http | ftp | mllp +
      fhir:CapabilityStatement.messaging.endpoint.address [ uri ]; # 1..1 Network address or identifier of the end-point
    ], ...;
    fhir:CapabilityStatement.messaging.reliableCache [ unsignedInt ]; # 0..1 Reliable Message Cache Length (min)
    fhir:CapabilityStatement.messaging.documentation [ string ]; # 0..1 Messaging interface behavior details
    fhir:CapabilityStatement.messaging.supportedMessage [ # 0..* Messages supported by this system
      fhir:CapabilityStatement.messaging.supportedMessage.mode [ code ]; # 1..1 sender | receiver
      fhir:CapabilityStatement.messaging.supportedMessage.definition [ Reference(MessageDefinition) ]; # 1..1 Message supported by this system
    ], ...;
    fhir:CapabilityStatement.messaging.event [ # 0..* Declare support for this event
      fhir:CapabilityStatement.messaging.event.code [ Coding ]; # 1..1 Event type
      fhir:CapabilityStatement.messaging.event.category [ code ]; # 0..1 Consequence | Currency | Notification
      fhir:CapabilityStatement.messaging.event.mode [ code ]; # 1..1 sender | receiver
      fhir:CapabilityStatement.messaging.event.focus [ code ]; # 1..1 Resource that's focus of message
      fhir:CapabilityStatement.messaging.event.request [ Reference(StructureDefinition) ]; # 1..1 Profile that describes the request
      fhir:CapabilityStatement.messaging.event.response [ Reference(StructureDefinition) ]; # 1..1 Profile that describes the response
      fhir:CapabilityStatement.messaging.event.documentation [ string ]; # 0..1 Endpoint-specific event documentation
    ], ...;
  ], ...;
  fhir:CapabilityStatement.document [ # 0..* Document definition
    fhir:CapabilityStatement.document.mode [ code ]; # 1..1 producer | consumer
    fhir:CapabilityStatement.document.documentation [ string ]; # 0..1 Description of document support
    fhir:CapabilityStatement.document.profile [ Reference(StructureDefinition) ]; # 1..1 Constraint on a resource used in the document
  ], ...;
]

Changes since DSTU2

This resource did not exist in Release 2

This analysis is available as XML or JSON.

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. CapabilityStatement IDomainResourceA statement of system capabilities
+ There can only be one REST declaration per mode.
+ The set of documents must be unique by the combination of profile and mode.
+ Capability Statements of kind 'instance' do not have implementation elements.
+ Messaging end-point is required (and is only permitted) when a statement is for an implementation.
+ Capability Statements of kind 'requirements' do not have software or implementation elements.
+ A Capability Statement SHALL have at least one of description, software, or implementation element.
+ A Capability Statement SHALL have at least one of REST, messaging or document element.
Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
... url Σ0..1uriLogical URI to reference this capability statement (globally unique)
... version Σ0..1stringBusiness version of the capability statement
... name Σ0..1stringName for this capability statement (computer friendly)
... title Σ0..1stringName for this capability statement (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
PublicationStatus (Required)
... experimental ?!Σ0..1booleanFor testing purposes, not real usage
... date Σ1..1dateTimeDate this was last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description I0..1markdownNatural language description of the capability statement
... useContext Σ0..*UsageContextContext the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for capability statement (if applicable)
Jurisdiction ValueSet (Extensible)
... purpose 0..1markdownWhy this capability statement is defined
... copyright 0..1markdownUse and/or publishing restrictions
... kind Σ1..1codeinstance | capability | requirements
CapabilityStatementKind (Required)
... instantiates Σ0..*uriCanonical URL of another capability statement this implements
... software ΣI0..1BackboneElementSoftware that is covered by this capability statement
.... name Σ1..1stringA name the software is known by
.... version Σ0..1stringVersion covered by this statement
.... releaseDate Σ0..1dateTimeDate this version released
... implementation ΣI0..1BackboneElementIf this describes a specific instance
.... description Σ1..1stringDescribes this specific instance
.... url Σ0..1uriBase URL for the installation
... fhirVersion Σ1..1idFHIR Version the system uses
... acceptUnknown Σ1..1codeno | extensions | elements | both
UnknownContentCode (Required)
... format Σ1..*codeformats supported (xml | json | ttl | mime type)
MimeType (Required)
... patchFormat Σ0..*codePatch formats supported
MimeType (Required)
... implementationGuide Σ0..*uriImplementation guides supported
... profile Σ0..*Reference(StructureDefinition)Profiles for use cases supported
... rest ΣI0..*BackboneElementIf the endpoint is a RESTful one
+ A given resource can only be described once per RESTful mode.
.... mode Σ1..1codeclient | server
RestfulCapabilityMode (Required)
.... documentation 0..1stringGeneral description of implementation
.... security Σ0..1BackboneElementInformation about security of implementation
..... cors Σ0..1booleanAdds CORS Headers (http://enable-cors.org/)
..... service Σ0..*CodeableConceptOAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
RestfulSecurityService (Extensible)
..... description 0..1stringGeneral description of how security works
..... certificate 0..*BackboneElementCertificates associated with security profiles
...... type 0..1codeMime type for certificates
MimeType (Required)
...... blob 0..1base64BinaryActual certificate
.... resource ΣI0..*BackboneElementResource served on the REST interface
+ Search parameter names must be unique in the context of a resource.
..... type Σ1..1codeA resource type that is supported
ResourceType (Required)
..... profile Σ0..1Reference(StructureDefinition)Base System profile for all uses of resource
..... documentation 0..1markdownAdditional information about the use of the resource type
..... interaction 1..*BackboneElementWhat operations are supported?
...... code 1..1coderead | vread | update | patch | delete | history-instance | history-type | create | search-type
TypeRestfulInteraction (Required)
...... documentation 0..1stringAnything special about operation behavior
..... versioning 0..1codeno-version | versioned | versioned-update
ResourceVersionPolicy (Required)
..... readHistory 0..1booleanWhether vRead can return past versions
..... updateCreate 0..1booleanIf update can commit to a new identity
..... conditionalCreate 0..1booleanIf allows/uses conditional create
..... conditionalRead 0..1codenot-supported | modified-since | not-match | full-support
ConditionalReadStatus (Required)
..... conditionalUpdate 0..1booleanIf allows/uses conditional update
..... conditionalDelete 0..1codenot-supported | single | multiple - how conditional delete is supported
ConditionalDeleteStatus (Required)
..... referencePolicy 0..*codeliteral | logical | resolves | enforced | local
ReferenceHandlingPolicy (Required)
..... searchInclude 0..*string_include values supported by the server
..... searchRevInclude 0..*string_revinclude values supported by the server
..... searchParam 0..*BackboneElementSearch parameters supported by implementation
...... name 1..1stringName of search parameter
...... definition 0..1uriSource of definition for parameter
...... type 1..1codenumber | date | string | token | reference | composite | quantity | uri
SearchParamType (Required)
...... documentation 0..1stringServer-specific usage
.... interaction 0..*BackboneElementWhat operations are supported?
..... code 1..1codetransaction | batch | search-system | history-system
SystemRestfulInteraction (Required)
..... documentation 0..1stringAnything special about operation behavior
.... searchParam 0..*see searchParamSearch parameters for searching all resources
.... operation Σ0..*BackboneElementDefinition of an operation or a custom query
..... name 1..1stringName by which the operation/query is invoked
..... definition Σ1..1Reference(OperationDefinition)The defined operation/query
.... compartment 0..*uriCompartments served/used by system
... messaging ΣI0..*BackboneElementIf messaging is supported
+ A Capability Statement messaging element SHALL have either supportedMessage or event element, but not both.
.... endpoint 0..*BackboneElementWhere messages should be sent
..... protocol 1..1Codinghttp | ftp | mllp +
MessageTransport (Extensible)
..... address 1..1uriNetwork address or identifier of the end-point
.... reliableCache 0..1unsignedIntReliable Message Cache Length (min)
.... documentation 0..1stringMessaging interface behavior details
.... supportedMessage Σ0..*BackboneElementMessages supported by this system
..... mode Σ1..1codesender | receiver
EventCapabilityMode (Required)
..... definition Σ1..1Reference(MessageDefinition)Message supported by this system
.... event Σ0..*BackboneElementDeclare support for this event
..... code Σ1..1CodingEvent type
MessageEvent (Example)
..... category 0..1codeConsequence | Currency | Notification
MessageSignificanceCategory (Required)
..... mode 1..1codesender | receiver
EventCapabilityMode (Required)
..... focus 1..1codeResource that's focus of message
ResourceType (Required)
..... request Σ1..1Reference(StructureDefinition)Profile that describes the request
..... response Σ1..1Reference(StructureDefinition)Profile that describes the response
..... documentation 0..1stringEndpoint-specific event documentation
... document ΣI0..*BackboneElementDocument definition
.... mode 1..1codeproducer | consumer
DocumentMode (Required)
.... documentation 0..1stringDescription of document support
.... profile Σ1..1Reference(StructureDefinition)Constraint on a resource used in the document

doco Documentation for this format

UML Diagram (Legend)

CapabilityStatement (DomainResource)url : uri [0..1]version : string [0..1]name : string [0..1]title : string [0..1]status : code [1..1] PublicationStatus! experimental : boolean [0..1]date : dateTime [1..1]publisher : string [0..1]contact : ContactDetail [0..*]description : markdown [0..1]useContext : UsageContext [0..*]jurisdiction : CodeableConcept [0..*] Jurisdiction ValueSet+ purpose : markdown [0..1]copyright : markdown [0..1]kind : code [1..1] CapabilityStatementKind! instantiates : uri [0..*]fhirVersion : id [1..1]acceptUnknown : code [1..1] UnknownContentCode! format : code [1..*] MimeType! patchFormat : code [0..*] MimeType! implementationGuide : uri [0..*]profile : Reference [0..*] StructureDefinition Softwarename : string [1..1]version : string [0..1]releaseDate : dateTime [0..1]Implementationdescription : string [1..1]url : uri [0..1]Restmode : code [1..1] RestfulCapabilityMode! documentation : string [0..1]compartment : uri [0..*]Securitycors : boolean [0..1]service : CodeableConcept [0..*] RestfulSecurityService+ description : string [0..1]Certificatetype : code [0..1] MimeType! blob : base64Binary [0..1]Resourcetype : code [1..1] ResourceType! profile : Reference [0..1] StructureDefinition documentation : markdown [0..1]versioning : code [0..1] ResourceVersionPolicy! readHistory : boolean [0..1]updateCreate : boolean [0..1]conditionalCreate : boolean [0..1]conditionalRead : code [0..1] ConditionalReadStatus! conditionalUpdate : boolean [0..1]conditionalDelete : code [0..1] ConditionalDeleteStatus! referencePolicy : code [0..*] ReferenceHandlingPolicy! searchInclude : string [0..*]searchRevInclude : string [0..*]ResourceInteractioncode : code [1..1] TypeRestfulInteraction! documentation : string [0..1]SearchParamname : string [1..1]definition : uri [0..1]type : code [1..1] SearchParamType! documentation : string [0..1]SystemInteractioncode : code [1..1] SystemRestfulInteraction! documentation : string [0..1]Operationname : string [1..1]definition : Reference [1..1] OperationDefinition MessagingreliableCache : unsignedInt [0..1]documentation : string [0..1]Endpointprotocol : Coding [1..1] MessageTransport+ address : uri [1..1]SupportedMessagemode : code [1..1] EventCapabilityMode! definition : Reference [1..1] MessageDefinition Eventcode : Coding [1..1] MessageEvent?? category : code [0..1] MessageSignificanceCategory! mode : code [1..1] EventCapabilityMode! focus : code [1..1] ResourceType! request : Reference [1..1] StructureDefinition response : Reference [1..1] StructureDefinition documentation : string [0..1]Documentmode : code [1..1] DocumentMode! documentation : string [0..1]profile : Reference [1..1] StructureDefinition software[0..1]implementation[0..1]certificate[0..*]security[0..1]interaction[1..*]searchParam[0..*]resource[0..*]interaction[0..*]searchParam[0..*]operation[0..*]rest[0..*]endpoint[0..*]supportedMessage[0..*]event[0..*]messaging[0..*]document[0..*]

XML Template

<CapabilityStatement xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <url value="[uri]"/><!-- 0..1 Logical URI to reference this capability statement (globally unique) -->
 <version value="[string]"/><!-- 0..1 Business version of the capability statement -->
 <name value="[string]"/><!-- 0..1 Name for this capability statement (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this capability statement (human friendly) -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown -->
 <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage -->
 <date value="[dateTime]"/><!-- 1..1 Date this was last changed -->
 <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- ?? 0..1 Natural language description of the capability statement -->
 <useContext><!-- 0..* UsageContext Context the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for capability statement (if applicable) --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this capability statement is defined -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <kind value="[code]"/><!-- 1..1 instance | capability | requirements -->
 <instantiates value="[uri]"/><!-- 0..* Canonical URL of another capability statement this implements -->
 <software>  <!-- ?? 0..1 Software that is covered by this capability statement -->
  <name value="[string]"/><!-- 1..1 A name the software is known by -->
  <version value="[string]"/><!-- 0..1 Version covered by this statement -->
  <releaseDate value="[dateTime]"/><!-- 0..1 Date this version released -->
 </software>
 <implementation>  <!-- ?? 0..1 If this describes a specific instance -->
  <description value="[string]"/><!-- 1..1 Describes this specific instance -->
  <url value="[uri]"/><!-- 0..1 Base URL for the installation -->
 </implementation>
 <fhirVersion value="[id]"/><!-- 1..1 FHIR Version the system uses -->
 <acceptUnknown value="[code]"/><!-- 1..1 no | extensions | elements | both -->
 <format value="[code]"/><!-- 1..* formats supported (xml | json | ttl | mime type)  -->
 <patchFormat value="[code]"/><!-- 0..* Patch formats supported  -->
 <implementationGuide value="[uri]"/><!-- 0..* Implementation guides supported -->
 <profile><!-- 0..* Reference(StructureDefinition) Profiles for use cases supported --></profile>
 <rest>  <!-- ?? 0..* If the endpoint is a RESTful one -->
  <mode value="[code]"/><!-- 1..1 client | server -->
  <documentation value="[string]"/><!-- 0..1 General description of implementation -->
  <security>  <!-- 0..1 Information about security of implementation -->
   <cors value="[boolean]"/><!-- 0..1 Adds CORS Headers (http://enable-cors.org/) -->
   <service><!-- 0..* CodeableConcept OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates --></service>
   <description value="[string]"/><!-- 0..1 General description of how security works -->
   <certificate>  <!-- 0..* Certificates associated with security profiles -->
    <type value="[code]"/><!-- 0..1 Mime type for certificates  -->
    <blob value="[base64Binary]"/><!-- 0..1 Actual certificate -->
   </certificate>
  </security>
  <resource>  <!-- 0..* Resource served on the REST interface -->
   <type value="[code]"/><!-- 1..1 A resource type that is supported -->
   <profile><!-- 0..1 Reference(StructureDefinition) Base System profile for all uses of resource --></profile>
   <documentation value="[markdown]"/><!-- 0..1 Additional information about the use of the resource type -->
   <interaction>  <!-- 1..* What operations are supported? -->
    <code value="[code]"/><!-- 1..1 read | vread | update | patch | delete | history-instance | history-type | create | search-type -->
    <documentation value="[string]"/><!-- 0..1 Anything special about operation behavior -->
   </interaction>
   <versioning value="[code]"/><!-- 0..1 no-version | versioned | versioned-update -->
   <readHistory value="[boolean]"/><!-- 0..1 Whether vRead can return past versions -->
   <updateCreate value="[boolean]"/><!-- 0..1 If update can commit to a new identity -->
   <conditionalCreate value="[boolean]"/><!-- 0..1 If allows/uses conditional create -->
   <conditionalRead value="[code]"/><!-- 0..1 not-supported | modified-since | not-match | full-support -->
   <conditionalUpdate value="[boolean]"/><!-- 0..1 If allows/uses conditional update -->
   <conditionalDelete value="[code]"/><!-- 0..1 not-supported | single | multiple - how conditional delete is supported -->
   <referencePolicy value="[code]"/><!-- 0..* literal | logical | resolves | enforced | local -->
   <searchInclude value="[string]"/><!-- 0..* _include values supported by the server -->
   <searchRevInclude value="[string]"/><!-- 0..* _revinclude values supported by the server -->
   <searchParam>  <!-- 0..* Search parameters supported by implementation -->
    <name value="[string]"/><!-- 1..1 Name of search parameter -->
    <definition value="[uri]"/><!-- 0..1 Source of definition for parameter -->
    <type value="[code]"/><!-- 1..1 number | date | string | token | reference | composite | quantity | uri -->
    <documentation value="[string]"/><!-- 0..1 Server-specific usage -->
   </searchParam>
  </resource>
  <interaction>  <!-- 0..* What operations are supported? -->
   <code value="[code]"/><!-- 1..1 transaction | batch | search-system | history-system -->
   <documentation value="[string]"/><!-- 0..1 Anything special about operation behavior -->
  </interaction>
  <searchParam><!-- 0..* Content as for CapabilityStatement.rest.resource.searchParam Search parameters for searching all resources --></searchParam>
  <operation>  <!-- 0..* Definition of an operation or a custom query -->
   <name value="[string]"/><!-- 1..1 Name by which the operation/query is invoked -->
   <definition><!-- 1..1 Reference(OperationDefinition) The defined operation/query --></definition>
  </operation>
  <compartment value="[uri]"/><!-- 0..* Compartments served/used by system -->
 </rest>
 <messaging>  <!-- ?? 0..* If messaging is supported -->
  <endpoint>  <!-- 0..* Where messages should be sent -->
   <protocol><!-- 1..1 Coding http | ftp | mllp + --></protocol>
   <address value="[uri]"/><!-- 1..1 Network address or identifier of the end-point -->
  </endpoint>
  <reliableCache value="[unsignedInt]"/><!-- 0..1 Reliable Message Cache Length (min) -->
  <documentation value="[string]"/><!-- 0..1 Messaging interface behavior details -->
  <supportedMessage>  <!-- 0..* Messages supported by this system -->
   <mode value="[code]"/><!-- 1..1 sender | receiver -->
   <definition><!-- 1..1 Reference(MessageDefinition) Message supported by this system --></definition>
  </supportedMessage>
  <event>  <!-- 0..* Declare support for this event -->
   <code><!-- 1..1 Coding Event type --></code>
   <category value="[code]"/><!-- 0..1 Consequence | Currency | Notification -->
   <mode value="[code]"/><!-- 1..1 sender | receiver -->
   <focus value="[code]"/><!-- 1..1 Resource that's focus of message -->
   <request><!-- 1..1 Reference(StructureDefinition) Profile that describes the request --></request>
   <response><!-- 1..1 Reference(StructureDefinition) Profile that describes the response --></response>
   <documentation value="[string]"/><!-- 0..1 Endpoint-specific event documentation -->
  </event>
 </messaging>
 <document>  <!-- ?? 0..* Document definition -->
  <mode value="[code]"/><!-- 1..1 producer | consumer -->
  <documentation value="[string]"/><!-- 0..1 Description of document support -->
  <profile><!-- 1..1 Reference(StructureDefinition) Constraint on a resource used in the document --></profile>
 </document>
</CapabilityStatement>

JSON Template

{doco
  "resourceType" : "CapabilityStatement",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "url" : "<uri>", // Logical URI to reference this capability statement (globally unique)
  "version" : "<string>", // Business version of the capability statement
  "name" : "<string>", // Name for this capability statement (computer friendly)
  "title" : "<string>", // Name for this capability statement (human friendly)
  "status" : "<code>", // R!  draft | active | retired | unknown
  "experimental" : <boolean>, // For testing purposes, not real usage
  "date" : "<dateTime>", // R!  Date this was last changed
  "publisher" : "<string>", // Name of the publisher (organization or individual)
  "contact" : [{ ContactDetail }], // Contact details for the publisher
  "description" : "<markdown>", // C? Natural language description of the capability statement
  "useContext" : [{ UsageContext }], // Context the content is intended to support
  "jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for capability statement (if applicable)
  "purpose" : "<markdown>", // Why this capability statement is defined
  "copyright" : "<markdown>", // Use and/or publishing restrictions
  "kind" : "<code>", // R!  instance | capability | requirements
  "instantiates" : ["<uri>"], // Canonical URL of another capability statement this implements
  "software" : { // C? Software that is covered by this capability statement
    "name" : "<string>", // R!  A name the software is known by
    "version" : "<string>", // Version covered by this statement
    "releaseDate" : "<dateTime>" // Date this version released
  },
  "implementation" : { // C? If this describes a specific instance
    "description" : "<string>", // R!  Describes this specific instance
    "url" : "<uri>" // Base URL for the installation
  },
  "fhirVersion" : "<id>", // R!  FHIR Version the system uses
  "acceptUnknown" : "<code>", // R!  no | extensions | elements | both
  "format" : ["<code>"], // R!  formats supported (xml | json | ttl | mime type) 
  "patchFormat" : ["<code>"], // Patch formats supported 
  "implementationGuide" : ["<uri>"], // Implementation guides supported
  "profile" : [{ Reference(StructureDefinition) }], // Profiles for use cases supported
  "rest" : [{ // C? If the endpoint is a RESTful one
    "mode" : "<code>", // R!  client | server
    "documentation" : "<string>", // General description of implementation
    "security" : { // Information about security of implementation
      "cors" : <boolean>, // Adds CORS Headers (http://enable-cors.org/)
      "service" : [{ CodeableConcept }], // OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
      "description" : "<string>", // General description of how security works
      "certificate" : [{ // Certificates associated with security profiles
        "type" : "<code>", // Mime type for certificates 
        "blob" : "<base64Binary>" // Actual certificate
      }]
    },
    "resource" : [{ // Resource served on the REST interface
      "type" : "<code>", // R!  A resource type that is supported
      "profile" : { Reference(StructureDefinition) }, // Base System profile for all uses of resource
      "documentation" : "<markdown>", // Additional information about the use of the resource type
      "interaction" : [{ // R!  What operations are supported?
        "code" : "<code>", // R!  read | vread | update | patch | delete | history-instance | history-type | create | search-type
        "documentation" : "<string>" // Anything special about operation behavior
      }],
      "versioning" : "<code>", // no-version | versioned | versioned-update
      "readHistory" : <boolean>, // Whether vRead can return past versions
      "updateCreate" : <boolean>, // If update can commit to a new identity
      "conditionalCreate" : <boolean>, // If allows/uses conditional create
      "conditionalRead" : "<code>", // not-supported | modified-since | not-match | full-support
      "conditionalUpdate" : <boolean>, // If allows/uses conditional update
      "conditionalDelete" : "<code>", // not-supported | single | multiple - how conditional delete is supported
      "referencePolicy" : ["<code>"], // literal | logical | resolves | enforced | local
      "searchInclude" : ["<string>"], // _include values supported by the server
      "searchRevInclude" : ["<string>"], // _revinclude values supported by the server
      "searchParam" : [{ // Search parameters supported by implementation
        "name" : "<string>", // R!  Name of search parameter
        "definition" : "<uri>", // Source of definition for parameter
        "type" : "<code>", // R!  number | date | string | token | reference | composite | quantity | uri
        "documentation" : "<string>" // Server-specific usage
      }]
    }],
    "interaction" : [{ // What operations are supported?
      "code" : "<code>", // R!  transaction | batch | search-system | history-system
      "documentation" : "<string>" // Anything special about operation behavior
    }],
    "searchParam" : [{ Content as for CapabilityStatement.rest.resource.searchParam }], // Search parameters for searching all resources
    "operation" : [{ // Definition of an operation or a custom query
      "name" : "<string>", // R!  Name by which the operation/query is invoked
      "definition" : { Reference(OperationDefinition) } // R!  The defined operation/query
    }],
    "compartment" : ["<uri>"] // Compartments served/used by system
  }],
  "messaging" : [{ // C? If messaging is supported
    "endpoint" : [{ // Where messages should be sent
      "protocol" : { Coding }, // R!  http | ftp | mllp +
      "address" : "<uri>" // R!  Network address or identifier of the end-point
    }],
    "reliableCache" : "<unsignedInt>", // Reliable Message Cache Length (min)
    "documentation" : "<string>", // Messaging interface behavior details
    "supportedMessage" : [{ // Messages supported by this system
      "mode" : "<code>", // R!  sender | receiver
      "definition" : { Reference(MessageDefinition) } // R!  Message supported by this system
    }],
    "event" : [{ // Declare support for this event
      "code" : { Coding }, // R!  Event type
      "category" : "<code>", // Consequence | Currency | Notification
      "mode" : "<code>", // R!  sender | receiver
      "focus" : "<code>", // R!  Resource that's focus of message
      "request" : { Reference(StructureDefinition) }, // R!  Profile that describes the request
      "response" : { Reference(StructureDefinition) }, // R!  Profile that describes the response
      "documentation" : "<string>" // Endpoint-specific event documentation
    }]
  }],
  "document" : [{ // C? Document definition
    "mode" : "<code>", // R!  producer | consumer
    "documentation" : "<string>", // Description of document support
    "profile" : { Reference(StructureDefinition) } // R!  Constraint on a resource used in the document
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:CapabilityStatement.url [ uri ]; # 0..1 Logical URI to reference this capability statement (globally unique)
  fhir:CapabilityStatement.version [ string ]; # 0..1 Business version of the capability statement
  fhir:CapabilityStatement.name [ string ]; # 0..1 Name for this capability statement (computer friendly)
  fhir:CapabilityStatement.title [ string ]; # 0..1 Name for this capability statement (human friendly)
  fhir:CapabilityStatement.status [ code ]; # 1..1 draft | active | retired | unknown
  fhir:CapabilityStatement.experimental [ boolean ]; # 0..1 For testing purposes, not real usage
  fhir:CapabilityStatement.date [ dateTime ]; # 1..1 Date this was last changed
  fhir:CapabilityStatement.publisher [ string ]; # 0..1 Name of the publisher (organization or individual)
  fhir:CapabilityStatement.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher
  fhir:CapabilityStatement.description [ markdown ]; # 0..1 Natural language description of the capability statement
  fhir:CapabilityStatement.useContext [ UsageContext ], ... ; # 0..* Context the content is intended to support
  fhir:CapabilityStatement.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for capability statement (if applicable)
  fhir:CapabilityStatement.purpose [ markdown ]; # 0..1 Why this capability statement is defined
  fhir:CapabilityStatement.copyright [ markdown ]; # 0..1 Use and/or publishing restrictions
  fhir:CapabilityStatement.kind [ code ]; # 1..1 instance | capability | requirements
  fhir:CapabilityStatement.instantiates [ uri ], ... ; # 0..* Canonical URL of another capability statement this implements
  fhir:CapabilityStatement.software [ # 0..1 Software that is covered by this capability statement
    fhir:CapabilityStatement.software.name [ string ]; # 1..1 A name the software is known by
    fhir:CapabilityStatement.software.version [ string ]; # 0..1 Version covered by this statement
    fhir:CapabilityStatement.software.releaseDate [ dateTime ]; # 0..1 Date this version released
  ];
  fhir:CapabilityStatement.implementation [ # 0..1 If this describes a specific instance
    fhir:CapabilityStatement.implementation.description [ string ]; # 1..1 Describes this specific instance
    fhir:CapabilityStatement.implementation.url [ uri ]; # 0..1 Base URL for the installation
  ];
  fhir:CapabilityStatement.fhirVersion [ id ]; # 1..1 FHIR Version the system uses
  fhir:CapabilityStatement.acceptUnknown [ code ]; # 1..1 no | extensions | elements | both
  fhir:CapabilityStatement.format [ code ], ... ; # 1..* formats supported (xml | json | ttl | mime type)
  fhir:CapabilityStatement.patchFormat [ code ], ... ; # 0..* Patch formats supported
  fhir:CapabilityStatement.implementationGuide [ uri ], ... ; # 0..* Implementation guides supported
  fhir:CapabilityStatement.profile [ Reference(StructureDefinition) ], ... ; # 0..* Profiles for use cases supported
  fhir:CapabilityStatement.rest [ # 0..* If the endpoint is a RESTful one
    fhir:CapabilityStatement.rest.mode [ code ]; # 1..1 client | server
    fhir:CapabilityStatement.rest.documentation [ string ]; # 0..1 General description of implementation
    fhir:CapabilityStatement.rest.security [ # 0..1 Information about security of implementation
      fhir:CapabilityStatement.rest.security.cors [ boolean ]; # 0..1 Adds CORS Headers (http://enable-cors.org/)
      fhir:CapabilityStatement.rest.security.service [ CodeableConcept ], ... ; # 0..* OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
      fhir:CapabilityStatement.rest.security.description [ string ]; # 0..1 General description of how security works
      fhir:CapabilityStatement.rest.security.certificate [ # 0..* Certificates associated with security profiles
        fhir:CapabilityStatement.rest.security.certificate.type [ code ]; # 0..1 Mime type for certificates
        fhir:CapabilityStatement.rest.security.certificate.blob [ base64Binary ]; # 0..1 Actual certificate
      ], ...;
    ];
    fhir:CapabilityStatement.rest.resource [ # 0..* Resource served on the REST interface
      fhir:CapabilityStatement.rest.resource.type [ code ]; # 1..1 A resource type that is supported
      fhir:CapabilityStatement.rest.resource.profile [ Reference(StructureDefinition) ]; # 0..1 Base System profile for all uses of resource
      fhir:CapabilityStatement.rest.resource.documentation [ markdown ]; # 0..1 Additional information about the use of the resource type
      fhir:CapabilityStatement.rest.resource.interaction [ # 1..* What operations are supported?
        fhir:CapabilityStatement.rest.resource.interaction.code [ code ]; # 1..1 read | vread | update | patch | delete | history-instance | history-type | create | search-type
        fhir:CapabilityStatement.rest.resource.interaction.documentation [ string ]; # 0..1 Anything special about operation behavior
      ], ...;
      fhir:CapabilityStatement.rest.resource.versioning [ code ]; # 0..1 no-version | versioned | versioned-update
      fhir:CapabilityStatement.rest.resource.readHistory [ boolean ]; # 0..1 Whether vRead can return past versions
      fhir:CapabilityStatement.rest.resource.updateCreate [ boolean ]; # 0..1 If update can commit to a new identity
      fhir:CapabilityStatement.rest.resource.conditionalCreate [ boolean ]; # 0..1 If allows/uses conditional create
      fhir:CapabilityStatement.rest.resource.conditionalRead [ code ]; # 0..1 not-supported | modified-since | not-match | full-support
      fhir:CapabilityStatement.rest.resource.conditionalUpdate [ boolean ]; # 0..1 If allows/uses conditional update
      fhir:CapabilityStatement.rest.resource.conditionalDelete [ code ]; # 0..1 not-supported | single | multiple - how conditional delete is supported
      fhir:CapabilityStatement.rest.resource.referencePolicy [ code ], ... ; # 0..* literal | logical | resolves | enforced | local
      fhir:CapabilityStatement.rest.resource.searchInclude [ string ], ... ; # 0..* _include values supported by the server
      fhir:CapabilityStatement.rest.resource.searchRevInclude [ string ], ... ; # 0..* _revinclude values supported by the server
      fhir:CapabilityStatement.rest.resource.searchParam [ # 0..* Search parameters supported by implementation
        fhir:CapabilityStatement.rest.resource.searchParam.name [ string ]; # 1..1 Name of search parameter
        fhir:CapabilityStatement.rest.resource.searchParam.definition [ uri ]; # 0..1 Source of definition for parameter
        fhir:CapabilityStatement.rest.resource.searchParam.type [ code ]; # 1..1 number | date | string | token | reference | composite | quantity | uri
        fhir:CapabilityStatement.rest.resource.searchParam.documentation [ string ]; # 0..1 Server-specific usage
      ], ...;
    ], ...;
    fhir:CapabilityStatement.rest.interaction [ # 0..* What operations are supported?
      fhir:CapabilityStatement.rest.interaction.code [ code ]; # 1..1 transaction | batch | search-system | history-system
      fhir:CapabilityStatement.rest.interaction.documentation [ string ]; # 0..1 Anything special about operation behavior
    ], ...;
    fhir:CapabilityStatement.rest.searchParam [ See CapabilityStatement.rest.resource.searchParam ], ... ; # 0..* Search parameters for searching all resources
    fhir:CapabilityStatement.rest.operation [ # 0..* Definition of an operation or a custom query
      fhir:CapabilityStatement.rest.operation.name [ string ]; # 1..1 Name by which the operation/query is invoked
      fhir:CapabilityStatement.rest.operation.definition [ Reference(OperationDefinition) ]; # 1..1 The defined operation/query
    ], ...;
    fhir:CapabilityStatement.rest.compartment [ uri ], ... ; # 0..* Compartments served/used by system
  ], ...;
  fhir:CapabilityStatement.messaging [ # 0..* If messaging is supported
    fhir:CapabilityStatement.messaging.endpoint [ # 0..* Where messages should be sent
      fhir:CapabilityStatement.messaging.endpoint.protocol [ Coding ]; # 1..1 http | ftp | mllp +
      fhir:CapabilityStatement.messaging.endpoint.address [ uri ]; # 1..1 Network address or identifier of the end-point
    ], ...;
    fhir:CapabilityStatement.messaging.reliableCache [ unsignedInt ]; # 0..1 Reliable Message Cache Length (min)
    fhir:CapabilityStatement.messaging.documentation [ string ]; # 0..1 Messaging interface behavior details
    fhir:CapabilityStatement.messaging.supportedMessage [ # 0..* Messages supported by this system
      fhir:CapabilityStatement.messaging.supportedMessage.mode [ code ]; # 1..1 sender | receiver
      fhir:CapabilityStatement.messaging.supportedMessage.definition [ Reference(MessageDefinition) ]; # 1..1 Message supported by this system
    ], ...;
    fhir:CapabilityStatement.messaging.event [ # 0..* Declare support for this event
      fhir:CapabilityStatement.messaging.event.code [ Coding ]; # 1..1 Event type
      fhir:CapabilityStatement.messaging.event.category [ code ]; # 0..1 Consequence | Currency | Notification
      fhir:CapabilityStatement.messaging.event.mode [ code ]; # 1..1 sender | receiver
      fhir:CapabilityStatement.messaging.event.focus [ code ]; # 1..1 Resource that's focus of message
      fhir:CapabilityStatement.messaging.event.request [ Reference(StructureDefinition) ]; # 1..1 Profile that describes the request
      fhir:CapabilityStatement.messaging.event.response [ Reference(StructureDefinition) ]; # 1..1 Profile that describes the response
      fhir:CapabilityStatement.messaging.event.documentation [ string ]; # 0..1 Endpoint-specific event documentation
    ], ...;
  ], ...;
  fhir:CapabilityStatement.document [ # 0..* Document definition
    fhir:CapabilityStatement.document.mode [ code ]; # 1..1 producer | consumer
    fhir:CapabilityStatement.document.documentation [ string ]; # 0..1 Description of document support
    fhir:CapabilityStatement.document.profile [ Reference(StructureDefinition) ]; # 1..1 Constraint on a resource used in the document
  ], ...;
]

Changes since DSTU2

This resource did not exist in Release 2

This analysis is available as XML or JSON.

 

Alternate definitions: Master Definition (XML, JSON), XML Schema/Schematron (for ) + JSON Schema, ShEx (for Turtle)

PathDefinitionTypeReference
CapabilityStatement.status The lifecycle status of a Value Set or Concept Map.RequiredPublicationStatus
CapabilityStatement.jurisdiction Countries and regions within which this artifact is targeted for useExtensibleJurisdiction ValueSet
CapabilityStatement.kind How a capability statement is intended to be used.RequiredCapabilityStatementKind
CapabilityStatement.acceptUnknown A code that indicates whether an application accepts unknown elements or extensions when reading resources.RequiredUnknownContentCode
CapabilityStatement.format
CapabilityStatement.patchFormat
CapabilityStatement.rest.security.certificate.type
The mime type of an attachment. Any valid mime type is allowed.RequiredBCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
CapabilityStatement.rest.mode The mode of a RESTful capability statement.RequiredRestfulCapabilityMode
CapabilityStatement.rest.security.service Types of security services used with FHIR.ExtensibleRestfulSecurityService
CapabilityStatement.rest.resource.type
CapabilityStatement.messaging.event.focus
One of the resource types defined as part of FHIR.RequiredResource Types
CapabilityStatement.rest.resource.interaction.code Operations supported by REST at the type or instance level.RequiredTypeRestfulInteraction
CapabilityStatement.rest.resource.versioning How the system supports versioning for a resource.RequiredResourceVersionPolicy
CapabilityStatement.rest.resource.conditionalRead A code that indicates how the server supports conditional read.RequiredConditionalReadStatus
CapabilityStatement.rest.resource.conditionalDelete A code that indicates how the server supports conditional delete.RequiredConditionalDeleteStatus
CapabilityStatement.rest.resource.referencePolicy A set of flags that defines how references are supported.RequiredReferenceHandlingPolicy
CapabilityStatement.rest.resource.searchParam.type Data types allowed to be used for search parameters.RequiredSearchParamType
CapabilityStatement.rest.interaction.code Operations supported by REST at the system level.RequiredSystemRestfulInteraction
CapabilityStatement.messaging.endpoint.protocol The protocol used for message transport.ExtensibleMessageTransport
CapabilityStatement.messaging.supportedMessage.mode
CapabilityStatement.messaging.event.mode
The mode of a message capability statement.RequiredEventCapabilityMode
CapabilityStatement.messaging.event.code One of the message events defined as part of FHIR.ExampleMessage Events
CapabilityStatement.messaging.event.category The impact of the content of a message.RequiredMessageSignificanceCategory
CapabilityStatement.document.mode Whether the application produces or consumes documents.RequiredDocumentMode

  • cpb-1: A Capability Statement SHALL have at least one of REST, messaging or document element. (expression : rest.exists() or messaging.exists() or document.exists())
  • cpb-12: On CapabilityStatement.rest.resource: Search parameter names must be unique in the context of a resource. (expression on CapabilityStatement.rest.resource: searchParam.select(name).isDistinct())
  • cpb-14: Capability Statements of kind 'requirements' do not have software or implementation elements. (expression : (software.empty() and implementation.empty()) or kind != 'requirements')
  • cpb-15: Capability Statements of kind 'instance' do not have implementation elements. (expression : implementation.empty() or kind != 'capability')
  • cpb-16: On CapabilityStatement.messaging: A Capability Statement messaging element SHALL have either supportedMessage or event element, but not both. (expression on CapabilityStatement.messaging: supportedMessage.empty() != event.empty())
  • cpb-2: A Capability Statement SHALL have at least one of description, software, or implementation element. (expression : (description.count() + software.count() + implementation.count()) > 0)
  • cpb-3: Messaging end-point is required (and is only permitted) when a statement is for an implementation. (expression : messaging.endpoint.empty() or kind = 'instance')
  • cpb-7: The set of documents must be unique by the combination of profile and mode. (expression : document.select(profile.reference&mode).isDistinct())
  • cpb-8: There can only be one REST declaration per mode. (expression : rest.select(mode).isDistinct())
  • cpb-9: On CapabilityStatement.rest: A given resource can only be described once per RESTful mode. (expression on CapabilityStatement.rest: resource.select(type).isDistinct())
  • The CapabilityStatement resource provides for an application to describe its use of the RESTful paradigm messaging events, or FHIR documents. Usually, an application would only describe one, but more than one may be described
  • RESTful CapabilityStatement rules:
    • RESTful servers are required to provide this resource on demand. Servers SHALL specify what resource types and operations are supported, and SHOULD also specify profiles for each resource type.
    • RESTful clients SHOULD publish a capability statement
    • The search parameters that a server supports (or a client makes use of) are specified in the resource profile that the capability statement references
    • Resource Types or operations that are not listed are not supported
  • Messaging CapabilityStatement rules:
    • The interpretation of request and response depends on the mode. If the mode is sender, then request specifies what the application sends, and response specifies what it accepts. If the mode is "receiver", then this is reversed
    • If a request or response is not specified for an event, then no rules are made for it
    • Events that are not listed are not supported
    • The MessageDefinition resource is newly proposed and is still considered 'draft'. The supportedMessage element can be used in place of the event and the work group believes it may meet implementer needs better, however because the new mechanism has not yet been reviewed by ballot, the older 'event' mechanism has been retained. Implementers may use one or the other to define their capabilities. Feedback is welcome.
  • Document CapabilityStatement rules:
    • Document profiles should directly constrain the Document.information.class & type elements so that there is no ambiguity concerning which profile any given document conforms to.
  • Other service based use of resources: Due to the variability of these services, the CapabilityStatement resource does not attempt to describe service based use of resources. The various service specifications will need to describe this usage in their own way.

A CapabilityStatement declares two different kinds of profiles for the functionality it describes. For a discussion of the use of these two types of resources, see two uses for profiles.

Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

NameTypeDescriptionExpressionIn Common
datedateThe capability statement publication dateCapabilityStatement.date
descriptionstringThe description of the capability statementCapabilityStatement.description
eventtokenEvent code in a capability statementCapabilityStatement.messaging.event.code
fhirversiontokenThe version of FHIRCapabilityStatement.version
formattokenformats supported (xml | json | ttl | mime type)CapabilityStatement.format
guideuriImplementation guides supportedCapabilityStatement.implementationGuide
jurisdictiontokenIntended jurisdiction for the capability statementCapabilityStatement.jurisdiction
modetokenMode - restful (server/client) or messaging (sender/receiver)CapabilityStatement.rest.mode
namestringComputationally friendly name of the capability statementCapabilityStatement.name
publisherstringName of the publisher of the capability statementCapabilityStatement.publisher
resourcetokenName of a resource mentioned in a capability statementCapabilityStatement.rest.resource.type
resource-profilereferenceA profile id invoked in a capability statementCapabilityStatement.rest.resource.profile
(StructureDefinition)
security-servicetokenOAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | CertificatesCapabilityStatement.rest.security.service
softwarestringPart of a the name of a software applicationCapabilityStatement.software.name
statustokenThe current status of the capability statementCapabilityStatement.status
supported-profilereferenceProfiles for use cases supportedCapabilityStatement.profile
(StructureDefinition)
titlestringThe human-friendly name of the capability statementCapabilityStatement.title
urluriThe uri that identifies the capability statementCapabilityStatement.url
versiontokenThe business version of the capability statementCapabilityStatement.version