This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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.12.7 Resource Conformance - Formal Definitions

Formal definitions for the elements in the Conformance resource.

Conformance
DefinitionA 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
Inv-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))
Inv-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
Inv-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)]))
Inv-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)))
Inv-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)))
Inv-8: There can only be one REST declaration per mode (xpath: count(f:rest)=count(distinct-values(f:rest/f:mode/@value)))
Conformance.identifier
DefinitionThe identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI).
Control0..1
Typestring
Summarytrue
Conformance.version
DefinitionThe 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.
Control0..1
Typestring
Summarytrue
CommentsThere may be multiple different instances of a conformance statement that have the same identifier but different versions.
Conformance.name
DefinitionA free text natural language name identifying the conformance statement.
Control0..1
Typestring
Summarytrue
CommentsThe name is not expected to be globally unique.
Conformance.publisher
DefinitionName of Organization publishing this conformance statement.
Control1..1
Typestring
Summarytrue
Conformance.telecom
DefinitionContacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc.
Control0..*
TypeContact
Summarytrue
Conformance.description
DefinitionA free text natural language description of the conformance statement and its use. Typically, this is used when the profile 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
CommentsThis 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
Inv-2: A Conformance statement SHALL have at least one of description, software, or implementation (xpath: count(f:software | f:implementation | f:description) > 0)
Conformance.status
DefinitionThe status of this conformance statement.
Control0..1
BindingConformanceStatementStatus: The status of this conformance statement (see http://hl7.org/fhir/conformance-statement-status for values)
Typecode
Is Modifiertrue
Summarytrue
CommentsThis is not intended for use with actual conformance statements, but where conformance statements are used to describe possible or desired systems.
Conformance.experimental
DefinitionA 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
CommentsAllows filtering of conformance statements that are appropriate for use vs. not.
Conformance.date
DefinitionThe date when the conformance statement was published.
Control1..1
TypedateTime
Summarytrue
Conformance.software
DefinitionSoftware that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation.
Control0..1
Summarytrue
InvariantsAffect this element
Inv-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
DefinitionName software is known by.
Control1..1
Typestring
Summarytrue
Conformance.software.version
DefinitionThe version identifier for the software covered by this statement.
Control0..1
Typestring
Summarytrue
CommentsIf possible, version should be specified, as statements are likely to be different for different versions of software.
Conformance.software.releaseDate
DefinitionDate this version of the software released.
Control0..1
TypedateTime
Summarytrue
Conformance.implementation
DefinitionIdentifies 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
Inv-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
DefinitionInformation about the specific installation that this conformance statement relates to.
Control1..1
Typestring
Summarytrue
Conformance.implementation.url
DefinitionA 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
DefinitionThe version of the FHIR specification on which this conformance statement is based.
Control1..1
Typeid
Summarytrue
Conformance.acceptUnknown
DefinitionA flag that indicates whether the application accepts unknown elements as part of a resource.
Control1..1
Typeboolean
Summarytrue
CommentsThis 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
DefinitionA list of the formats supported by this implementation.
Control1..*
BindingMimeType: see BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
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
DefinitionA list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of recourses, 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..*
TypeResource(Profile)
CommentsSupported 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
DefinitionA definition of the restful capabilities of the solution, if any.
Control0..*
CommentsMultiple 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
Inv-9: A given resource can only be described once per RESTful mode (xpath: count(f:resource)=count(distinct-values(f:resource/f:type/@value)))
Inv-10: A given query can only be described once per RESTful mode (xpath: count(f:query)=count(distinct-values(f:query/f:name/@value)))
Affect this element
Inv-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
DefinitionIdentifies whether this portion of the statement is describing ability to initiate or receive restful operations.
Control1..1
BindingRestfulConformanceMode: The mode of a RESTful conformance statement (see http://hl7.org/fhir/restful-conformance-mode for values)
Typecode
Conformance.rest.documentation
DefinitionInformation about the system's restful capabilities that apply across all applications, such as security.
Control0..1
Typestring
Conformance.rest.security
DefinitionInformation about security of implementation.
Control0..1
Conformance.rest.security.cors
DefinitionServer adds CORS headers when responding to requests - this enables javascript applications to yuse the server.
Control0..1
Typeboolean
CommentsThe easiest CORS headers to add are Access-Control-Allow-Origin: * & Access-Control-Request-Method: GET, POST, PUT, DELETE.
Conformance.rest.security.service
DefinitionTypes of security services are supported/required by the system.
Control0..*
BindingRestfulSecurityService: Types of security services used with FHIR (see http://hl7.org/fhir/restful-security-service for values)
TypeCodeableConcept
Conformance.rest.security.description
DefinitionGeneral description of how security works.
Control0..1
Typestring
Conformance.rest.security.certificate
DefinitionCertificates associated with security profiles.
Control0..*
Conformance.rest.security.certificate.type
DefinitionMime type for certificate.
Control0..1
BindingMimeType: see BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Typecode
Conformance.rest.security.certificate.blob
DefinitionActual certificate.
Control0..1
Typebase64Binary
Conformance.rest.resource
DefinitionA specification of the restful capabilities of the solution for a specific resource type.
Control1..*
CommentsMax of one repetition per resource type.
InvariantsDefined on this element
Inv-11: Operation codes must be unique in the context of a resource (xpath: count(f:operation)=count(distinct-values(f:operation/f:code/@value)))
Inv-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
DefinitionA type of resource exposed via the restful interface.
Control1..1
BindingResourceType: Any defined Resource Type name
Typecode
Conformance.rest.resource.profile
DefinitionA 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
TypeResource(Profile)
CommentsThe profile applies to all resources of this type - i.e. it is the superset of what is supported by the system.
Conformance.rest.resource.operation
DefinitionIdentifies a restful operation supported by the solution.
Control1..*
Conformance.rest.resource.operation.code
DefinitionCoded identifier of the operation, supported by the system resource.
Control1..1
BindingRestfulOperationType: Operations supported by REST at the type or instance level (see http://hl7.org/fhir/type-restful-operation for values)
Typecode
Conformance.rest.resource.operation.documentation
DefinitionGuidance 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
RequirementsREST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of.
Conformance.rest.resource.readHistory
DefinitionA flag for whether the server is able to return past versions as part of the vRead operation.
Control0..1
Typeboolean
CommentsIt is useful to support the vRead operation for current operations, even if past versions aren't available.
Conformance.rest.resource.updateCreate
DefinitionA flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server.
Control0..1
Typeboolean
CommentsAllowing 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, 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.
Conformance.rest.resource.searchInclude
DefinitionA list of _include values supported by the server.
Control0..*
Typestring
CommentsIf this list is empty, the server does not support includes.
Conformance.rest.resource.searchParam
DefinitionAdditional search parameters for implementations to support and/or make use of.
Control0..*
Conformance.rest.resource.searchParam.name
DefinitionThe name of the search parameter used in the interface.
Control1..1
Typestring
CommentsParameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined.
Conformance.rest.resource.searchParam.definition
DefinitionA formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter.
Control0..1
Typeuri
CommentsThis SHALL be populated for all search parameters not defined as part of the core FHIR specification. The uri is the uri of the profile defining the parameter followed by "#" followed by the structure name and search parameter name.
Conformance.rest.resource.searchParam.type
DefinitionThe type of value a search parameter refers to, and how the content is interpreted.
Control1..1
BindingSearchParamType: Data types allowed to be used for search parameters (see http://hl7.org/fhir/search-param-type for values)
Typecode
CommentsWhile 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
DefinitionThis 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
DefinitionTypes of resource (if a resource is referenced).
Control0..*
BindingResourceType: Any defined Resource Type name
Typecode
CommentsThis SHALL be the same as or a proper subset of the resources listed in the search parameter definition.
Conformance.rest.resource.searchParam.chain
DefinitionChained names supported.
Control0..*
Typestring
Conformance.rest.operation
DefinitionA specification of restful operations supported by the system.
Control0..*
Conformance.rest.operation.code
DefinitionA coded identifier of the operation, supported by the system.
Control1..1
BindingRestfulOperationSystem: Operations supported by REST at the system level (see http://hl7.org/fhir/system-restful-operation for values)
Typecode
Conformance.rest.operation.documentation
DefinitionGuidance 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.query
DefinitionDefinition of a named query and its parameters and their meaning.
Control0..*
InvariantsDefined on this element
Inv-13: Search parameter names must be unique in the context of a query (xpath: count(f:parameter)=count(distinct-values(f:parameter/f:name/@value)))
Conformance.rest.query.name
DefinitionThe name of a query, which is used in the _query parameter when the query is called.
Control1..1
Typestring
Conformance.rest.query.definition
DefinitionIdentifies the custom query, defined either in FHIR core or another profile.
Control1..1
Typeuri
Conformance.rest.query.documentation
DefinitionAdditional information about how the query functions in this particular implementation.
Control0..1
Typestring
Conformance.rest.query.parameter
DefinitionIdentifies which of the parameters for the named query are supported.
Control0..*
TypeSee Conformance.rest.resource.searchParam
CommentsThis SHALL be a proper subset of the parameters defined on the query definition.
Conformance.rest.documentMailbox
DefinitionA list of 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
CommentsIf a server accepts messages on the /Mailbox end-point, it declares this in the messaging elements.
Conformance.messaging
DefinitionA description of the messaging capabilities of the solution.
Control0..*
CommentsMultiple repetitions allow the documentation of multiple endpoints per solution.
InvariantsDefined on this element
Inv-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))
Inv-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
Inv-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
DefinitionAn address to which messages and/or replies are to be sent.
Control0..1
Typeuri
CommentsFor solutions that do not use network addresses for routing, it can be just an identifier.
InvariantsAffect this element
Inv-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
DefinitionLength if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender).
Control0..1
Typeinteger
CommentsIf this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging.
Conformance.messaging.documentation
DefinitionDocumentation 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
DefinitionA description of the solution's support for an event at this end point.
Control1..*
CommentsThe 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
DefinitionA 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
DefinitionThe impact of the content of the message.
Control0..1
BindingMessageSignificanceCategory: The impact of the content of a message (see http://hl7.org/fhir/message-significance-category for values)
Typecode
Conformance.messaging.event.mode
DefinitionThe mode of this event declaration - whether application is sender or receiver.
Control1..1
BindingConformanceEventMode: The mode of a message conformance statement (see http://hl7.org/fhir/message-conformance-event-mode for values)
Typecode
Conformance.messaging.event.protocol
DefinitionA list of the messaging transport protocol(s) identifiers, supported by this endpoint.
Control0..*
BindingMessageTransport: The protocol used for message transport (see http://hl7.org/fhir/message-transport for values)
TypeCoding
To DoLoosen this to "extensible" once tooling supports that.
Conformance.messaging.event.focus
DefinitionA resource associated with the event. This is the resource that defines the event.
Control1..1
BindingResourceType: Any defined Resource Type name
Typecode
CommentsThis SHALL be provided if the event type supports multiple different resource types.
Conformance.messaging.event.request
DefinitionInformation about the request for this event.
Control1..1
TypeResource(Profile)
Conformance.messaging.event.response
DefinitionInformation about the response for this event.
Control1..1
TypeResource(Profile)
Conformance.messaging.event.documentation
DefinitionGuidance on how this event is handled, such as internal system trigger points, business rules, etc.
Control0..1
Typestring
Conformance.document
DefinitionA document definition.
Control0..*
InvariantsAffect this element
Inv-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
DefinitionMode of this document declaration - whether application is producer or consumer.
Control1..1
BindingDocumentMode: Whether the application produces or consumes documents (see http://hl7.org/fhir/document-mode for values)
Typecode
Conformance.document.documentation
DefinitionA 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
DefinitionA constraint on a resource used in the document.
Control1..1
TypeResource(Profile)
CommentsThe first resource is the document resource.

comments powered by Disqus