DSTU2

This page is part of the FHIR Specification (v0.0.82: (v1.0.2: DSTU 1). 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 . Page versions: R5 R4B R4 R3 R2

6.1.9 6.1.10 Resource List - Formal Definitions Detailed Descriptions

Formal definitions Detailed Descriptions for the elements in the List resource.

Aliases
List
Definition

A set of information summarized from a list of other resources.

Control 1..1
Alternate Names Collection; WorkingList; Organizer
Invariants Defined on this element
Inv-1 lst-1 : A list can only have an emptyReason if it is empty (xpath: not(exists(f:emptyReason) and exists(f:entry)))
Inv-2 lst-2 : The deleted flag can only be used if the mode of the list is "changes" (xpath: (f:mode/@value = 'changes') or not(exists(f:entry/f:item/f:deleted))) not(exists(f:entry/f:deleted)))
To Do RIM harmonization proposal to move LIST under GROUPER RIM harmonization proposal to allow organizers to group roles as well as acts.
List.identifier
Definition

Identifier for the List assigned for business purposes outside the context of FHIR.

Note This is a business identifer, not a resource identifier (see discussion )
Control 0..*
Type Identifier
List.code List.title
Definition

A label for the list assigned by the author.

Control 0..1
Type string
Requirements

Allows customization beyond just the code identifying the kind of list.

Summary true
List.code
Definition

This code defines the purpose of the list - why it was created.

Control 0..1
Binding ListPurpose: ( Example Use Codes for List: See http://hl7.org/fhir/vs/list-example-codes What the purpose of a list is ( Example )
Type CodeableConcept
Requirements

Lists often contain subsets of resources rather than an exhaustive list. The code identifies what type of subset is included.

Summary true
Comments

If there is no code, the purpose of the list is implied where it is used, such as in a document section using Document.section.code.

List.subject
Definition

The common subject (or patient) of the resources that are in the list, if there is one.

Control 0..1
Type Resource Reference ( Patient | Group | Device | Location )
Requirements

The primary purpose of listing the subject explicitly is to help with finding the right list.

Summary true
Comments

Some purely aribitrary arbitrary lists do not have a common subject, so this is optional.

List.source
Definition

The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.

Control 0..1
Type Resource Reference ( Practitioner | Patient | Device )
Requirements

Allows follow-up as well as context.

Alternate Names Author
Summary true
Comments

The primary source is the entity that made the decisions what items are in the list. This may be software or user.

List.date List.encounter
Definition

The encounter that is the context in which this list was created.

Control 0..1
Type Reference ( Encounter )
List.status
Definition

Indicates the current state of this list.

Control 1..1
Binding ListStatus: The current state of the list ( Required )
Type code
Is Modifier true
Summary true
List.date
Definition

The date that the list was prepared.

Control 0..1
Type dateTime
Requirements

Identifies how current the list is which affects relevance.

Summary true
Comments

The actual important date is the date of currency of the resources that were summarized, but it is usually assumed that these are current when the preparation occurs.

List.ordered List.orderedBy
Definition Whether

What order applies to the items in the list have a meaningful order. list.

Control 0..1
Type Binding boolean List Order Codes: What order applies to the items in a list ( Preferred )
Is Modifier Type true CodeableConcept
Requirements

Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

Comments

Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. This If there is marked as "is modifier" because whether no order specified, the list order is ordered or not unknown, though there may change how the results are processed or displayed. still be some order.

List.mode
Definition

How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.

Control 1..1
Binding ListMode: The processing mode that applies to this list (see http://hl7.org/fhir/list-mode for values) ( Required )
Type code
Is Modifier true
Requirements

Lists are used in various ways, and it must be known in what way it is safe to use them.

Summary true
List.entry List.note
Definition

Comments that apply to the overall list.

Control 0..1
Type string
List.entry
Definition

Entries in this list.

Control 0..*
Comments

If there are no entries in the list, an emptyReason SHOULD be provided.

Invariants Affect this element
Inv-1 lst-1 : A list can only have an emptyReason if it is empty (xpath: not(exists(f:emptyReason) and exists(f:entry)))
List.entry.flag
Definition

The flag allows the system constructing the list to make one or more statements about indicate the role and significance of the item in the list.

Control 0..* 0..1
Binding ListItemFlag: ( Patient Medicine Change Types: See http://hl7.org/fhir/vs/list-item-flag Codes that provide further information about the reason and meaning of the item in the list ( Example )
Type CodeableConcept
Requirements

This field is present to support various clinical uses of lists, such as a discharge summary medication list, where flags specify whether the medication was added, modified, or deleted from the list.

Comments

The flag can only be understood in the context of the List.code. If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Deleted can only be used if the List.mode is "changes".

List.entry.deleted
Definition

True if this item is marked as deleted in the list.

Control 0..1
Type boolean
Is Modifier true
Default Value false
Requirements

The flag element may contain codes that an application processing the list does not understand. However there can be no ambiguity if a list item is actually marked as "deleted".

Comments

If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Both flag and deleted can only be used if the List.mode is "changes". A deleted entry should be displayed in narrative as deleted.

Invariants Affect this element
Inv-2 lst-2 : The deleted flag can only be used if the mode of the list is "changes" (xpath: (f:mode/@value = 'changes') or not(exists(f:entry/f:item/f:deleted))) not(exists(f:entry/f:deleted)))
List.entry.date
Definition

When this item was added to the list.

Control 0..1
Type dateTime
Requirements

The date may be significant for understanding the meaning of items in a working list.

Comments

This is only useful and meaningful when the mode is "working".

List.entry.item
Definition

A reference to the actual resource from which data was derived.

Control 1..1
Type Resource Reference ( Any )
List.emptyReason
Definition

If the list is empty, why the list is empty.

Control 0..1
Binding ListEmptyReason: ( List Empty Reasons: See http://hl7.org/fhir/vs/list-empty-reason If a list is empty, why it is empty ( Preferred )
Type CodeableConcept
Requirements

Allows capturing things like "none exist" or "not asked" which can be important for most lists.

Comments

The various reasons for an empty list make a significant interpretation to its interpretation. Note that this code is for use when the entire list has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

Invariants Affect this element
Inv-1 lst-1 : A list can only have an emptyReason if it is empty (xpath: not(exists(f:emptyReason) and exists(f:entry)))
var disqus_shortname = 'fhirdstu';(function() {var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus