fe-policy 1.4.0-rc0
Install from the command line:
Learn more about npm packages
$ npm install @openimis/fe-policy@1.4.0-rc0
Install via package.json:
"@openimis/fe-policy": "1.4.0-rc0"
About this version
This repository holds the files of the openIMIS Frontend Policy reference module. It is dedicated to be deployed as a module of openimis-fe_js.
None
-
core.Router: registeringpolicy/policiesroutes in openIMIS client-side router -
insuree.MainMenu:Policies (
menu.policiestranslation key) -
insuree.EnquiryDialog:[FamilyOrInsureePoliciesSummary, InsureeEligibilityEnquiry, InsureeEligibilitySummary], adding the (family) policies details, ability to query eligibility on an item and service and remaining counts and amounts to enquiry dialog (of insuree module) -
insuree.FamilyOverview.panels:[FamilyOrInsureePoliciesSummary], policy section in the family overview
-
policy.Filter, contributions point for the filter (searcher page) -
policy.Policy, contributions point for the policy master panel (in policy page) -
policy.Policy.panels, contributions point to add panels below the policy master panel (in policy page) -
policy.PolicyValues, contributions point for the policy values panel (in policy page) -
policy.PolicyValues.panels, contributions point to add panels below the policy values panel (in policy page)
-
policy.PolicyOfficerPicker, picker for policy officers (from the database) -
policy.PolicyStatusPicker, picker for the policy status (idle, ready, active, suspended or expired), from (translated) constants (1, 2, 4, 8 or 16) -
policy.PolicyStagePicker, picker for policy stages (new or renew), from (translated) constants (N or R) -
policy.FamilyOrInsureePoliciesSummary, insuree (family) policies summary (by default contributed to insuree enquiry dialog) -
policy.InsureeEligibilitySummary, querying insuree eligibility to an item and service (by default contributed to insuree enquiry dialog) -
policy.InsureeEligibilityEnquiry, remaining counts and amounts of insuree (by default contributed to insuree enquiry dialog) -
policy.InsureePolicyEligibilitySummary, summary (expiry date and balance) of the last still valid insuree policy
-
POLICY_INSUREE_POLICIES_{REQ|RESP|ERR}, loading insuree policies summary (GraphQL:policiesByFamilyOrInsuree) -
POLICY_INSUREE_ITEM_ELIGIBILITY_{REQ|RESP|ERR}, query insuree eligibility for an item (GraphQL:policyItemEligibilityByInsuree) -
POLICY_INSUREE_SERVICE_ELIGIBILITY_{REQ|RESP|ERR}, query insuree eligibility for a service (GraphQL:policyServiceEligibilityByInsuree) -
POLICY_INSUREE_ELIGIBILITY_{REQ|RESP|ERR}, insuree eligibility summary (GraphQL:policyEligibilityByInsuree) -
POLICY_FAMILY_POLICIES_{REQ|RESP|ERR}, fetching the policies of the (redux) family into the redux state -
POLICY_POLICY_OFFICERS_{REQ|RESP|ERR}, fetching the policy officers (cached into PolicyOfficerPicker) -
POLICY_POLICIES_{REQ|RESP|ERR}, fetching policies (as triggered by the searcher) -
POLICY_POLICY_{REQ|RESP|ERR}, fetching one policy (full details)... as for the policy page -
POLICY_FETCH_POLICY_VALUES__{REQ|RESP|ERR}, request backend the policy (being created/updated) values (start date, expiry date and value) -
POLICY_MUTATION_REQ, sending a mutation (create, update, nenew, suspend or delete) -
POLICY_MUTATION_ERR, failed submitting a mutation -
POLICY_{CREATE|UPDATE|RENEW|SUSPEND|DELETE}_POLICY_RESP, create policy mutation response (i.e. when successfull)
None
-
state.core.user, to access user info (rights,...) -
state.insuree, loading insuree policies (,eligibility,...)
None