From 7b27d4f1f98a8b4d822bd46198333098d05c490f Mon Sep 17 00:00:00 2001 From: Yudistira Date: Tue, 12 Nov 2024 11:22:59 +0700 Subject: [PATCH] prevent multiple organization type --- src/FHIR/Organization.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/FHIR/Organization.php b/src/FHIR/Organization.php index 2e99c36..1f5931d 100644 --- a/src/FHIR/Organization.php +++ b/src/FHIR/Organization.php @@ -140,16 +140,6 @@ public function addAddress($address_line = null, $postal_code = null, $city_name public function json() { - // Add Organization type - $this->organization['type'][] = [ - 'coding' => [ - [ - 'system' => 'http://terminology.hl7.org/CodeSystem/organization-type', - 'code' => 'dept', - 'display' => 'Hospital Department', - ], - ], - ]; // Identifier is required if (!array_key_exists('identifier', $this->organization)) {