From 359d34ac7ff0422063eba980abc49ba655e13511 Mon Sep 17 00:00:00 2001 From: ivanwilliammd Date: Sun, 1 Dec 2024 22:15:26 +0700 Subject: [PATCH] updated setSubstitution allowed=true --- src/FHIR/MedicationRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FHIR/MedicationRequest.php b/src/FHIR/MedicationRequest.php index 36e948b..8ed4fc7 100644 --- a/src/FHIR/MedicationRequest.php +++ b/src/FHIR/MedicationRequest.php @@ -288,7 +288,7 @@ public function setDispenseRequest($quantity, $unit, $iter = 0, $validityPeriodS $this->medication_request['dispenseRequest'] = $dispense_request; } - public function setSubstitution($allowed = false, $reason = 'G') + public function setSubstitution($allowed = true, $reason = 'G') { $substitution['allowedBoolean'] = $allowed;