qi-blood-fluids #74

Merged
amit merged 8 commits from qi-blood-fluids into main 2026-10-22 05:58:46 +00:00
1 changed files with 37 additions and 0 deletions
Showing only changes of commit 7d17bdb3de - Show all commits

View File

@ -148,6 +148,43 @@ export function EovDetailRenderer({
}); });
} }
const clinicalManifestations = data.clinical_manifestation ?? data.clinical_manifestations;
if (!isEmptyValue(clinicalManifestations)) {
items.push({
key: "clinical_manifestation",
order: orderFor("clinical_manifestation", orderFor("clinical_manifestations", 125)),
render: () => (
<SectionCard title="Clinical Manifestations">
<BulletList items={asStringArray(clinicalManifestations)} />
</SectionCard>
),
});
}
if (!isEmptyValue(data.connecting_channel)) {
items.push({
key: "connecting_channel",
order: orderFor("connecting_channel", 130),
render: () => (
<SectionCard title="Connecting Channel">
<Text style={styles.pathway}>{asString(data.connecting_channel)}</Text>
</SectionCard>
),
});
}
if (!isEmptyValue(data.treatment)) {
items.push({
key: "treatment",
order: orderFor("treatment", 140),
render: () => (
<SectionCard title="Treatment">
<Text style={styles.pathway}>{asString(data.treatment)}</Text>
</SectionCard>
),
});
}
return items.sort((a, b) => a.order - b.order || a.key.localeCompare(b.key)); return items.sort((a, b) => a.order - b.order || a.key.localeCompare(b.key));
}, [data, orderFor, relationshipRows]); }, [data, orderFor, relationshipRows]);