From 9836ee4752aa714e02870162815023d1fe6e1774 Mon Sep 17 00:00:00 2001 From: Daniela Marioti Date: Mon, 23 Sep 2024 19:30:13 -0300 Subject: [PATCH] fix: exam list --- package.json | 2 +- src/ttalk/schemas/MedicalConsultation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1a18b49..69cd718 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quirons-broker", - "version": "0.0.1-alpha.133", + "version": "0.0.1-alpha.134", "description": "A small library to expose the broker types", "typings": "index.d.ts", "types": "index.d.ts", diff --git a/src/ttalk/schemas/MedicalConsultation.ts b/src/ttalk/schemas/MedicalConsultation.ts index 1410189..738890d 100644 --- a/src/ttalk/schemas/MedicalConsultation.ts +++ b/src/ttalk/schemas/MedicalConsultation.ts @@ -77,7 +77,7 @@ export const MedicalConsultationInfo = t.intersection([ /** Observações */ observation: t.string, /** Lista de Exames */ - examList: t.array(ExamInfo), + examList: t.union([t.array(ExamInfo), t.null]), /** Chave única do registro */ erpId: t.string, /** Credenciado */