This page is part of the HL7 Tools Extension IG (v0.1.0: Releases - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/tools/ValueSet/obligation | Version: 0.1.0 | |||
Active as of 2023-12-19 | Computable Name: ObligationCodesVS |
Obligation Codes
References
This value set is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)
http://hl7.org/fhir/tools/CodeSystem/obligation
Expansion based on codesystem Obligation Codes v0.1.0 (CodeSystem)
This value set contains 31 concepts
Level | Code | System | Display | Definition |
1 | ModifierCodes | http://hl7.org/fhir/tools/CodeSystem/obligation | ModifierCodes | SHALL/SHOULD that can be prepended to codes that have the qualify property = true |
2 | SHALL | http://hl7.org/fhir/tools/CodeSystem/obligation | SHALL | The functional requirement is mandatory. Applications that do not implement this functional behavior are considered non-conformant |
2 | SHOULD | http://hl7.org/fhir/tools/CodeSystem/obligation | SHOULD | The functional requirement is a recommendation |
1 | ResourceProducerObligations | http://hl7.org/fhir/tools/CodeSystem/obligation | ResourceProducerObligations | Resource producers are applications that assembles resources in the first place. Resource producers may be a server, client, sender, receiver or some middleware device, and they may store the resource, or merely hand it on. |
2 | can-send | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications producing resources SHALL/SHOULD be able to correctly populate this element | Notes: Typically, this means that an application needs to demonstrate during some conformance testing process that there are some conditions under which it populates the element with a correct value |
3 | will-send | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications producing resources SHALL/SHOULD send this element if a value is known, and allowed to be shared | Notes: This implementation obligation means that whenever the producer knows the correct value for an element, it populates it, subject to security, consent and privacy considerations |
2 | use-reason | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD provide an element with a DataAbsentReason or a NullFlavor (or equivalent) if a value is not known and the element is mandatory | Notes: When no value for an element is known, the producer populates the element with a |
2 | in-narrative | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD ensure that this data element is represented in any human readable representation in a resource | Notes: When no value for an element is known, the producer populates the element with a |
2 | in-ui | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD ensure that users can enter a value for this element during data input | Notes: Exactly what form the input takes is not specified, but the expectation is that this is a value that comes from the user, and not implied internally by the application |
2 | in-store | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD ensure that the value for this element is stored in a persistent data store | Notes: Exactly what the data store is not specified, nor how long it is stored for, but it is understand that the same value will be available in later exchanges |
2 | must-explain | http://hl7.org/fhir/tools/CodeSystem/obligation | Documentation applicable to Conformant Applications SHALL/SHOULD explain how this element is handled | Notes: this is really a rule about specifications, implying that another specification (which might be application documentation) either makes this element will-send, or explains how the use cases that involve this element do not arise, or how they are handled. An example: IPA marks Patient.active must-handle and must-explain. Client applications must process Patient.active correctly if they see it, but many (though not all) specifications and/or applications ensure that Patient.active will never be false, and so it will never be populated e.g. MedMij in Netherlands prohibits use of Patient.active, and explains that it is never false. |
1 | ExchangerObligations | http://hl7.org/fhir/tools/CodeSystem/obligation | ExchangerObligations | Exchangers do not produce or consume resources; they only pass the resource on. They may store the resource in a persistent store between reception and subsequent transfer. The generic FHIR servers are exchangers, as are most middleware systems. |
2 | unaltered | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD ensure that this element does not change between receiving and transfer | Notes: This does not mean that the element value cannot change, only that changing the element value for an element marked with this obligation moves an application from being an exchanger to a Consumer and a Producer, and those obligations apply |
2 | may-alter | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications MAY choose not to alter this element value | Notes: this is the converse of preserve, and is really a null-statement - it's the default rule for an application. It's defined here to allow a specification to be explicit that it isn't conveying obligations for resource producers |
1 | ResourceConsumerObligations | http://hl7.org/fhir/tools/CodeSystem/obligation | ResourceConsumerObligations | Resource Consumers are applications that consume resources and do something with them, either displaying them to humans, transferring them to some other format for further re-use, or using them to drive some kind of application logic process AKA decision support. Resource Consumers often store resources, but do not need to, and whether resources are stored or not between receiving them and using them doesn't make any difference to the obligations |
2 | no-error | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD accept resources containing any valid value for the element without error | Notes: Applications are still able to inform the user that a value cannot be processed correctly, but applications aren't able to reject the information out of hand or ignore the element value in order to process the resource correctly (which would be allowed for elements that do not have this obligation). This obligation also applies to elements that only contain a |
2 | handle | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD handle the meaning of this element correctly | Notes: this rule is vague in that doesn't specify any particular handling of the element. But it's important because an application that ignores this element is non-conformant. A good example would be a status code of 'entered-in-error' - how exactly a Resource Consumer handles this depends on the use case etc, but the application can never simply ignore such a status code. Note that whether the resource or information from it is stored for later use is irrelevant - when the resource or information in it is processed, the consequences of the element are considered. That may mean not retaining the information for later use, or informing the user, etc. Typically, this obligation marks that there are known patient safety issues that can arise if the element is ignored. Implementers should pay particular attention to the possible range of values for the element from a safety perspective. |
3 | display | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD display the value of this element when presenting the data from the resource to a human user | Notes: exactly how it is displayed is not specified, but it means that a human looking at the content of the resource is made aware of the value of the element so that they can consider the meaning of the resource |
3 | share | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD retain the value of this element when the information from the resource is shared with other applications | Notes: this rule applies whether the information is being shared in the form of a FHIR resource, or in some other format. The rule applies whether or not the resource is stored prior to sharing. |
3 | process | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD consider the value of this element when processing the resource as specified by the IG | Notes: this implies that the IG that specifies this obligation provides details about what processing is to be performed, and the obligation specifially relates to the processing specified in the IG |
3 | store | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD store the value of this element in a persistent data store | Notes: Exactly what the data store is not specified, nor how long it is stored for, but it is understand that the same value will be available in later exchanges |
3 | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD print the value of this element somewhere | Notes: The form of the printing is not specified. A profile using this value SHALL explain the nature of the printing requirement somehow | |
3 | ignore | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD ignore the value of this element somewhere | Notes: This is different to can-ignore, which indicates that the application may ignore it. This is an expectation that it will be ignored |
3 | preserve | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD keep the value of this element exactly | Notes: this is an expectation that future references to the value, whether produced or consumed, will be to the exact same data. Alternative or truncated data is not allowed |
3 | modify | http://hl7.org/fhir/tools/CodeSystem/obligation | Conformant Applications SHALL/SHOULD keep the value of this element exactly | Notes: this is an expectation that future references to the value, whether produced or consumed, will be to the exact same data. Alternative or truncated data is not allowed |
1 | AggregateConcepts | http://hl7.org/fhir/tools/CodeSystem/obligation | AggregateConcepts | Predefined common combinations |
2 | can-populate | http://hl7.org/fhir/tools/CodeSystem/obligation | A Conformant Application MAY choose to populate this element or not | Notes: this is the converse of will-send, and is really a null-statement - it's the default rule for an application. It's defined here to allow a specification to be explicit that it isn't conveying obligations for resource producers |
2 | can-ignore | http://hl7.org/fhir/tools/CodeSystem/obligation | A Conformant Application MAY ignore this element | Notes: this is the converse of must-handle, and is really a null-statement - it's the default rue for an application. It's defined here to allow a specification to be explicit that it isn't converying obligations for resource consumers |
2 | v2-re | http://hl7.org/fhir/tools/CodeSystem/obligation | V2 RE | RE as defined in chapter 2 of the v2 specification |
2 | ihe-r2 | http://hl7.org/fhir/tools/CodeSystem/obligation | IHE R2 | R2 as defined in IHE Appendix Z |
2 | std | http://hl7.org/fhir/tools/CodeSystem/obligation | Standard Obligations | The standard recommended set of obligations for IGs to use unless they know they want something different. Note that the standard codes don't include use-dar, use-dar-nf, use-dar-if-allowed / use-reason - that gets put on specific elements that justify this handling |
Explanation of the columns that may appear on this page:
Level | A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies |
System | The source of the definition of the code (when the value set draws in codes defined elsewhere) |
Code | The code (used as the code in the resource instance) |
Display | The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application |
Definition | An explanation of the meaning of the concept |
Comments | Additional notes about how to use the code |