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 | Record of medication being taken by a patient mst-2: Reason for use is only permitted if wasNotTaken is false mst-1: Reason not taken is only permitted if wasNotTaken is true |
![]() ![]() ![]() | Σ | 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 |
![]() ![]() ![]() | Σ | 1..1 | Reference(Patient) | Who is/was taking the medication |
![]() ![]() ![]() | Σ | 0..1 | Reference(Patient | Practitioner | RelatedPerson) | |
![]() ![]() ![]() | Σ | 0..1 | dateTime | When the statement was asserted? |
![]() ![]() ![]() | ?! Σ | 1..1 | code | active | completed | entered-in-error | intended Binding: http://hl7.org/fhir/ValueSet/medication-statement-status (required) |
![]() ![]() ![]() | ?! Σ | 0..1 | boolean | True if medication is/was not being taken |
![]() ![]() ![]() | Σ I | 0..* | CodeableConcept | True if asserting medication was not given Binding: http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes (example) |
![]() ![]() ![]() | Σ | 0..1 | Reference(Condition), CodeableConcept | Binding: http://hl7.org/fhir/ValueSet/condition-code (example) |
![]() ![]() ![]() | Σ | 0..1 | dateTime, Period | Over what period was medication consumed? |
![]() ![]() ![]() | Σ | 0..1 | string | Further information about the statement |
![]() ![]() ![]() | Σ | 0..* | Reference(Resource) | Additional supporting information |
![]() ![]() ![]() | Σ | 1..1 | Reference(Medication), CodeableConcept | What medication was taken |
![]() ![]() ![]() | Σ | 0..* | BackboneElement | Details of how medication was 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 | Reported dosage information |
![]() ![]() ![]() ![]() | Σ | 0..1 | Timing | When/how often was medication taken |
![]() ![]() ![]() ![]() | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Reference(BodySite), CodeableConcept | Where (on body) medication is/was administered Binding: http://hl7.org/fhir/ValueSet/approach-site-codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | How the medication entered the body Binding: http://hl7.org/fhir/ValueSet/route-codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Technique used to administer medication Binding: (unbound) (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | SimpleQuantity, Range | Amount administered in one dose |
![]() ![]() ![]() ![]() | Σ | 0..1 | Ratio, Range | Dose quantity per unit of time |
![]() ![]() ![]() ![]() | Σ | 0..1 | Ratio | Maximum dose that was consumed per unit of time |
![]() |