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..* | DomainResource | Dispensing a medication to a named patient mdd-1: whenHandedOver cannot be before whenPrepared |
![]() ![]() ![]() | Σ | 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 |
![]() ![]() ![]() | Σ | 0..1 | Identifier | External identifier |
![]() ![]() ![]() | ?! Σ | 0..1 | code | in-progress | on-hold | completed | entered-in-error | stopped Binding: http://hl7.org/fhir/ValueSet/medication-dispense-status (required) |
![]() ![]() ![]() | Σ | 0..1 | Reference(Patient) | Who the dispense is for |
![]() ![]() ![]() | Σ | 0..1 | Reference(Practitioner) | Practitioner responsible for dispensing medication |
![]() ![]() ![]() | Σ | 0..* | Reference(MedicationOrder) | Medication order that authorizes the dispense |
![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType (example) |
![]() ![]() ![]() | Σ | 0..1 | SimpleQuantity | Amount dispensed |
![]() ![]() ![]() | Σ | 0..1 | SimpleQuantity | Days Supply |
![]() ![]() ![]() | Σ | 1..1 | Reference(Medication), CodeableConcept | What medication was supplied |
![]() ![]() ![]() | Σ | 0..1 | dateTime | Dispense processing time |
![]() ![]() ![]() | Σ | 0..1 | dateTime | When product was given out |
![]() ![]() ![]() | Σ | 0..1 | Reference(Location) | Where the medication was sent |
![]() ![]() ![]() | Σ | 0..* | Reference(Patient | Practitioner) | Who collected the medication |
![]() ![]() ![]() | Σ | 0..1 | string | Information about the dispense |
![]() ![]() ![]() | Σ | 0..* | BackboneElement | Medicine administration instructions to the patient/caregiver |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Dosage Instructions |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | E.g. "Take with food" Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" f(or x) Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Reference(BodySite), CodeableConcept | Body site to administer to Binding: http://hl7.org/fhir/ValueSet/approach-site-codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: http://hl7.org/fhir/ValueSet/route-codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Range, SimpleQuantity | Amount of medication per dose |
![]() ![]() ![]() ![]() | Σ | 0..1 | Ratio, Range | Amount of medication per unit of time |
![]() ![]() ![]() ![]() | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
![]() ![]() ![]() | Σ | 0..1 | BackboneElement | Deals with substitution of one medicine for another |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Type of substitution Binding: http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode (example) |
![]() ![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Why was substitution made Binding: http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason (example) |
![]() ![]() ![]() ![]() | Σ | 0..* | Reference(Practitioner) | Who is responsible for the substitution |
![]() |