DSTU2 Ballot Source

This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

6.16.7 Resource Conformance - Detailed Descriptions

Detailed Descriptions for the elements in the Conformance resource.

Conformance
Definition

A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation.

Control1..1
InvariantsDefined on this element
cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document (xpath: exists(f:rest) or exists(f:messaging) or exists(f:document))
cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
cnf-4: If there is more than one messaging element, endpoint must be specified for each one (xpath: count(f:messaging)<=1 or not(f:messaging[not(f:endpoint)]))
cnf-5: The set of end points listed for messaging must be unique (xpath: count(f:messaging/f:endpoint)=count(distinct-values(f:messaging/f:endpoint/@value)))
cnf-7: The set of documents must be unique by the combination of profile & mode (xpath: count(f:document[f:mode='producer'])=count(distinct-values(f:document[f:mode='producer']/f:profile/@value)) and count(f:document[f:mode='consumer'])=count(distinct-values(f:document[f:mode='consumer']/f:profile/@value)))
cnf-8: There can only be one REST declaration per mode (xpath: count(f:rest)=count(distinct-values(f:rest/f:mode/@value)))
Conformance.url
Definition

An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:).

Control0..1
Typeuri
Summarytrue
Conformance.version
Definition

The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.

NoteThis is a business versionId, not a resource identifier (see discussion)
Control0..1
Typestring
Summarytrue
Comments

There may be multiple different instances of a conformance statement that have the same identifier but different versions.

Conformance.name
Definition

A free text natural language name identifying the conformance statement.

Control0..1
Typestring
Summarytrue
Comments

The name is not expected to be globally unique.

Conformance.publisher
Definition

The name of the individual or organization that published the conformance.

Control0..1
Typestring
Requirements

Helps establish the "authority/credibility" of the conformance. May also allow for contact.

Summarytrue
Comments

Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.

Conformance.contact
Definition

Contacts to assist a user in finding and communicating with the publisher.

Control0..*
Summarytrue
Comments

May be a web site, an email address, a telephone number (tel:), etc.

Conformance.contact.name
Definition

The name of an individual to contact regarding the conformance.

Control0..1
Typestring
Summarytrue
Comments

If there is no named individual, the telecom is for the organization as a whole.

Conformance.contact.telecom
Definition

Contact details for individual (if a name was provided) or the publisher.

Control0..*
TypeContactPoint
Summarytrue
Conformance.description
Definition

A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.

Control0..1
Typestring
Summarytrue
Comments

This field cmay include the purpose of this conformance statement, comments about its context etc. This does not need to be populated if the description is adequately implied by the software or implementation details.

InvariantsAffect this element
cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
Conformance.requirements
Definition

Explains why this conformance statement is needed and why it's been constrained as it has.

Control0..1
Typestring
Comments

This element does not describe the usage of the conformance statement (that's done in comments), rather it's for traceability of why the element is either needed or why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this data element.

Conformance.copyright
Definition

A copyright statement relating to the conformamce statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.

Control0..1
Typestring
Alternate NamesLicense; Restrictions
Conformance.status
Definition

The status of this conformance statement.

Control0..1
BindingConformanceResourceStatus: Required: http://hl7.org/fhir/conformance-resource-status (The lifecycle status of a Value Set or Concept Map)
Typecode
Is Modifiertrue
Summarytrue
Comments

This is not intended for use with actual conformance statements, but where conformance statements are used to describe possible or desired systems.

Conformance.experimental
Definition

A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.

Control0..1
Typeboolean
Summarytrue
Comments

Allows filtering of conformance statements that are appropriate for use vs. not.

Conformance.date
Definition

The date (and optionally time) when the conformance statement was published.

Control1..1
TypedateTime
Summarytrue
Conformance.software
Definition

Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation.

Control0..1
Summarytrue
InvariantsAffect this element
cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
Conformance.software.name
Definition

Name software is known by.

Control1..1
Typestring
Summarytrue
Conformance.software.version
Definition

The version identifier for the software covered by this statement.

NoteThis is a business versionId, not a resource identifier (see discussion)
Control0..1
Typestring
Summarytrue
Comments

If possible, version should be specified, as statements are likely to be different for different versions of software.

Conformance.software.releaseDate
Definition

Date this version of the software released.

Control0..1
TypedateTime
Summarytrue
Conformance.implementation
Definition

Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program.

Control0..1
Summarytrue
InvariantsAffect this element
cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
Conformance.implementation.description
Definition

Information about the specific installation that this conformance statement relates to.

Control1..1
Typestring
Summarytrue
Conformance.implementation.url
Definition

An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces.

Control0..1
Typeuri
Summarytrue
Conformance.fhirVersion
Definition

The version of the FHIR specification on which this conformance statement is based.

Control1..1
Typeid
Summarytrue
Conformance.acceptUnknown
Definition

A flag that indicates whether the application accepts unknown elements as part of a resource.

Control1..1
Typeboolean
Summarytrue
Comments

This is not about extensions, but about unknown elements in a resource - these can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence this element is about inter-version compatibility.

Conformance.format
Definition

A list of the formats supported by this implementation using their content types.

Control1..*
BindingMimeType: Required: BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) (The mime type of an attachment)
Typecode
Comments

