Record history shows only ICD-10 codes beside a diagnosis
This commit is contained in:
@@ -94,7 +94,8 @@ export class Paciente {
|
|||||||
date: c.recordedDate ?? '',
|
date: c.recordedDate ?? '',
|
||||||
kind: 'Diagnóstico',
|
kind: 'Diagnóstico',
|
||||||
text: label(c.code),
|
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) => ({
|
...d.procedures.map((p) => ({
|
||||||
date: p.performedDateTime ?? '',
|
date: p.performedDateTime ?? '',
|
||||||
|
|||||||
Reference in New Issue
Block a user