Entity: Diagnosis web specification
Overview
This page provides more detail on how the web interface displays diagnosis information, which it fetches from the Aggregated FHIR API. Note:
Whilst this page explains which elements are inspected, the web interface does not provide any feedback about which/whether other FHIR elements are present in the database that are not being displayed.
The Manual provides more information on the functionality; this page is aimed at a technical audience who need to understand the relationship between the FHIR resources and the web interface.
FHIR® Resources
The web interface populates Diagnoses from the following FHIR resources:
Summary
The web interface shows a list of diagnoses. These are separated into “Current” and “Past”.
A diagnosis is shown in the past list if either of the following are true:
The status value is inactive (calculated as: clinicalStatus.coding[0].code equal to “inactive”)
There is a populated end timestamp which is in the past
The PKB web interface will only show Condition resources which have a populated Condition.category element.
Mappings
Component | Condition |
---|---|
Diagnosis |
|
Start | If onsetDateTime is present: the same Else if onsetPeriod is present: onsetPeriod.start |
End | If abatementDateTime is present: the same Else if onsetPeriod is present: onsetPeriod.end |
Details | note[0].text |
Date asserted | recordedDate |