diff --git a/GaelO2/app/GaelO/Services/GaelOStudiesService/AbstractVisitDecisions.php b/GaelO2/app/GaelO/Services/GaelOStudiesService/AbstractVisitDecisions.php index 1f9186617..e27fe3fac 100644 --- a/GaelO2/app/GaelO/Services/GaelOStudiesService/AbstractVisitDecisions.php +++ b/GaelO2/app/GaelO/Services/GaelOStudiesService/AbstractVisitDecisions.php @@ -43,6 +43,12 @@ public function getPatientId() return $this->visitContext['patient_id']; } + + public function getPatientCode() + { + return $this->visitContext['patient']['code']; + } + /** * Must return the review status for each action on review (send, delete, unlock), * needs to handle backward and forward diff --git a/GaelO2/config/app.php b/GaelO2/config/app.php index 856e5ed31..909a9baca 100644 --- a/GaelO2/config/app.php +++ b/GaelO2/config/app.php @@ -25,7 +25,7 @@ | or any other location as required by the application or its packages. */ - 'version' => '2.2.0', + 'version' => '2.2.1', /* |--------------------------------------------------------------------------