This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 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
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/list-daf-dafallergylist
US Realm Allergy list
This profile was published on Thu, Aug 21, 2014 00:00+1000 as a draft by U.S. Office of the National Coordinator (ONC).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from List.
This structure is derived from List.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | 1..1 | List | US Realm Allergy list | |
identifier | S | 0..* | Identifier | |
code | S | 1..1 | CodeableConcept | Fixed code for Allergies. Fixed Value: {"coding":[{"system":"http://loinc.org","version":"2.48","code":"48765-2"}]} |
subject | S | 0..1 | patient-daf-dafpatient | |
source | S | 1..1 | pract-daf-dafpract, patient-daf-dafpatient, Device | |
date | S | 1..1 | dateTime | |
mode | S | 1..1 | code | Fixed Value: snapshot |
entry | S | 0..* | Element | |
flag | S | 0..1 | CodeableConcept | |
deleted | 0..0 | boolean | ||
date | S | 0..1 | dateTime | |
item | S | 1..1 | allergyintolerance-daf-dafallergyintolerance | |
emptyReason | S | 0..1 | CodeableConcept | Binding: DAFListEmptyReason (extensible) |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | I | 1..1 | List | US Realm Allergy list 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 |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | ?! | 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) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | Business identifier |
title | Σ | 0..1 | string | Descriptive name for the list Example: Dr. Jane's Patients |
code | S Σ | 1..1 | CodeableConcept | Fixed code for Allergies. Binding: ListPurpose (example) Fixed Value: {"coding":[{"system":"http://loinc.org","version":"2.48","code":"48765-2"}]} |
subject | S Σ | 0..1 | patient-daf-dafpatient | If all resources have the same subject |
source | S Σ | 1..1 | pract-daf-dafpract, patient-daf-dafpatient, Device | Who and/or what defined the list contents |
status | ?! Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required) |
date | S Σ | 1..1 | dateTime | When the list was prepared |
orderedBy | 0..1 | CodeableConcept | What order the list has Binding: ListOrder (preferred) | |
mode | ?! SΣ | 1..1 | code | working | snapshot | changes Binding: ListMode (required) Fixed Value: snapshot |
note | 0..1 | string | Comments about the note | |
entry | S I | 0..* | Element | Entries in the list |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
flag | S | 0..1 | CodeableConcept | Workflow information about this item Binding: ListItemFlag (example) |
date | S | 0..1 | dateTime | When item added to list |
item | S | 1..1 | allergyintolerance-daf-dafallergyintolerance | Actual entry |
emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: DAFListEmptyReason (extensible) |
todo
This structure is derived from List.
Differential View
This structure is derived from List.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | 1..1 | List | US Realm Allergy list | |
identifier | S | 0..* | Identifier | |
code | S | 1..1 | CodeableConcept | Fixed code for Allergies. Fixed Value: {"coding":[{"system":"http://loinc.org","version":"2.48","code":"48765-2"}]} |
subject | S | 0..1 | patient-daf-dafpatient | |
source | S | 1..1 | pract-daf-dafpract, patient-daf-dafpatient, Device | |
date | S | 1..1 | dateTime | |
mode | S | 1..1 | code | Fixed Value: snapshot |
entry | S | 0..* | Element | |
flag | S | 0..1 | CodeableConcept | |
deleted | 0..0 | boolean | ||
date | S | 0..1 | dateTime | |
item | S | 1..1 | allergyintolerance-daf-dafallergyintolerance | |
emptyReason | S | 0..1 | CodeableConcept | Binding: DAFListEmptyReason (extensible) |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
List | I | 1..1 | List | US Realm Allergy list 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 |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | ?! | 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) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | Business identifier |
title | Σ | 0..1 | string | Descriptive name for the list Example: Dr. Jane's Patients |
code | S Σ | 1..1 | CodeableConcept | Fixed code for Allergies. Binding: ListPurpose (example) Fixed Value: {"coding":[{"system":"http://loinc.org","version":"2.48","code":"48765-2"}]} |
subject | S Σ | 0..1 | patient-daf-dafpatient | If all resources have the same subject |
source | S Σ | 1..1 | pract-daf-dafpract, patient-daf-dafpatient, Device | Who and/or what defined the list contents |
status | ?! Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required) |
date | S Σ | 1..1 | dateTime | When the list was prepared |
orderedBy | 0..1 | CodeableConcept | What order the list has Binding: ListOrder (preferred) | |
mode | ?! SΣ | 1..1 | code | working | snapshot | changes Binding: ListMode (required) Fixed Value: snapshot |
note | 0..1 | string | Comments about the note | |
entry | S I | 0..* | Element | Entries in the list |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
flag | S | 0..1 | CodeableConcept | Workflow information about this item Binding: ListItemFlag (example) |
date | S | 0..1 | dateTime | When item added to list |
item | S | 1..1 | allergyintolerance-daf-dafallergyintolerance | Actual entry |
emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: DAFListEmptyReason (extensible) |
XML Template
JSON Template
todo
Other representations of profile: (todo)
Path | Name | Conformance | ValueSet |
List.language | Language | required | http://tools.ietf.org/html/bcp47 |
List.code | ListPurpose | example | Example Use Codes for List |
List.status | ListStatus | required | ListStatus |
List.orderedBy | ListOrder | preferred | List Order Codes |
List.mode | ListMode | required | ListMode |
List.entry.flag | ListItemFlag | example | Patient Medicine Change Types |
List.emptyReason | DAFListEmptyReason | 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)) |