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.
-
Default
What is FQL?
-
FQL Query resources
FQL Playground
Try Firely Query Language in our playground by using this scope as data source.
- FQL Documentation
-
FQL Language
Syntax specification
To learn more about FQL syntax choose this menu item.
-
YamlGen Generate resources
YamlGen Playground
Try YamlGen in our playground by using this scope as data source.
-
YamlGen Language
YamlGen Syntax specification
To learn more about YamlGen syntax choose this.
-
FHIRPath Inspect resource
FHIRPath Playground
Try out the FHIRPath playground and navigate inside this resource.
-
FHIRPath Documentation
FHIRPath Documentation
Find out what FHIRPath is or learn how to write FHIRPath scripts.
-
Project FHIR API
This is the location where you can find your resource using a FHIR client.
-
Simplifier FHIR API
The global endpoint is where users can search for all resources in Simplifier. Resources have a globally unique guid Id here.
-
Custom Example generation
Custom Example generation beta
Experiment with resource instance generation using YamlGen and based on this profile.
This feature is in beta. You can help us improve it by giving feedback with the feedback button at the top of the screen.
Medication
Base StructureDefinition for Medication Resource
- type Profile on Medication
- FHIR STU3
- status Draft
-
version...
The canonical from this resource does not match any claim in this context and conflicts with a claim from another scope.
http://hl7.org/fhir
Canonical claims are used to verify ownership of your canonical URLs.
You're probably missing a package or made a typo in your canonical.
- Could not resolve: http://hl7.org/fhir/StructureDefinition/DomainResource
Medication | http://hl7.org/fhir/StructureDefinition/DomainResource | There are no (further) constraints on this element Element idMedication Definition of a Medication DefinitionThis resource is primarily used for the identification and definition of a medication. It covers the ingredients and the packaging for a medication. http://hl7.org/fhir/StructureDefinition/DomainResource Mappings
| ||
code | Σ | 0..1 | CodeableConcept | There are no (further) constraints on this element Element idMedication.code Codes that identify this medication DefinitionA code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems. Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: "A coding may be marked as a "userSelected" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. CodeableConcept BindingA coded concept that defines the type of a medication ?? (example)Mappings
|
status | Σ | 0..1 | codeBinding | There are no (further) constraints on this element Element idMedication.status active | inactive | entered-in-error DefinitionA code to indicate if the medication is in active use. This status is not intended to specify if a medication is part of a formulary. code BindingA coded concept defining if the medication is in active use ?? (required)Mappings
|
isBrand | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedication.isBrand True if a brand DefinitionSet to true if the item is attributable to a specific manufacturer. boolean Mappings
|
isOverTheCounter | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedication.isOverTheCounter True if medication does not require a prescription DefinitionSet to true if the medication can be obtained without an order from a prescriber. boolean Mappings
|
manufacturer | Σ | 0..1 | Reference(http://hl7.org/fhir/StructureDefinition/Organization) | There are no (further) constraints on this element Element idMedication.manufacturer Manufacturer of the item DefinitionDescribes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product. Reference(http://hl7.org/fhir/StructureDefinition/Organization) Mappings
|
form | 0..1 | CodeableConcept | There are no (further) constraints on this element Element idMedication.form powder | tablets | capsule + DefinitionDescribes the form of the item. Powder; tablets; capsule. When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form. CodeableConcept BindingA coded concept defining the form of a medication ?? (example)Mappings
| |
ingredient | 0..* | BackboneElement | There are no (further) constraints on this element Element idMedication.ingredient Active or inactive ingredient DefinitionIdentifies a particular constituent of interest in the product. The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients. BackboneElement Mappings
| |
item[x] | 1..1 | There are no (further) constraints on this element Element idMedication.ingredient.item[x] The product contained DefinitionThe actual ingredient - either a substance (simple ingredient) or another medication.
| ||
itemCodeableConcept | CodeableConcept | There are no (further) constraints on this element Data type CodeableConcept | ||
itemReference | Reference(http://hl7.org/fhir/StructureDefinition/Substance | Medication) | There are no (further) constraints on this element Data type Reference(http://hl7.org/fhir/StructureDefinition/Substance | Medication) | ||
isActive | 0..1 | boolean | There are no (further) constraints on this element Element idMedication.ingredient.isActive Active ingredient indicator DefinitionIndication of whether this ingredient affects the therapeutic action of the drug. True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). False indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive). boolean Mappings
| |
amount | 0..1 | Ratio | There are no (further) constraints on this element Element idMedication.ingredient.amount Quantity of ingredient present DefinitionSpecifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet. Ratio Mappings
| |
package | 0..1 | BackboneElement | There are no (further) constraints on this element Element idMedication.package Details about packaged medications DefinitionInformation that only applies to packages (not products). BackboneElement Mappings
| |
container | 0..1 | CodeableConcept | There are no (further) constraints on this element Element idMedication.package.container E.g. box, vial, blister-pack DefinitionThe kind of container that this package comes as. CodeableConcept BindingA coded concept defining the kind of container a medication package is packaged in ?? (example)Mappings
| |
content | 0..* | BackboneElement | There are no (further) constraints on this element Element idMedication.package.content What is in the package DefinitionA set of components that go to make up the described item. BackboneElement Mappings
| |
item[x] | 1..1 | There are no (further) constraints on this element Element idMedication.package.content.item[x] The item in the package DefinitionIdentifies one of the items in the package.
| ||
itemCodeableConcept | CodeableConcept | There are no (further) constraints on this element Data type CodeableConcept | ||
itemReference | Reference(Medication) | There are no (further) constraints on this element Data type Reference(Medication) | ||
amount | 0..1 | http://hl7.org/fhir/StructureDefinition/SimpleQuantity | There are no (further) constraints on this element Element idMedication.package.content.amount Quantity present in the package DefinitionThe amount of the product that is in the package. http://hl7.org/fhir/StructureDefinition/SimpleQuantity Mappings
| |
batch | 0..* | BackboneElement | There are no (further) constraints on this element Element idMedication.package.batch Identifies a single production run DefinitionInformation about a group of medication produced or packaged from one production run. BackboneElement Mappings
| |
lotNumber | 0..1 | string | There are no (further) constraints on this element Element idMedication.package.batch.lotNumber Identifier assigned to batch DefinitionThe assigned lot number of a batch of the specified product. string Mappings
| |
expirationDate | 0..1 | dateTime | There are no (further) constraints on this element Element idMedication.package.batch.expirationDate When batch will expire DefinitionWhen this specific batch of product will expire. dateTime Mappings
| |
image | 0..* | Attachment | There are no (further) constraints on this element Element idMedication.image Picture of the medication DefinitionPhoto(s) or graphic representation(s) of the medication. Note that "image" is only applicable when the medication.code represents a physical item (e.g. Amoxil 250 mg capsule) and not an abstract item (e.g. amoxicillin 250 mg). Attachment Mappings
|