"xml" or "json" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.

Conformance.profile
Definition

A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.

Control0..*
TypeReference(StructureDefinition)
Comments

Supported profiles are different to the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports- this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the profile parameter, so any resources listed here must be valid values for the profile resource (using the identifier in the target profile).

Typical supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However they do not need to describe more than one resource.

Conformance.rest
Definition

A definition of the restful capabilities of the solution, if any.

Control0..*
Comments

Multiple repetitions allow definition of both client and / or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).

InvariantsDefined on this element
cnf-10: A given query can only be described once per RESTful mode (xpath: count(f:query)=count(distinct-values(f:query/f:name/@value)))
cnf-9: A given resource can only be described once per RESTful mode (xpath: count(f:resource)=count(distinct-values(f:resource/f:type/@value)))
Affect this element
cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document (xpath: exists(f:rest) or exists(f:messaging) or exists(f:document))
Conformance.rest.mode
Definition

Identifies whether this portion of the statement is describing ability to initiate or receive restful operations.

Control1..1
BindingRestfulConformanceMode: Required: http://hl7.org/fhir/restful-conformance-mode (The mode of a RESTful conformance statement)
Typecode
Conformance.rest.documentation
Definition

Information about the system's restful capabilities that apply across all applications, such as security.

Control0..1
Typestring
Conformance.rest.security
Definition

Information about security implementation from an interface perspective - what a client needs to know.

Control0..1
Conformance.rest.security.cors
Definition

Server adds CORS headers when responding to requests - this enables javascript applications to use the server.

Control0..1
Typeboolean
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.

Conformance.rest.security.service
Definition

Types of security services are supported/required by the system.

Control0..*
BindingRestfulSecurityService: Required: http://hl7.org/fhir/restful-security-service (Types of security services used with FHIR)
TypeCodeableConcept
Conformance.rest.security.description
Definition

General description of how security works.

Control0..1
Typestring
Conformance.rest.security.certificate
Definition

Certificates associated with security profiles.

Control0..*
Conformance.rest.security.certificate.type
Definition

Mime type for certificate.

Control0..1
BindingMimeType: Required: BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) (The mime type of an attachment)
Typecode
Conformance.rest.security.certificate.blob
Definition

Actual certificate.

Control0..1
Typebase64Binary
Conformance.rest.resource
Definition

A specification of the restful capabilities of the solution for a specific resource type.

Control1..*
Comments

Max of one repetition per resource type.

InvariantsDefined on this element
cnf-11: Operation codes must be unique in the context of a resource (xpath: count(f:operation)=count(distinct-values(f:operation/f:code/@value)))
cnf-12: Search parameter names must be unique in the context of a resource (xpath: count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value)))
Conformance.rest.resource.type
Definition

A type of resource exposed via the restful interface.

Control1..1
BindingResourceType: Any defined Resource Type name
Typecode
Conformance.rest.resource.profile
Definition

A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.

Control0..1
TypeReference(StructureDefinition)
Comments

The profile applies to all resources of this type - i.e. it is the superset of what is supported by the system.

Conformance.rest.resource.interaction
Definition

Identifies a restful operation supported by the solution.

