opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://smartregister.org
Apache License 2.0
50 stars 39 forks source link

Default date of today using initialExpression failing in questionnaires #3237

Closed LZRS closed 1 month ago

LZRS commented 1 month ago

Describe the bug Setting default initial value fails using the following extension fails for Questionnaires

"extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "today()"
          }
        }
      ]

Experienced in wdf questionnaires and might be related to https://github.com/opensrp/fhircore/issues/3213

cc @Rkareko @Gental-Giant @allan-on