From 659cde2d842bb6275cc512ebb5e8b2dad0c6fbea Mon Sep 17 00:00:00 2001 From: oliveregger Date: Tue, 14 May 2024 23:17:03 +0200 Subject: [PATCH] v070 --- docs/changelog.md | 2 +- .../ch/bfh/ti/i4mi/mag/mhd/pharm5/Pharm5RequestConverter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 033ee36f..6f66f2bf 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,4 +1,4 @@ -## 2024/05/15 v068 +## 2024/05/15 v070 - support for multiple IDP's [128](https://github.com/i4mi/MobileAccessGateway/issues/128) - reenable $find-medication-list - use IdP also for patient access in web app diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/pharm5/Pharm5RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/pharm5/Pharm5RequestConverter.java index 2a278746..facb09cb 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/pharm5/Pharm5RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/pharm5/Pharm5RequestConverter.java @@ -96,7 +96,7 @@ public ChQueryRegistry operationFindMedicationListToFindMedicationListQuery(@Bod if (statusTypes != null) { List availabilites = new ArrayList(); for (Parameters.ParametersParameterComponent status : statusTypes) { - String tokenValue = status.primitiveValue(); + String tokenValue = status.getValue().toString(); if (tokenValue !=null) { if (tokenValue.equals("current")) availabilites.add(AvailabilityStatus.APPROVED);