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 | Healthcare plan for patient or group | |
![]() ![]() ![]() | Σ | 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 Ids for this plan |
![]() ![]() ![]() | Σ | 0..1 | Reference(Patient | Group) | Who care plan is for |
![]() ![]() ![]() | ?! Σ | 1..1 | code | proposed | draft | active | completed | cancelled Binding: http://hl7.org/fhir/ValueSet/care-plan-status (required) |
![]() ![]() ![]() | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Created in context of |
![]() ![]() ![]() | Σ | 0..1 | Period | Time period plan covers |
![]() ![]() ![]() | Σ | 0..* | Reference(Patient | Practitioner | RelatedPerson | Organization) | Who is responsible for contents of the plan |
![]() ![]() ![]() | Σ | 0..1 | dateTime | When last updated |
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Type of plan Binding: http://hl7.org/fhir/ValueSet/care-plan-category (example) |
![]() ![]() ![]() | Σ | 0..1 | string | Summary of nature of plan |
![]() ![]() ![]() | Σ | 0..* | Reference(Condition) | Health issues this plan addresses |
![]() ![]() ![]() | 0..* | Reference(Resource) | Information considered as part of plan | |
![]() ![]() ![]() | 0..* | BackboneElement | Plans related to this one | |
![]() ![]() ![]() ![]() | 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 | code | includes | replaces | fulfills Binding: http://hl7.org/fhir/ValueSet/care-plan-relationship (required) | |
![]() ![]() ![]() ![]() | 1..1 | Reference(CarePlan) | Plan relationship exists with | |
![]() ![]() ![]() | 0..* | BackboneElement | Who's involved in plan? | |
![]() ![]() ![]() ![]() | 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 | CodeableConcept | Type of involvement Binding: http://hl7.org/fhir/ValueSet/participant-role (example) | |
![]() ![]() ![]() ![]() | 0..1 | Reference(Practitioner | RelatedPerson | Patient | Organization) | Who is involved | |
![]() ![]() ![]() | 0..* | Reference(Goal) | Desired outcome of plan | |
![]() ![]() ![]() | I | 0..* | BackboneElement | Action to occur as part of plan cpl-3: Provide a reference or detail, not both |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 0..* | Reference(Resource) | Appointments, orders, etc. | |
![]() ![]() ![]() ![]() | 0..* | Annotation | Comments about the activity status/progress | |
![]() ![]() ![]() ![]() | I | 0..1 | Reference(Appointment | CommunicationRequest | DeviceUseRequest | DiagnosticOrder | MedicationOrder | NutritionOrder | Order | ProcedureRequest | ProcessRequest | ReferralRequest | SupplyRequest | VisionPrescription) | Activity details defined in specific resource |
![]() ![]() ![]() ![]() | I | 0..1 | BackboneElement | In-line definition of activity |
![]() ![]() ![]() ![]() ![]() | 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 | CodeableConcept | diet | drug | encounter | observation | procedure | supply | other Binding: http://hl7.org/fhir/ValueSet/care-plan-activity-category (example) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Detail type of activity Binding: http://hl7.org/fhir/ValueSet/care-plan-activity (example) | |
![]() ![]() ![]() ![]() ![]() | 0..* | CodeableConcept | Why activity should be done Binding: http://hl7.org/fhir/ValueSet/activity-reason (example) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Reference(Condition) | Condition triggering need for activity | |
![]() ![]() ![]() ![]() ![]() | 0..* | Reference(Goal) | Goals this activity relates to | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled Binding: http://hl7.org/fhir/ValueSet/care-plan-activity-status (required) |
![]() ![]() ![]() ![]() ![]() | 0..1 | CodeableConcept | Reason for current status Binding: http://hl7.org/fhir/ValueSet/goal-status-reason (example) | |
![]() ![]() ![]() ![]() ![]() | ?! | 1..1 | boolean | Do NOT do |
![]() ![]() ![]() ![]() ![]() | 0..1 | Timing, Period, string | When activity is to occur | |
![]() ![]() ![]() ![]() ![]() | 0..1 | Reference(Location) | Where it should happen | |
![]() ![]() ![]() ![]() ![]() | 0..* | Reference(Practitioner | Organization | RelatedPerson | Patient) | Who will be responsible? | |
![]() ![]() ![]() ![]() ![]() | 0..1 | Reference(Medication | Substance), CodeableConcept | What is to be administered/supplied Binding: http://hl7.org/fhir/ValueSet/medication-codes (example) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | SimpleQuantity | How to consume/day? | |
![]() ![]() ![]() ![]() ![]() | 0..1 | SimpleQuantity | How much to administer/supply/consume | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Extra info describing activity to perform | |
![]() ![]() ![]() | 0..1 | Annotation | Comments about the plan | |
![]() |