Control1..*
Conformance.rest.resource.interaction.code
Definition

Coded identifier of the operation, supported by the system resource.

Control1..1
BindingTypeRestfulInteraction: Required: http://hl7.org/fhir/type-restful-interaction (Operations supported by REST at the type or instance level)
Typecode
Conformance.rest.resource.interaction.documentation
Definition

Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'.

Control0..1
Typestring
Requirements

REST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of.

Conformance.rest.resource.versioning
Definition

Thi field is set to true to specify that the system does not support (server) or use (client) versioning for this resource type. If this is not set to true, the server must at least correctly track and populate the versionId meta-property on resources.

Control0..1
BindingResourceVersionPolicy: Required: http://hl7.org/fhir/versioning-policy (How the system supports versioning for a resource)
Typecode
Comments

If a server supports versionIds correctly, it should support vread too, but is not required to do so.

Conformance.rest.resource.readHistory
Definition

A flag for whether the server is able to return past versions as part of the vRead operation.

Control0..1
Typeboolean
Comments

It is useful to support the vRead operation for current operations, even if past versions aren't available.

Conformance.rest.resource.updateCreate
Definition

A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server.

Control0..1
Typeboolean
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.

Conformance.rest.resource.conditionalCreate
Definition

A flag that indicates that the server supports conditional create.

Control0..1
Typeboolean
Comments

Conditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2.

Conformance.rest.resource.conditionalUpdate
Definition

A flag that indicates that the server supports conditional update.

Control0..1
Typeboolean
Comments

Conditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2.

Conformance.rest.resource.conditionalDelete
Definition

A flag that indicates that the server supports conditional delete.

Control0..1
Typeboolean
Comments

Conditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2.

Conformance.rest.resource.searchInclude
Definition

A list of _include values supported by the server.

Control0..*
Typestring
Comments

If this list is empty, the server does not support includes.

Conformance.rest.resource.searchParam
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.

Control0..*
Conformance.rest.resource.searchParam.name
Definition

The name of the search parameter used in the interface.

Control1..1
Typestring
Comments

Parameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined.

Conformance.rest.resource.searchParam.definition
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).

Control0..1
Typeuri
Comments

This SHOULD be present, and matches SearchParameter.url.

Conformance.rest.resource.searchParam.type
Definition

The type of value a search parameter refers to, and how the content is interpreted.

Control1..1
BindingSearchParamType: Required: http://hl7.org/fhir/search-param-type (Data types allowed to be used for search parameters)
Typecode
Comments

While this can be looked up from the definition, it is included here as a convenience for systems that auto-generate a query interface based on the server conformance statement. It SHALL be the same as the type in the search parameter definition.

Conformance.rest.resource.searchParam.documentation
Definition

This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.

Control0..1
Typestring
Conformance.rest.resource.searchParam.target
Definition

Types of resource (if a resource is referenced).

Control0..*
BindingResourceType: Any defined Resource Type name
Typecode
Comments

This SHALL be the same as or a proper subset of the resources listed in the search parameter definition.

Conformance.rest.resource.searchParam.chain
Definition

Chained names supported.

Control0..*
Typestring
Conformance.rest.interaction
Definition

A specification of restful operations supported by the system.

Control0..*
Conformance.rest.interaction.code
Definition

A coded identifier of the operation, supported by the system.

Control1..1
BindingSystemRestfulInteraction: Required: http://hl7.org/fhir/system-restful-interaction (Operations supported by REST at the system level)
Typecode
Conformance.rest.interaction.documentation
Definition

Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented.

Control0..1
Typestring
Conformance.rest.operation
Definition

Definition of an operation or a named query and with its parameters and their meaning and type.

Control0..*
Conformance.rest.operation.name
Definition

The name of a query, which is used in the _query parameter when the query is called.

Control1..1
Typestring
Comments

The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used.

Conformance.rest.operation.definition
Definition

Where the formal definition can be found.

Control1..1
TypeReference(OperationDefinition)
Comments

This can be used to build ah HTML form to invoke the operation, for instance.

Conformance.rest.documentMailbox
Definition

A list of absolute URIs that identify profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose.

Control0..*
Typeuri
Comments

