{
  "$schema": "https://json.openmrs.org/routes.schema.json",
  "backendDependencies": {
    "webservices.rest": ">=2.2.0"
  },
  "pages": [
    {
      "component": "root",
      "route": "patient-registration",
      "online": true,
      "offline": true
    },
    {
      "component": "editPatient",
      "routeRegex": "patient\\/([a-zA-Z0-9\\-]+)\\/edit",
      "online": true,
      "offline": true
    }
  ],
  "extensions": [
    {
      "component": "addPatientLink",
      "name": "add-patient-action",
      "slot": "top-nav-actions-slot",
      "online": true,
      "offline": true,
      "order": 30
    },
    {
      "component": "patientPhotoExtension",
      "name": "patient-photo-widget",
      "slot": "patient-photo-slot",
      "online": true,
      "offline": true
    },
    {
      "component": "editPatientDetailsButton",
      "name": "edit-patient-details-button",
      "slot": "patient-actions-slot",
      "online": true,
      "offline": true
    },
    {
      "component": "editPatientDetailsButton",
      "name": "edit-patient-details-button",
      "slot": "patient-search-actions-slot",
      "online": true,
      "offline": true
    }
  ],
  "modals": [
    {
      "name": "cancel-patient-edit-modal",
      "component": "cancelPatientEditModal"
    },
    {
      "name": "delete-identifier-confirmation-modal",
      "component": "deleteIdentifierConfirmationModal"
    }
  ]
}
