npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

fe-claim

v1.3.7

Published

openIMIS Frontend Claim reference module

Downloads

3

Readme

openIMIS Frontend Claim reference module

This repository holds the files of the openIMIS Frontend Claim reference module. It is dedicated to be deployed as a module of openimis-fe_js.

License: AGPL v3

Main Menu Contributions

  • Claims (claim.mainMenu translation key)

    Health Facilities Claims (claim.menu.healthFacilityClaims translation key), displayed if user has at least one of rights [111002, 111004, 111005, 111006 or 111007]

    Reviews (claim.menu.reviews translation key), displayed if user has at least one of the rights [111008, 111009, 111010; 111011]

Other Contributions

  • core.Router: registering the claim/healthFacilities, claim/claim/:claim_uuid, claim/reviews, claim/review/:claim_uuid and claim/feedback/:claim_uuid routes in openIMIS client-side router

Available Contribution Points

  • claim.MainMenu ability to add entries within the main menu entry (known usage: openimis-fe-claim_batch)
  • claim.Filter ability to extend the ClaimFilter (inside the criteria form), used for HealthFacilities and Reviews screens
  • claim.HealthFacilitiesFilter ability to extend the ClaimFilter (inside the criteria form), only for the HealthFacilities screen
  • claim.ReviewsFilter ability to extend the ClaimFilter (inside the criteria form), only for the Reviews screen
  • claim.Searcher ability to extend the ClaimSearcher (between the criteria form and the results table)
  • claim.ClaimForm ability to extend the ClaimForm (entity displayed to add, edit, provide feedback and provide review)
  • claim.MasterPanel ability to extend the first section (paper) of the ClaimForm
  • claim.ClaimFeedback ability to extend the ClaimFeedbackPanel (i.e. feedback form)
  • claim.SelectionAction ability to extend the ClaimSearcher action menu
  • claim.ReviewSelectionAction ability to extend the ClaimReviewSearcher action menu

Published Components

  • claim.ClaimAdminPicker, suggestion-based picker bound to claimAdmins GraphQL query
  • claim.ClaimOfficerPicker, suggestion-based picker bound to claimOfficersGraphQL query
  • claim.ClaimStatusPicker, constant-based picker, translation keys: claim.claimStatus.null, claim.claimStatus.1,...
  • claim.FeedbackStatusPicker, constant-based picker, translation keys: claim.feedbackStatus.null, claim.feedbackStatus.1,...
  • claim.ReviewStatusPicker, constant-based picker, translation keys: claim.reviewStatus.null, claim.reviewStatus.1,...
  • claim.ApprovalStatusPicker, constant-based picker, translation keys: claim.approvalStatus.null, claim.approvalStatus.1,...
  • claim.RejectionReasonPicker, constant-based picker (with tooltip), translation keys: claim.rejectionReason.null, claim.rejectionReason.1,...
  • claim.ClaimMasterPanelExt, ready to use extension for the claim.MasterPanel, loading the policy.InsureePolicyEligibilitySummary published component and displaying the last claim (visit) code, date from and date to

