feat (soapi): parse and display main complaint and diagnoses from json data

This commit is contained in:
Abizrh
2025-11-05 10:04:15 +07:00
parent 6bb881d248
commit 3cfa07149c
2 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ onMounted(async () => {
})
async function getMyList() {
const url = `/api/v1/soapi?type-code=${typeCode.value}`
const url = `/api/v1/soapi?type-code=${typeCode.value}?includes=encounter`
const resp = await xfetch(url)
if (resp.success) {
data.value = (resp.body as Record<string, any>).data