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
The official URL for this profile is:
http://hl7.org/fhir/Profile/list-daf-daflist
. Defines constraints and extensions on the List resource for use in querying and retrieving lists of DAF FHIR resources : U.S. Data Access Framework (DAF) List Profile
This profile was published on Thu, Aug 21, 2014 00:00+1000 as a draft by U.S. Office of the National Coordinator (ONC).
Required/Prohibited Elements
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
Differential View
This structure is derived from List.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | I | 1..1 | Information summarized from a list of other resources. lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-1: A list can only have an emptyReason if it is empty | |
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required, not extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | S | 0..* | U.S.html, U.S.html, U.S. Data Access Framework (DAF) Condition (a.k.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html | Contained, inline Resources |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | 0..* | Identifier | Business identifier | |
code | S | 1..1 | CodeableConcept | What the purpose of this list is Binding: ListPurpose (example, extensible) |
subject | S | 0..1 | patient-daf-dafpatient | If all resources have the same subject |
source | 1..1 | Practitioner, Patient, Device | Who and/or what defined the list contents | |
date | S | 1..1 | dateTime | When the list was prepared |
ordered | M | 0..1 | boolean | Whether items in the list have a meaningful order |
mode | M S | 1..1 | code | working | snapshot | changes Binding: ListMode (required, not extensible) Example: For DAF it will always be 'snapshot' |
entry | S I | 0..1 | Element | Entries in the list |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
flag | 0..1 | CodeableConcept | Workflow information about this item Binding: ListItemFlag (example, extensible) | |
date | 0..1 | dateTime | When item added to list | |
item | S | 1..1 | patient-daf-dafpatient, allergyintolerance-daf-dafallergyintolerance, condition-daf-dafcondition, encounter-daf-dafencounter, observation-daf-vitalsigns-dafvitalsigns, procedure-daf-dafprocedure, medicationstatement-daf-dafmedicationstatement, medicationadministration-daf-dafmedicationadministration, immunization-daf-dafimmunization, diagnosticreport-daf-dafdiagnosticreport, diagnosticorder-daf-dafdiagnosticorder, observation-daf-smokingstatus-dafsmokingstatus | Actual entry |
emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReason (preferred, extensible) |
XML Template
JSON Template
todo
Differential View
This structure is derived from List.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | I | 1..1 | Information summarized from a list of other resources. lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-1: A list can only have an emptyReason if it is empty | |
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required, not extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | S | 0..* | U.S.html, U.S.html, U.S. Data Access Framework (DAF) Condition (a.k.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html, U.S.html | Contained, inline Resources |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | 0..* | Identifier | Business identifier | |
code | S | 1..1 | CodeableConcept | What the purpose of this list is Binding: ListPurpose (example, extensible) |
subject | S | 0..1 | patient-daf-dafpatient | If all resources have the same subject |
source | 1..1 | Practitioner, Patient, Device | Who and/or what defined the list contents | |
date | S | 1..1 | dateTime | When the list was prepared |
ordered | M | 0..1 | boolean | Whether items in the list have a meaningful order |
mode | M S | 1..1 | code | working | snapshot | changes Binding: ListMode (required, not extensible) Example: For DAF it will always be 'snapshot' |
entry | S I | 0..1 | Element | Entries in the list |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
flag | 0..1 | CodeableConcept | Workflow information about this item Binding: ListItemFlag (example, extensible) | |
date | 0..1 | dateTime | When item added to list | |
item | S | 1..1 | patient-daf-dafpatient, allergyintolerance-daf-dafallergyintolerance, condition-daf-dafcondition, encounter-daf-dafencounter, observation-daf-vitalsigns-dafvitalsigns, procedure-daf-dafprocedure, medicationstatement-daf-dafmedicationstatement, medicationadministration-daf-dafmedicationadministration, immunization-daf-dafimmunization, diagnosticreport-daf-dafdiagnosticreport, diagnosticorder-daf-dafdiagnosticorder, observation-daf-smokingstatus-dafsmokingstatus | Actual entry |
emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReason (preferred, extensible) |
XML Template
JSON Template
todo
Other definitions: (todo)
Path | Name | Conformance | ValueSet |
List.language | Language | required | http://tools.ietf.org/html/bcp47 |
List.code | ListPurpose | example (extensible) | Example Use Codes for List |
List.mode | ListMode | required | ListMode |
List.entry.flag | ListItemFlag | example (extensible) | Patient Medicine Change Types |
List.emptyReason | ListEmptyReason | preferred (extensible) | List Empty Reasons |
Id | Path | Name | Details |
lst-2 | List | Deleted Rule | 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)) |
lst-1 | List | No emptyReason if list is not empty | A list can only have an emptyReason if it is empty XPath: not(exists(f:emptyReason) and exists(f:entry)) |