Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "referenceapplication.registrationapp.registerPat",
- "instanceOf": "registrationapp.registerPatient",
- "label": "Create a new patient",
- "description": "Create a new Patient Record",
- "extensions": [
- {
- "id": "referenceapplication.registrationapp.registerPat.homepageLink",
- "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
- "type": "link",
- "label": "referenceapplication.app.registerPatient.label",
- "url": "registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.registerPat",
- "icon": "icon-user",
- "order": 1,
- "requiredPrivilege": "App: registrationapp.registerPatient"
- },
- {
- "id": "application.registrationapp.summary.editPatientLink",
- "extensionPointId": "patientDashboard.overallActions",
- "type": "link",
- "label": "referenceapplication.app.editRegistrationInfo.label",
- "url": "registrationapp/registrationSummary.page?patientId={{patient.uuid}}&appId=referenceapplication.registrationapp.registerPat",
- "icon": "icon-pencil",
- "order": 25,
- "requiredPrivilege": "App: registrationapp.registerPatient"
- }
- ],
- "config": {
- "afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
- "sections": [
- {
- "id" : "personnalInfo",
- "label": "personnalInfo",
- "questions" : [
- {
- "id" : "identificationNumber",
- "legend" : "identificationNumber",
- "fields" : [
- {
- "type" : "patientIdentifier",
- "label" : "identificationNumber",
- "formFieldName" : "identificationNumber",
- "uuid" : "18a42ced-8a94-4f80-a27a-a151164b5f19",
- "widget" : {
- "providerName" : "uicommons",
- "fragmentId" : "field/text"
- }
- }
- ]
- }
- ]
- },
- {
- "id": "contactInfo",
- "label": "registrationapp.patient.contactInfo.label",
- "questions": [
- {
- "legend": "Person.address",
- "fields": [
- {
- "type": "personAddress",
- "label": "registrationapp.patient.address.question",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/personAddress"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement