Record history shows only ICD-10 codes beside a diagnosis

This commit is contained in:
Roberto Treviño
2026-11-29 07:13:57 -06:00
parent 7e50ff9b90
commit 52cca0a84c
+2 -1
View File
@@ -94,7 +94,8 @@ export class Paciente {
date: c.recordedDate ?? '',
kind: 'Diagnóstico',
text: label(c.code),
code: code(c.code),
// the ICD-10 code a note diagnosed by (the platform's own codes stay unsaid)
code: c.code?.coding?.find((x) => x.system?.includes('icd-10'))?.code,
})),
...d.procedures.map((p) => ({
date: p.performedDateTime ?? '',