From ce8fa293efd63e6af1475a8cfabeef8a9983638c Mon Sep 17 00:00:00 2001 From: tada5hi Date: Sat, 2 Dec 2023 12:28:34 +0100 Subject: [PATCH] feat: add patient vitalStatus and other properties to patient view --- packages/core/src/domains/patient/types.ts | 1 + .../query/[id]/patients/[patientId]/index.vue | 40 +++++++++++++------ 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/packages/core/src/domains/patient/types.ts b/packages/core/src/domains/patient/types.ts index d264b134..7c5bea05 100644 --- a/packages/core/src/domains/patient/types.ts +++ b/packages/core/src/domains/patient/types.ts @@ -13,6 +13,7 @@ export type Patient = { birthDate: string, dateOfDeath?: string, managingSite?: Coding, + vitalStatus?: Coding, healthInsurance?: unknown // todo: type is not defined ?! }; diff --git a/packages/rare-diseases/src/runtime/pages/query/[id]/patients/[patientId]/index.vue b/packages/rare-diseases/src/runtime/pages/query/[id]/patients/[patientId]/index.vue index 14cd47fe..92577417 100644 --- a/packages/rare-diseases/src/runtime/pages/query/[id]/patients/[patientId]/index.vue +++ b/packages/rare-diseases/src/runtime/pages/query/[id]/patients/[patientId]/index.vue @@ -25,18 +25,12 @@ export default defineNuxtComponent({
Geburtstag {{ record.patient.birthDate }}
-
-
Status {{ record.diagnosis.status.display }}
+
Status {{ record.diagnosis.status.display }}
+
+
+ HPO +
+
+
+ Terme + +
+
+
+
+
+ Therapie +
+
{{ record.therapy.notes }}
+