1.0.2 • Published 4 years ago

@pih/esm-referrals-queue v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

@pih/esm-referrals-queue

A page for viewing the J9 Home Visits from CommCare

Build Status

Design Notes

Copied from PIH Confluence

design

There should be one row per referral in this list (not one per encounter). Some encounters may result in multiple referrals. See the Referral Type logic below.

Note that the basic referrals workflow would be for J9 clinicians/managers to view the list of referrals here, then take action upon them one by one by clicking on the “pending” referrals. This will bring them into editing the Home Visit form from which the referral came. From there they specify any action taken on the referral and navigate back to this list. Check out the design doc.

Configuration

See the openmrs-esm-module-config docs for information about how to provide configuration files.

  • links
    • patientDash
      • spa (default: false)\ must be a boolean.
      • url (default: /coreapps/clinicianfacing/patient.page?patientId=${patientUuid}&app=pih.app.clinicianDashboard)\ must be a string. url template may not include backticks.
    • visitPage
      • spa (default: false)\ must be a boolean.
      • url (default: /pihcore/visit/visit.page?patient=${patientUuid}&visit=${visitUuid}&suppressActions=true#/overview)\ must be a string. url template may not include backticks.
    • homeVisitForm
      • spa (default: false)\ must be a boolean.
      • url (default: /htmlformentryui/htmlform/editHtmlFormWithStandardUi.page?patientId=${patientUuid}&visitId=${visitUuid}&encounterId=${encounterUuid}&definitionUiResource=file:configuration/pih/htmlforms/section-mch-referral.xml&returnUrl=/mirebalais/spa/referrals-queue)\ must be a string. url template may not include backticks.
  • pendingStatuses (default: Pending status,Referral unmet)
    • arrayElements\ must be a string.