This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
This resource maintained by the FHIR Management Group Work Group
Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest.
Other is a special type of resource. Unlike all other resources, it doesn't correspond to a specific identifiable real-world concept. Instead, it's a placeholder for any resource-like concept that isn't already defined in the HL7 specification.
The Other resource is intended for use in two circumstances:
There's also a third circumstance: An implementer wishes to convey information that could/should be conveyed using a standard resource, however they want to represent the information in a custom format that isn't aligned with the official resource's elements. While this resource would be the preferred way of meeting that use-case because it will at least be wire-format compatible, such a use would not be conformant because making use of the Other resource would prevent the healthcare-related information from being safely processed, queried and analyzed by other conformant systems.
Implementers don't really need to be concerned with one of the two categories their desired resource fits within. If they need a resource and it doesn't yet exist, they should use Other.
Other defines only a minimal set of data elements - those necessary to identify what kind of resource it represents and those necessary to support resource compartmenting. All other data elements are represented using the extension mechanism.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Other | DomainResource | Resource for non-supported content | ||
identifier | 0..* | Identifier | Business identifier | |
code | M | 1..1 | CodeableConcept | Kind of Resource OtherResourceType (Example) |
subject | 0..1 | Any | Identifies the | |
author | 0..1 | Practitioner | Patient | RelatedPerson | Who created | |
created | 0..1 | date | When created |
UML Diagram
XML Template
<Other xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Business identifier --></identifier> <code><!-- 1..1 CodeableConcept Kind of Resource --></code> <subject><!-- 0..1 Reference(Any) Identifies the --></subject> <author><!-- 0..1 Reference(Practitioner|Patient|RelatedPerson) Who created --></author> <created value="[date]"/><!-- 0..1 When created --> </Other>
JSON Template
{ "resourceType" : "Other", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Business identifier "code" : { CodeableConcept }, // R! Kind of Resource "subject" : { Reference(Any) }, // Identifies the "author" : { Reference(Practitioner|Patient|RelatedPerson) }, // Who created "created" : "<date>" // When created }
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Other | DomainResource | Resource for non-supported content | ||
identifier | 0..* | Identifier | Business identifier | |
code | M | 1..1 | CodeableConcept | Kind of Resource OtherResourceType (Example) |
subject | 0..1 | Any | Identifies the | |
author | 0..1 | Practitioner | Patient | RelatedPerson | Who created | |
created | 0..1 | date | When created |
XML Template
<Other xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Business identifier --></identifier> <code><!-- 1..1 CodeableConcept Kind of Resource --></code> <subject><!-- 0..1 Reference(Any) Identifies the --></subject> <author><!-- 0..1 Reference(Practitioner|Patient|RelatedPerson) Who created --></author> <created value="[date]"/><!-- 0..1 When created --> </Other>
JSON Template
{ "resourceType" : "Other", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Business identifier "code" : { CodeableConcept }, // R! Kind of Resource "subject" : { Reference(Any) }, // Identifies the "author" : { Reference(Practitioner|Patient|RelatedPerson) }, // Who created "created" : "<date>" // When created }
Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire
Path | Definition | Type | Reference |
---|---|---|---|
Other.code | Codes for identifying types of resources not yet defined by FHIR | Example | http://hl7.org/fhir/vs/other-resource-type |
Technically, nothing prevents implementers from going off and defining their own resources containing whatever data elements they wish. However, doing so causes several issues:
All of these concerns are mitigated when there's an assumption that the custom resource will only be used within a narrow constrained environment where all participants will be aware of the semantics, will be using the same custom schemas and there's no chance of collisions. However, HL7's experience is that closed implementation environments rarely remain that way over the long term. Eventually data will need to be shared with others outside the closed environment and all of the above issues will again come into play.
Therefore, use of 'custom' resources is NOT considered to be conformant with FHIR. While the use of extensions may make the Other resource slightly more complex and less visually appealing, it is the only safe and approved mechanism for sharing resource concepts not representable using standard HL7-defined resources.
NOTE: This position is subject to change based on implementation experience. Alternative mechanisms for handling custom resource requirements in a safe manner may be explored. Ideas around alternative technical strategies for managing this issue are welcome.
There are several good practices to follow when making use of the Other resource:
Other should always be defined by the use of a
None of the standard resources will have direct references to Other, aside from those that allow linking to "Any" resource. As a result, most references to "Other" will need to be performed using extensions.
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
Name | Type | Description | Paths |
code | token | Kind of Resource | Other.code |
created | date | When created | Other.created |
patient | reference | Identifies the | Other.subject (Patient) |
subject | reference | Identifies the | Other.subject (Any) |