Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1309

Clinician Facing Page does not use parameters passed through fragment config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Reference Application 2.5
    • Component/s: Core Apps
    • Labels:
      None
    • Complexity:
      Low

      Description

      The problem is that the third parameter in this line is hardcoded: https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/webapp/pages/clinicianfacing/patient.gsp#L47

      but actually what we want to do is to allow the app config to also specify extensionParams.fragmentConfig

      like is done here: https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/webapp/pages/clinicianfacing/patient.gsp#L31

      basically instead of this:
      [ patient: patient, patientId: patient.patient.id, app: it.appId ]

      it would be something like this:
      merge( (it.extensionParams.fragmentConfig ?: [ : ]) , [ patient: patient, patientId: patient.patient.id, app: it.appId ] )

        Attachments

          Activity

            People

            Assignee:
            dkayiwa Daniel Kayiwa
            Reporter:
            ssmusoke Stephen Senkomago Musoke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: