@openmrs/esm-system-admin-app

4.0.4 • Public • Published

Node.js CI

System Administration

The System Administration frontend module renders a page with a number of cards that link to different pages or applications outside the main EMR. These include the following:

It can be accessed by clicking on the System Administration link in the app switcher menu. It exposes an ExtensionSlot that can be used to add more cards to the page. To add a card from a different module, add an extension definition to the entry point of that module. For example, to add a card from the medication-dispensing module, you would add the following extension definition to its entry point in src/index.ts:

// index.ts
extensions: [
  {
    id: "medication-dispensing-card-link",
    slot: "system-admin-page-card-link-slot",
    load: getAsyncLifecycle(
      () => import("./medication-dispensing-card-link.component"),
      options
    ),
    online: true,
    offline: true,
  },
]

Package Sidebar

Install

npm i @openmrs/esm-system-admin-app

Weekly Downloads

735

Version

4.0.4

License

MPL-2.0

Unpacked Size

3.33 MB

Total Files

57

Last publish

Collaborators

  • ibacher
  • mogoodrich
  • openmrs-bot
  • rkorytkowski
  • djazayeri
  • joeldenning
  • mksd
  • brandones
  • jdick
  • bmamlin
  • dkibet
  • mdubey
  • dennisforthewin