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..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative |
![]() ![]() ![]() | Σ I | 0..1 | id | Logical id of this artifact ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | ?! ΣI | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | I | 0..1 | code | Language of the resource content Binding: http://tools.ietf.org/html/bcp47 (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 0..1 | Identifier | Logical identifier of composition (version-independent) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 1..1 | dateTime | Composition editing time ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: http://hl7.org/fhir/ValueSet/doc-typecodes (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | Σ I | 0..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children Fixed Value: http://power2dm.eu |
![]() ![]() ![]() ![]() ![]() | Σ I | 0..1 | string | Version of the system - if relevant ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | Σ I | 0..1 | code | Symbol in syntax defined by the system ele-1: All FHIR elements must have a @value or children Fixed Value: kadis-baseline |
![]() ![]() ![]() ![]() ![]() | Σ I | 0..1 | string | Representation defined by the system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | Σ I | 0..1 | boolean | If this coding was chosen directly by the user ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | string | Plain text representation of the concept ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Categorization of Composition Binding: http://hl7.org/fhir/ValueSet/doc-classcodes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 1..1 | string | Human Readable name/title ele-1: All FHIR elements must have a @value or children Fixed Value: POWER2DM KADIS Baseline Dataset |
![]() ![]() ![]() | ?! ΣI | 1..1 | code | preliminary | final | amended | entered-in-error Binding: http://hl7.org/fhir/ValueSet/composition-status (required) ele-1: All FHIR elements must have a @value or children Fixed Value: final |
![]() ![]() ![]() | ?! ΣI | 0..1 | code | As defined by affinity domain Binding: http://hl7.org/fhir/ValueSet/v3-Confidentiality (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() | Σ I | 1..1 | Reference(POWER2DM-Patient) | Who and/or what the composition is about ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | Σ I | 1..* | Reference(Device) | Who and/or what authored the composition ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | Σ I | 0..* | BackboneElement | Attests to accuracy of composition ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 1..* | code | personal | professional | legal | official Binding: http://hl7.org/fhir/ValueSet/composition-attestation-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | dateTime | When composition attested ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | Reference(Patient | Practitioner | Organization) | Who attested the composition ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | Σ I | 0..1 | Reference(Organization) | Organization which maintains the composition ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | Σ I | 1..1 | BackboneElement | The clinical service(s) being documented ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: http://hl7.org/fhir/ValueSet/v3-ActCode (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 1..1 | Period | The period covered by the documentation ele-1: All FHIR elements must have a @value or children per-1: If present, start SHALL have a lower value than end |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | Σ I | 1..1 | dateTime | Starting time with inclusive boundary ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() | Σ I | 1..1 | dateTime | End time with inclusive boundary, if not ongoing ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(Resource) | The event(s) being documented ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | Σ I | 0..1 | Reference(Encounter) | Context of the Composition ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() | I | BackboneElement | Composition is broken into sections Slice: Unordered, Open At End, by title ele-1: All FHIR elements must have a @value or children cmp-2: A section can only have an emptyReason if it is empty cmp-1: A section must at least one of text, entries, or sub-sections | |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | string | Label for section (e.g. for ToC) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Classification of section (recommended) Binding: http://hl7.org/fhir/ValueSet/doc-section-codes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the section, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! ΣI | 0..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Order of section entries Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(Resource) | A reference to data that supports this section ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Why the section is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Nested Section | |
![]() ![]() ![]() | I | 1..1 | BackboneElement | Composition is broken into sections ele-1: All FHIR elements must have a @value or children cmp-2: A section can only have an emptyReason if it is empty cmp-1: A section must at least one of text, entries, or sub-sections |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 1..1 | string | Label for section (e.g. for ToC) ele-1: All FHIR elements must have a @value or children Fixed Value: Blood Glucose Measurements |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Classification of section (recommended) Binding: http://hl7.org/fhir/ValueSet/doc-section-codes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the section, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! ΣI | 0..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Order of section entries Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(POWER2DM-SimpleQuantityObservation | POWER2DM-TimeSeriesObservation) | A reference to data that supports this section ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Why the section is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Nested Section | |
![]() ![]() ![]() | I | 1..1 | BackboneElement | Composition is broken into sections ele-1: All FHIR elements must have a @value or children cmp-2: A section can only have an emptyReason if it is empty cmp-1: A section must at least one of text, entries, or sub-sections |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 1..1 | string | Label for section (e.g. for ToC) ele-1: All FHIR elements must have a @value or children Fixed Value: Dietary Intakes |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Classification of section (recommended) Binding: http://hl7.org/fhir/ValueSet/doc-section-codes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the section, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! ΣI | 0..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Order of section entries Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(POWER2DM-DietaryIntakeLog) | A reference to data that supports this section ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Why the section is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Nested Section | |
![]() ![]() ![]() | I | 1..1 | BackboneElement | Composition is broken into sections ele-1: All FHIR elements must have a @value or children cmp-2: A section can only have an emptyReason if it is empty cmp-1: A section must at least one of text, entries, or sub-sections |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 1..1 | string | Label for section (e.g. for ToC) ele-1: All FHIR elements must have a @value or children Fixed Value: Medication/Insulin Intakes |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Classification of section (recommended) Binding: http://hl7.org/fhir/ValueSet/doc-section-codes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the section, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! ΣI | 0..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Order of section entries Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(POWER2DM-MedicationAdministration) | A reference to data that supports this section ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Why the section is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Nested Section | |
![]() ![]() ![]() | I | 1..1 | BackboneElement | Composition is broken into sections ele-1: All FHIR elements must have a @value or children cmp-2: A section can only have an emptyReason if it is empty cmp-1: A section must at least one of text, entries, or sub-sections |
![]() ![]() ![]() ![]() | I | 0..1 | id | xml:id (or equivalent in JSON) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional Content defined by implementations ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! I | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 1..1 | string | Label for section (e.g. for ToC) ele-1: All FHIR elements must have a @value or children Fixed Value: Exercises |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Classification of section (recommended) Binding: http://hl7.org/fhir/ValueSet/doc-section-codes (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the section, for human interpretation ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | ?! ΣI | 0..1 | code | working | snapshot | changes Binding: http://hl7.org/fhir/ValueSet/list-mode (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Order of section entries Binding: http://hl7.org/fhir/ValueSet/list-order (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | Σ I | 0..* | Reference(POWER2DM-PhysicalActivityLog) | A reference to data that supports this section ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a local reference if the resource is provided inline |
![]() ![]() ![]() ![]() | Σ I | 0..1 | CodeableConcept | Why the section is empty Binding: http://hl7.org/fhir/ValueSet/list-empty-reason (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() | I | 0..* | Nested Section | |
![]() |