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 . Page versions: R5 R4B R4 R3 R2
Profile for list
<Profile xmlns="http://hl7.org/fhir"> <text> <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><pre> <<a class="dict" href="list-definitions.html#List" title="A set of information summarized from a list of other resources."><b>List</b></a> xmlns="http://hl7.org/fhir"> <span style="float: right"><a href="formats.html" title="Documentation for this format"><img alt="doco" src="help.png"/></a></span> <!-- from <a href="resources.html">Resource</a>: <a href="extensibility.html">extension</a>, <a href="extensibility.html#modifierExtension">modifierExtension</a>, language, <a href="narrative.html#Narrative">text</a>, and <a href="references.html#contained">contained</a> --> <<a class="dict" href="list-definitions.html#List.identifier" title="Identifier for the List assigned for business purposes outside the context of FHIR."><b>identifier</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#Identifier">Identifier</a></span> <span style="color: navy">Business identifier</span><span style="color: Gray"> --></span></identifier> <<a class="dict" href="list-definitions.html#List.code" title="This code defines the purpose of the list - why it was created."><b>code</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-list-example-codes.html" style="color: navy">What the purpose of this list is</a></span><span style="color: Gray"> --></span></code> <<a class="dict" href="list-definitions.html#List.subject" title="The common subject (or patient) of the resources that are in the list, if there is one."><b>subject</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="patient.html#Patient">Patient</a>|<a href="group.html#Group">Group</a>|<a href="device.html#Device">Device</a>|<a href="location.html#Location">Location</a>)</span> <span style="color: navy"> If all resources have the same subject</span><span style="color: Gray"> --></span></subject> <<a class="dict" href="list-definitions.html#List.source" title="The entity responsible for deciding what the contents of the list were."><b>source</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="practitioner.html#Practitioner">Practitioner</a>|<a href="patient.html#Patient">Patient</a>|<a href="device.html#Device">Device</a>)</span> <span style="color: navy"> Who and/or what defined the list contents</span><span style="color: Gray"> --></span></source> <<a class="dict" href="list-definitions.html#List.date" title="The date that the list was prepared."><b>date</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#dateTime">dateTime</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">When the list was prepared</span><span style="color: Gray"> --></span> <<a class="dict" href="list-definitions.html#List.ordered" title="Whether items in the list have a meaningful order (this element modifies the meaning of other elements)"><span style="text-decoration: underline"><b>ordered</b></span></a> value="[<span style="color: darkgreen"><a href="datatypes.html#boolean">boolean</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Whether items in the list have a meaningful order</span><span style="color: Gray"> --></span> <<a class="dict" href="list-definitions.html#List.mode" title="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 (this element modifies the meaning of other elements)"><span style="text-decoration: underline"><b>mode</b></span></a> value="[<span style="color: darkgreen"><a href="datatypes.html#code">code</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: navy"><a href="list-mode.html" style="color: navy">working | snapshot | changes</a></span><span style="color: Gray"> --></span> <<a class="dict" href="list-definitions.html#List.entry" title="Entries in this list."><b>entry</b></a>> <span style="color: Gray"><!-- <span style="color: brown" title="Inv-1: A list can only have an emptyReason if it is empty"><b><img alt="??" src="lock.png"/> 0..*</b></span> Entries in the list --></span> <<a class="dict" href="list-definitions.html#List.entry.flag" title="The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list."><b>flag</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-list-item-flag.html" style="color: navy">Workflow information about this item</a></span><span style="color: Gray"> --></span></flag> <<a class="dict" href="list-definitions.html#List.entry.deleted" title="True if this item is marked as deleted in the list (this element modifies the meaning of other elements)"><span style="text-decoration: underline"><b>deleted</b></span></a> value="[<span style="color: darkgreen"><a href="datatypes.html#boolean">boolean</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-2: The deleted flag can only be used if the mode of the list is "changes""><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: navy">If this item is actually marked as deleted</span><span style="color: Gray"> --></span> <<a class="dict" href="list-definitions.html#List.entry.date" title="When this item was added to the list."><b>date</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#dateTime">dateTime</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">When item added to list</span><span style="color: Gray"> --></span> <<a class="dict" href="list-definitions.html#List.entry.item" title="A reference to the actual resource from which data was derived."><b>item</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="resourcelist.html">Any</a>)</span> <span style="color: navy">Actual entry</span><span style="color: Gray"> --></span></item> </entry> <<a class="dict" href="list-definitions.html#List.emptyReason" title="If the list is empty, why the list is empty."><b>emptyReason</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-1: A list can only have an emptyReason if it is empty"><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-list-empty-reason.html" style="color: navy">Why list is empty</a></span><span style="color: Gray"> --></span></emptyReason> </List> </pre></div> </text> <name value="list"/> <publisher value="FHIR Project"/> <description value="Basic Profile. A set of information summarized from a list of other resources."/> <status value="draft"/> <date value="2014-09-30"/> <requirements value="Scope and Usage List resources are used in many places, including allergies, medications, alerts, medical history, etc."/> <mapping> <identity value="rim"/> <uri value="http://hl7.org/v3"/> <name value="RIM"/> </mapping> <structure> <type value="List"/> <publish value="true"/> <element> <path value="List"/> <definition> <short value="Information summarized from a list of other resources"/> <formal value="A set of information summarized from a list of other resources."/> <min value="1"/> <max value="1"/> <type> <code value="Resource"/> </type> <constraint> <key value="2"/> <name value="Deleted Rule"/> <severity value="error"/> <human value="The deleted flag can only be used if the mode of the list is "changes""/> <xpath value="(f:mode/@value = 'changes') or not(exists(f:entry/f:item/f:deleted))"/> </constraint> <constraint> <key value="1"/> <name value="No emptyReason if list is not empty"/> <severity value="error"/> <human value="A list can only have an emptyReason if it is empty"/> <xpath value="not(exists(f:emptyReason) and exists(f:entry))"/> </constraint> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="Act[classCode<ORG,moodCode=EVN]"/> </mapping> </definition> </element> <element> <path value="List.extension"/> <definition> <short value="Additional Content defined by implementations"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.modifierExtension"/> <definition> <short value="Extensions that cannot be ignored"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.text"/> <definition> <short value="Text summary of the resource, for human interpretation"/> <formal value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/> <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> <synonym value="narrative"/> <synonym value="html"/> <synonym value="xhtml"/> <synonym value="display"/> <min value="0"/> <max value="1"/> <type> <code value="Narrative"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.contained"/> <definition> <short value="Contained, inline Resources"/> <formal value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/> <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> <synonym value="inline resources"/> <synonym value="anonymous resources"/> <synonym value="contained resources"/> <min value="0"/> <max value="*"/> <type> <code value="Resource"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.identifier"/> <definition> <short value="Business identifier"/> <formal value="Identifier for the List assigned for business purposes outside the context of FHIR."/> <min value="0"/> <max value="*"/> <type> <code value="Identifier"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".id"/> </mapping> </definition> </element> <element> <path value="List.code"/> <definition> <short value="What the purpose of this list is"/> <formal value="This code defines the purpose of the list - why it was created."/> <comments value="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."/> <min value="0"/> <max value="1"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="ListPurpose"/> <isExtensible value="true"/> <conformance value="example"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/list-example-codes"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".code"/> </mapping> </definition> </element> <element> <path value="List.subject"/> <definition> <short value="If all resources have the same subject"/> <formal value="The common subject (or patient) of the resources that are in the list, if there is one."/> <comments value="Some purely aribitrary lists do not have a common subject, so this is optional."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Patient"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Group"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Device"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Location"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode<SUB].role (and sometimes .player)"/> </mapping> </definition> </element> <element> <path value="List.source"/> <definition> <short value="Who and/or what defined the list contents"/> <formal value="The entity responsible for deciding what the contents of the list were."/> <comments value="The primary source is the entity that made the decisions what items are in the list. This may be software or user."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Practitioner"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Patient"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Device"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode<AUT].role[classCode=REL].player[classCode=PSN,determinerCode=INST] or .participation[typeCode<AUT].role[classCode=REL].player[classCode=DEV,determinerCode=INST]"/> </mapping> </definition> </element> <element> <path value="List.date"/> <definition> <short value="When the list was prepared"/> <formal value="The date that the list was prepared."/> <comments value="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."/> <min value="0"/> <max value="1"/> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode<AUT].time[type=TS]"/> </mapping> </definition> </element> <element> <path value="List.ordered"/> <definition> <short value="Whether items in the list have a meaningful order"/> <formal value="Whether items in the list have a meaningful order."/> <comments value="Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. This is marked as "is modifier" because whether the list is ordered or not may change how the results are processed or displayed."/> <min value="0"/> <max value="1"/> <type> <code value="boolean"/> </type> <isModifier value="true"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP].sequenceNumber > 1"/> </mapping> </definition> </element> <element> <path value="List.mode"/> <definition> <short value="working | snapshot | changes"/> <formal value="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."/> <min value="1"/> <max value="1"/> <type> <code value="code"/> </type> <isModifier value="true"/> <binding> <name value="ListMode"/> <isExtensible value="false"/> <conformance value="required"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/list-mode"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value"/> </mapping> </definition> </element> <element> <path value="List.entry"/> <definition> <short value="Entries in the list"/> <formal value="Entries in this list."/> <comments value="If there are no entries in the list, an emptyReason SHOULD be provided."/> <min value="0"/> <max value="*"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]"/> </mapping> </definition> </element> <element> <path value="List.entry.extension"/> <definition> <short value="Additional Content defined by implementations"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.entry.modifierExtension"/> <definition> <short value="Extensions that cannot be ignored"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="List.entry.flag"/> <definition> <short value="Workflow information about this item"/> <formal value="The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list."/> <comments value="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"."/> <min value="0"/> <max value="*"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="ListItemFlag"/> <isExtensible value="true"/> <conformance value="example"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/list-item-flag"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value"/> </mapping> </definition> </element> <element> <path value="List.entry.deleted"/> <definition> <short value="If this item is actually marked as deleted"/> <formal value="True if this item is marked as deleted in the list."/> <comments value="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."/> <min value="0"/> <max value="1"/> <type> <code value="boolean"/> </type> <isModifier value="true"/> <mapping> <identity value="rim"/> <map value="added: .updateMode=("A","AR") retained: .updateMode="NC" updated: .updateMode="R" deleted: .updateMode="D""/> </mapping> </definition> </element> <element> <path value="List.entry.date"/> <definition> <short value="When item added to list"/> <formal value="When this item was added to the list."/> <comments value="This is only useful and meaningful when the mode is "working"."/> <min value="0"/> <max value="1"/> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".availabilityTime"/> </mapping> </definition> </element> <element> <path value="List.entry.item"/> <definition> <short value="Actual entry"/> <formal value="A reference to the actual resource from which data was derived."/> <min value="1"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Any"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".target or .role or .role.entity"/> </mapping> </definition> </element> <element> <path value="List.emptyReason"/> <definition> <short value="Why list is empty"/> <formal value="If the list is empty, why the list is empty."/> <comments value="The various reasons for an empty list make a significant interpretation to its interpretation."/> <min value="0"/> <max value="1"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="ListEmptyReason"/> <isExtensible value="true"/> <conformance value="preferred"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/list-empty-reason"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ,code<{ListEmptyReason}].value[type=CD]"/> </mapping> </definition> </element> <searchParam> <name value="_id"/> <type value="token"/> <documentation value="The logical resource id associated with the resource (must be supported by all servers)"/> </searchParam> <searchParam> <name value="_language"/> <type value="token"/> <documentation value="The language of the resource"/> </searchParam> <searchParam> <name value="code"/> <type value="token"/> <documentation value="What the purpose of this list is"/> <xpath value="f:List/f:code"/> </searchParam> <searchParam> <name value="date"/> <type value="date"/> <documentation value="When the list was prepared"/> <xpath value="f:List/f:date"/> </searchParam> <searchParam> <name value="empty-reason"/> <type value="token"/> <documentation value="Why list is empty"/> <xpath value="f:List/f:emptyReason"/> </searchParam> <searchParam> <name value="item"/> <type value="reference"/> <documentation value="Actual entry"/> <xpath value="f:List/f:entry/f:item"/> </searchParam> <searchParam> <name value="source"/> <type value="reference"/> <documentation value="Who and/or what defined the list contents"/> <xpath value="f:List/f:source"/> </searchParam> <searchParam> <name value="subject"/> <type value="reference"/> <documentation value="If all resources have the same subject"/> <xpath value="f:List/f:subject"/> </searchParam> </structure> </Profile>