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![]() |
---|---|---|---|---|
![]() ![]() | Σ | 0..* | DomainResource | Prescription of medication to for patient |
![]() ![]() ![]() | Σ | 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..* | Identifier | External identifier |
![]() ![]() ![]() | Σ | 0..1 | dateTime | When prescription was authorized |
![]() ![]() ![]() | ?! Σ | 0..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: http://hl7.org/fhir/ValueSet/medication-order-status (required) |
![]() ![]() ![]() | Σ | 0..1 | dateTime | When prescription was stopped |
![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Why prescription was stopped Binding: (unbound) (example) |
![]() ![]() ![]() | Σ | 0..1 | Reference(Patient) | Who prescription is for |
![]() ![]() ![]() | Σ | 0..1 | Reference(Practitioner) | Who ordered the medication(s) |
![]() ![]() ![]() | Σ | 0..1 | Reference(Encounter) | Created during encounter/admission/stay |
![]() ![]() ![]() | Σ | 0..1 | Reference(Condition), CodeableConcept | Reason or indication for writing the prescription Binding: http://hl7.org/fhir/ValueSet/condition-code (example) |
![]() ![]() ![]() | Σ | 0..1 | string | Information about the prescription |
![]() ![]() ![]() | Σ | 1..1 | Reference(Medication), CodeableConcept | Medication to be taken |
![]() ![]() ![]() | Σ | 0..* | BackboneElement | How medication should be taken |
![]() ![]() ![]() ![]() | 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 expressed as text |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Supplemental instructions - e.g. "with meals" Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" (for 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 | Medication supply authorization |
![]() ![]() ![]() ![]() | 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 | Reference(Medication), CodeableConcept | Product to be supplied |
![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time period supply is authorized for |
![]() ![]() ![]() ![]() | Σ | 0..1 | positiveInt | Number of refills authorized |
![]() ![]() ![]() ![]() | Σ | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
![]() ![]() ![]() ![]() | Σ | 0..1 | Duration | Number of days supply per dispense |
![]() ![]() ![]() | Σ | 0..1 | BackboneElement | Any restrictions on medication substitution |
![]() ![]() ![]() ![]() | 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 | generic | formulary + Binding: http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason (example) |
![]() ![]() ![]() | Σ | 0..1 | Reference(MedicationOrder) | An order/prescription that this supersedes |
![]() |