# text.div
Properties

This code system defines the following properties for its concepts

Code | Type | Description
qualify | boolean | Codes with this property true must have 'shall', 'should', or 'may' prepended in the grammar
combination | code | One of the codes that makes up a composite codes

Concepts

This code system http://hl7.org/fhir/CodeSystem/obligation defines the following codes:

Lvl | Code | Display | Definition | combination
1 | ModifierCodes | ModifierCodes | SHALL/SHOULD/MAY that can be prepended to codes that have the qualify property = true |
2 | SHALL | SHALL | The functional requirement is mandatory. Applications that do not implement this functional behavior are considered non-conformant |
2 | SHOULD | SHOULD | The functional requirement is a recommendation |
2 | MAY | MAY | The functional requirement is presented as an option for applications to consider. Note that this is usually used to indicate a choice is still valid for an application to make |
1 | ResourceProducerObligations | 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY be capable of sending this element and, if the element has a value and is allowed to be shared, include it when sending the resource | 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 | Conformant Applications SHALL/SHOULD/MAY 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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent). If no particular reason is known or reportable, the DataAbsentReason 'unknown' is used. Which particular extension can be used, see below |
2 | in-narrative | Conformant Applications SHALL/SHOULD/MAY 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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent). If no particular reason is known or reportable, the DataAbsentReason 'unknown' is used. Which particular extension can be used, see below |
2 | in-ui | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Documentation applicable to Conformant Applications SHALL/SHOULD/MAY 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 | 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 | Conformant Applications SHALL/SHOULD/MAY 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 | 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 | 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 | Conformant Applications SHALL/SHOULD/MAY 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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent), should either of these be allowed on the consumer obligations |
2 | handle | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) or equivalent when handling the resource or the information in it as specified by the other obligations. |
3 | store | Conformant Applications SHALL/SHOULD/MAY 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 | print | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | Conformant Applications SHALL/SHOULD/MAY 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 | AggregateConcepts | Predefined common combinations |
2 | can-populate | 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 | MAY:will-send
2 | can-ignore | 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 | V2 RE | RE as defined in chapter 2 of the v2 specification |
2 | ihe-r2 | IHE R2 | R2 as defined in IHE Appendix Z |
2 | std | 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 |

# description
Codes that describe application obligations for handling FHIR content. There are three kinds of codes in this code system:
 * Qualifier codes: SHALL/SHOULD/MAY
 * Functional codes - these describe a functional behavior applications may implement, and have the concept property qualify = true, and must be qualified by one of SHALL, SHOULD, or MAY
 * Composite codes - these specialise AggregateConcepts, and have an concept property 'expression' that defines them in terms of a set of functional codes
 
 Functional and Qualifier codes are combined using the syntax ```[modifierCode] ":" [obligationCode]``` e.g. SHALL:will-send
 
 The functional codes are grouped into three different high level categories:
 * ResourceProducerObligations - functions that pertain to applications that produce resources (typically from databases or forms)
 * ExchangerObligations - functions that pertain to applications that transfer resources between other applications (including FHIR repositories)
 * ResourceConsumerObligations - functions that pertain to applications that consume the content of resources and do something with them
 
 Note that applications typically produce and consume resources, whether client, server or something else again, and 
 many applications transfer resources as well
 

# property[].description
Codes with this property true must have 'shall', 'should', or 'may' prepended in the grammar

# property[].description
One of the codes that makes up a composite codes

# concept[].definition
SHALL/SHOULD/MAY that can be prepended to codes that have the qualify property = true

# concept[].concept[].definition
The functional requirement is mandatory. Applications that do not implement this functional behavior are considered non-conformant

# concept[].concept[].definition
The functional requirement is a recommendation

# concept[].concept[].definition
The functional requirement is presented as an option for applications to consider. Note that this is usually used to indicate a choice is still valid for an application to make

# concept[].definition
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.

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY be able to correctly populate this element

# concept[].concept[].definition
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

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY be capable of sending this element and, if the element has a value and is allowed to be shared, include it when sending the resource

# concept[].concept[].concept[].definition
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

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY provide an element with a DataAbsentReason or a NullFlavor (or equivalent) if a value is not known and the element is mandatory

# concept[].concept[].definition
Notes: When no value for an element is known, the producer populates the element with a [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent). If no particular reason is known or reportable, the DataAbsentReason 'unknown' is used. Which particular extension can be used, see below

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY ensure that this data element is represented in any human readable representation in a resource

# concept[].concept[].definition
Notes: When no value for an element is known, the producer populates the element with a [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent). If no particular reason is known or reportable, the DataAbsentReason 'unknown' is used. Which particular extension can be used, see below

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY ensure that users can enter a value for this element during data input

# concept[].concept[].definition
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

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY ensure that the value for this element is stored in a persistent data store

# concept[].concept[].definition
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

# concept[].concept[].display
Documentation applicable to Conformant Applications SHALL/SHOULD/MAY explain how this element is handled

# concept[].concept[].definition
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.

# concept[].definition
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.

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY ensure that this element does not change between receiving and transfer

# concept[].concept[].definition
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

# concept[].concept[].display
Conformant Applications MAY choose not to alter this element value

# concept[].concept[].definition
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

# concept[].definition
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

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY accept resources containing any valid value for the element without error

# concept[].concept[].definition
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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or a [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) (or equivalent), should either of these be allowed on the consumer obligations

# concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY handle the meaning of this element correctly

# concept[].concept[].definition
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.

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY display the value of this element when presenting the data from the resource to a human user

# concept[].concept[].concept[].definition
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

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY retain the value of this element when the information from the resource is shared with other applications

# concept[].concept[].concept[].definition
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.

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY consider the value of this element when processing the resource as specified by the IG

# concept[].concept[].concept[].definition
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 [DataAbsentReason](StructureDefinition-data-absent-reason.html) or [NullFlavor](StructureDefinition-iso21090-nullFlavor.html) or equivalent when handling the resource or the information in it as specified by the other obligations.

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY store the value of this element in a persistent data store

# concept[].concept[].concept[].definition
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

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY print the value of this element somewhere

# concept[].concept[].concept[].definition
Notes: The form of the printing is not specified. A profile using this value SHALL explain the nature of the printing requirement somehow

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY ignore the value of this element somewhere

# concept[].concept[].concept[].definition
Notes: This is different to can-ignore, which indicates that the application may ignore it. This is an expectation that it will be ignored

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY keep the value of this element exactly

# concept[].concept[].concept[].definition
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

# concept[].concept[].concept[].display
Conformant Applications SHALL/SHOULD/MAY keep the value of this element exactly

# concept[].concept[].concept[].definition
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

# concept[].concept[].display
A Conformant Application MAY choose to populate this element or not

# concept[].concept[].definition
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

# concept[].concept[].display
A Conformant Application MAY ignore this element

# concept[].concept[].definition
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

# concept[].concept[].definition
RE as defined in chapter 2 of the v2 specification

# concept[].concept[].definition
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