Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

http://fhir.patientsknowbest.com/structuredefinition/aggregated-condition

...

This profile describes how non-FHIR data will be mapped to FHIR in the Aggregated FHIR endpoint by PKB. Other resources returned from the Aggregated FHIR endpoint are not guaranteed to conform to this profile.

Relevant PKB entities

FHIR

PKB

Notes

Resource id

[[Diagnosis.Aggregated Data Point ID]]

Resource meta

[[Data Point.Privacy Label]] code mappings (PKB → FHIR):

  • GENERAL_HEALTH → GENERAL_HEALTH

  • MENTAL_HEALTH → MENTAL_HEALTH

  • SEXUAL_HEALTH → SEXUAL_HEALTH

  • SOCIAL_CARE → SOCIAL_CARE

A single uploadeddata entry can result in multiple data points, so this ID does not necessarily uniquely identify a data point.

Condition.identifier

Condition.clinicalStatus

[[Data Point.Status]] code mappings (PKB → FHIR):

  • ACTIVE → active

  • INACTIVE → inactive

Condition.category

Condition.code

[[Diagnosis.Diagnosis]]

Condition.subject

  • subject: Reference

    • reference = the relative URL of the Patient resource

    • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

Condition.onsetDateTime

[[Diagnosis.Start Timestamp]]

Condition.abatementDateTime

[[Diagnosis.End Timestamp]]

Condition.recordedDate

[[Diagnosis.Date Asserted]]

Condition.note

  • note: Annotation

    • text = [[Diagnosis.Details]]

...