Dispatched Redux Actions

  • CLAIM_CLAIM_ADMINS_{REQ|RESP|ERR}: loading the claim admins cache
  • CLAIM_CLAIM_ADMIN_SELECTED: when claim administrator is selected in filter (enable claim add button)
  • CLAIM_CLAIM_HEALTH_FACILITY_SELECTED: when health facility is selected in filter (enable claim add button)
  • CLAIM_CLAIM_SEARCHER_{REQ|RESP|ERR}: querying for claims (filter updates or refresh button pushed)
  • CLAIM_CLAIM_{REQ|RESP|ERR}: loading a claim (double click on claim in result table)
  • CLAIM_LAST_CLAIM_AT_{REQ|RESP|ERR}: loading the last (other) claim of the claim insuree at the claim health facility (cfr. claim.ClaimMasterPanelExt)
  • CLAIM_MUTATION_{REQ|ERR}: sending a mutation (update, deliver feedback,...)
  • CLAIM_CREATE_CLAIM_RESP: recieving the result of create claim mutation
  • CLAIM_UPDATE_CLAIM_RESP: recieving the result of update claim mutation
  • CLAIM_SUBMIT_CLAIMS_RESP: recieving the result of submit claim(s) mutation
  • CLAIM_DELETE_CLAIMS_RESP: recieving the result of delete claim(s) mutation
  • CLAIM_SELECT_CLAIMS_FOR_FEEDBACK_RESP: recieving the result of select claim(s) for feedback mutation
  • CLAIM_BYPASS_CLAIMS_FEEDBACK_RESP: recieving the result of bypass claim(s) feedback mutation
  • CLAIM_SKIP_CLAIMS_FEEDBACK_RESP: recieving the result of skip claim(s) feedback mutation
  • CLAIM_DELIVER_CLAIM_FEEDBACK_RESP: recieving the result of deliver claim feedback mutation
  • CLAIM_SELECT_CLAIMS_FOR_REVIEW_RESP: recieving the result of select claim(s) for review mutation
  • CLAIM_BYPASS_CLAIMS_REVIEW_RESP: recieving the result of bypass claim(s) review mutation
  • CLAIM_SKIP_CLAIMS_REVIEW_RESP: recieving the result of skip claim(s) review mutation
  • CLAIM_DELIVER_CLAIM_REVIEW_RESP: recieving the result of deliver claim review mutation
  • CLAIM_PROCESS_CLAIMS_RESP: recieving the result of process claim(s) mutation
  • CLAIM_PRINT: emit print claim request
  • CLAIM_PRINT_DONE: recieved print claim response (pdf)
  • CLAIM_EDIT_HEALTH_FACILITY_SET: selected health facility in claim edit form. Known usage: medical_pricelist (to load the corresponding pricelist)

Other Modules Listened Redux Actions

None

Other Modules Redux State Bindings

  • state.core.user, to access user info (rights,...)
  • state.medical_pricelist, retrieving medical pricelist once health facility of claim selected (changed)
  • state.loc.userHealthFacilityFullPath, retrieving user's heath facility (and its district and region)

Configurations Options

  • debounceTime: debounce time (ms) before triggering search in ClaimFilter (Default: 800)
  • newClaim.visitType: default (pre-selected) visity type when creating a claim (Default: 'O' - Other)
  • claim.CreateClaim.feedbackStatus: value set to feedback status when creating a claim (Default: 1)
  • claim.CreateClaim.reviewStatusvalue set to review status when creating a claim (Default: 1)
  • claimFilter.rowsPerPageOptions: pagination page size options in Claim Searcher component (Default: [10, 20, 50, 100])
  • claimFilter.defaultPageSize, pagination pre-selected page size options in Claim Searcher component (Default: 10)
  • claimFilter.highlightAmount, amount triggering the primary highligh (default bold) for claims in claim searcher result. Default: 0, menaing no highlight threshold
  • claimFilter.highlightAltInsurees, boolean to trigger the secondary highligh (default italic) for claims of the same insuree. Default: true
  • claimForm.codeMaxLength, the max size of a claim code (id), default 8;
  • claimForm.fixedPricesAtEnter, boolean to prevent user to adapt prices at claim entry (fixed to price list). Default: false (user can change the price)
  • claimForm.fixedPricesAtReview, boolean to prevent user to adapt prices at claim review (fixed to price list). Default: false (user can change the price)
  • claimForm.showJustificationAtEnter, boolean to display justification field(s) for items and services at claim entry. Default false;
  • claimForm.showAdjustmentAtEnter, boolean to display adjustment field at claim entry. Default false;
  • claimForm.insureePicker, the insuree picker to use when filling a claim. Default insuree.InsureeChfIdPicker (the exact chfid entry picker). Other pre-canned option (from insuree reference module): insuree.InsureePicker (dialog picker with search on chfid, last name and other names)
  • canSaveClaimWithoutServiceNorItem, wherever user can save a claim without service nor item, default: true
  • canSubmitClaimWithZero, wherever user can submit with 0 as claimed amount (probably a claim without service/item), default: false
  • claimAttachments, boolean to enable/disable claim attachments. Default true;
  • claimForm.referHF, boolean to enable/disable referal HF (mandatory when visit type = Referal, optional without). Default true;