From befcc12e9c2ae9542aa60413ca3bf946792731e0 Mon Sep 17 00:00:00 2001 From: Andre Gomes Date: Wed, 22 Jun 2022 17:29:52 +0100 Subject: [PATCH 1/2] #O3-1277 FHIRResource changes to include text and codded data in 03 --- packages/framework/esm-api/src/types/fhir-resource.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/framework/esm-api/src/types/fhir-resource.ts b/packages/framework/esm-api/src/types/fhir-resource.ts index 7f15d7771..456cc6989 100644 --- a/packages/framework/esm-api/src/types/fhir-resource.ts +++ b/packages/framework/esm-api/src/types/fhir-resource.ts @@ -20,10 +20,13 @@ export interface FHIRResource { valueQuantity: { value: number; }; + valueString?: string; + valueCodeableConcept?: { coding: Array }; }; } export interface FHIRCode { code: string; system: string; + display?: string; } From 3ce50fd8770e954951a5dcd219aa45d91b34087e Mon Sep 17 00:00:00 2001 From: Ian <52504170+ibacher@users.noreply.github.com> Date: Wed, 22 Jun 2022 13:40:16 -0400 Subject: [PATCH 2/2] For consistency --- packages/framework/esm-api/src/types/fhir-resource.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/framework/esm-api/src/types/fhir-resource.ts b/packages/framework/esm-api/src/types/fhir-resource.ts index 456cc6989..aa1ec63e1 100644 --- a/packages/framework/esm-api/src/types/fhir-resource.ts +++ b/packages/framework/esm-api/src/types/fhir-resource.ts @@ -20,8 +20,8 @@ export interface FHIRResource { valueQuantity: { value: number; }; - valueString?: string; - valueCodeableConcept?: { coding: Array }; + valueString: string; + valueCodeableConcept: { coding: Array }; }; }