If a server accepts messages on the /Mailbox end-point, it declares this in the messaging elements.

Conformance.rest.compartment
Definition

An absolute URI which is a reference to the definition of a compartment hosted by the system.

Control0..*
Typeuri
Comments

At present, the only defined compartments are at [[extras.html]].

Conformance.messaging
Definition

A description of the messaging capabilities of the solution.

Control0..*
Comments

Multiple repetitions allow the documentation of multiple endpoints per solution.

InvariantsDefined on this element
cnf-3: Messaging end point is required (and is only permitted) when statement is for an implementation (xpath: exists(f:endpoint) = exists(parent::f:Conformance/f:implementation))
cnf-6: The set of events per messaging endpoint must be unique by the combination of code & mode (xpath: count(f:event[f:mode='sender'])=count(distinct-values(f:event[f:mode='sender']/f:code/@value)) and count(f:event[f:mode='receiver'])=count(distinct-values(f:event[f:mode='receiver']/f:code/@value)))
Affect this element
cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document (xpath: exists(f:rest) or exists(f:messaging) or exists(f:document))
Conformance.messaging.endpoint
Definition

An address to which messages and/or replies are to be sent.

Control0..1
Typeuri
Comments

For solutions that do not use network addresses for routing, it can be just an identifier.

InvariantsAffect this element
cnf-3: Messaging end point is required (and is only permitted) when statement is for an implementation (xpath: exists(f:endpoint) = exists(parent::f:Conformance/f:implementation))
Conformance.messaging.reliableCache
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).

Control0..1
TypeunsignedInt
Comments

If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging.

Conformance.messaging.documentation
Definition

Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner.

Control0..1
Typestring
Conformance.messaging.event
Definition

A description of the solution's support for an event at this end point.

Control1..*
Comments

The same event may be listed up to two times - once as sender and once as receiver.

To DoNeed to add follow-ups and need to do more to flesh out messaging dynamic model.
Conformance.messaging.event.code
Definition

A coded identifier of a supported messaging event.

Control1..1
BindingMessageEvent: the Event List in the messaging framework
TypeCoding
To DoMay need a profile id as well if profiles can define message events.
Conformance.messaging.event.category
Definition

The impact of the content of the message.

Control0..1
BindingMessageSignificanceCategory: Required: http://hl7.org/fhir/message-significance-category (The impact of the content of a message)
Typecode
Conformance.messaging.event.mode
Definition

The mode of this event declaration - whether application is sender or receiver.

Control1..1
BindingConformanceEventMode: Required: http://hl7.org/fhir/message-conformance-event-mode (The mode of a message conformance statement)
Typecode
Conformance.messaging.event.protocol
Definition

A list of the messaging transport protocol(s) identifiers, supported by this endpoint.

Control0..*
BindingMessageTransport: Required: http://hl7.org/fhir/message-transport (The protocol used for message transport)
TypeCoding
To DoLoosen this to "extensible" once tooling supports that.
Conformance.messaging.event.focus
Definition

A resource associated with the event. This is the resource that defines the event.

Control1..1
BindingResourceType: Any defined Resource Type name
Typecode
Comments

This SHALL be provided if the event type supports multiple different resource types.

Conformance.messaging.event.request
Definition

Information about the request for this event.

Control1..1
TypeReference(StructureDefinition)
Conformance.messaging.event.response
Definition

Information about the response for this event.

Control1..1
TypeReference(StructureDefinition)
Conformance.messaging.event.documentation
Definition

Guidance on how this event is handled, such as internal system trigger points, business rules, etc.

Control0..1
Typestring
Conformance.document
Definition

A document definition.

Control0..*
InvariantsAffect this element
cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document (xpath: exists(f:rest) or exists(f:messaging) or exists(f:document))
Conformance.document.mode
Definition

Mode of this document declaration - whether application is producer or consumer.

Control1..1
BindingDocumentMode: Required: http://hl7.org/fhir/document-mode (Whether the application produces or consumes documents)
Typecode
Conformance.document.documentation
Definition

A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc.

Control0..1
Typestring
Conformance.document.profile
Definition

A constraint on a resource used in the document.

Control1..1
TypeReference(StructureDefinition)
Comments

The first resource is the document resource.