FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | List | US Realm Encounter 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 |
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?! Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: http://tools.ietf.org/html/bcp47 (required) | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | S | 0..* | Identifier | Business identifier |
![]() ![]() ![]() | Σ | 0..1 | string | Descriptive name for the list Example: Dr. Jane's Patients |
![]() ![]() ![]() | S Σ | 1..1 | CodeableConcept | What the purpose of this list is Binding: http://hl7.org/fhir/ValueSet/list-example-codes (example) Fixed Value: {"coding":[{"system":"http://loinc.org/","code":"46240-8"}]} |
![]() ![]() ![]() | S Σ | 0..1 | Reference(U.S. Data Access Framework (DAF) Patient Profile) | If all resources have the same subject |
![]() ![]() ![]() | S Σ | 1..1 | Reference(U.S. Data Access Framework (DAF) Practitioner Profile | U.S. Data Access Framework (DAF) Patient Profile | Device) | Who and/or what defined the list contents (aka Author) |
![]() ![]() ![]() | 0..1 | Reference(Encounter) | Context in which list created | |
![]() ![]() ![]() | ?! Σ | 1..1 | code | current | retired | entered-in-error Binding: http://hl7.org/fhir/ValueSet/list-status (required) |
![]() ![]() ![]() | S Σ | 1..1 | dateTime | When the list was prepared |
![]() ![]() ![]() | 0..1 | CodeableConcept | What order the list has Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) | |
![]() ![]() ![]() | ?! SΣ | 1..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) Fixed Value: snapshot |
![]() ![]() ![]() | 0..1 | string | Comments about the list | |
![]() ![]() ![]() | S I | 0..* | BackboneElement | Entries in the list |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | S | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: http://hl7.org/fhir/ValueSet/list-item-flag (example) |
![]() ![]() ![]() ![]() | ?! I | 0..0 | boolean | |
![]() ![]() ![]() ![]() | S | 0..1 | dateTime | When item added to list |
![]() ![]() ![]() ![]() | S | 1..1 | Reference(U.S. Data Access Framework (DAF) Encounter profile) | Actual entry |
![]() ![]() ![]() | S I | 0..1 | CodeableConcept | Why list is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (extensible) |
![]() |