This page provides more detail on how the web interface displays medication information, which it fetches from the Aggregated FHIR API.
...
Component | MedicationRequest | MedicationStatement |
---|---|---|
Status This is not shown explicitly, but is included in the logic which determines if the medication is current or past. | status status code mappings (FHIR → PKB):
| status status code mappings (FHIR → PKB):
|
Substance | <conditional> If medicationReference is populated: ??? Else: ??? | |
Start Timestamp | <conditional> If this extension is present: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse extension[x]: valuePeriod.start Else: authoredOn | effectivePeriod.start |
End Timestamp | <conditional> If this extension is present: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse extension[x]: valuePeriod.end Else: No value. | effectivePeriod.end |
Frequency Text | ||
Frequency Value | ||
Frequency Units | ||
Frequency Priority | ||
Dose Value | First, the main Dosage is determined as follows (from the dosageInstruction element for MedicationRequest, or dosage element for MedicationStatement):
Then, we inspect the main Dosage and retrieve: doseAndRep[0].doseQuantity.value | |
Dose Units | First, the main Dosage is determined as follows (from the dosage element):
Then, we inspect the main Dosage and retrieve: doseAndRep[0].doseQuantity If this Quantity has a code, no unit and no system, then it is considered to contain a PKB-assigned code. Otherwise, we inspect the first Dosage (which might differ from the previously determined main Dosage) and inspect doseAndRep[0].doseQuantity for the http://fhir.patientsknowbest.com/structuredefinition/dose-units extension. | |
Medication Unit | ||
Instructions |