Skip to content

Instantly share code, notes, and snippets.

@ssmusoke
Last active June 8, 2017 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssmusoke/e7b1173f204ca4eeade4736d7af093f3 to your computer and use it in GitHub Desktop.
Save ssmusoke/e7b1173f204ca4eeade4736d7af093f3 to your computer and use it in GitHub Desktop.
{
"id": "referenceapplication.registrationapp.registerPatient2",
"instanceOf": "registrationapp.registerPatient",
"label": "Test Register Patient",
"description": "Test Register Patient",
"extensions": [
{
"id": "referenceapplication.registrationapp.registerPatient.homepageLink2",
"extensionPointId": "org.openmrs.referenceapplication.homepageLink",
"type": "link",
"label": "Test Register Patient",
"url": "registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.registerPatient2",
"icon": "icon-user",
"order": 1,
"requiredPrivilege": "App: registrationapp.registerPatient"
}
],
"config": {
"afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
"sections": [
{
"id": "TestID",
"label": "Test Identifier",
"questions": [
{
"legend": "Test Identifier",
"fields": [
{
"type": "patientIdentifier",
"label": "Enter the Test Identifier which is not required",
"formFieldName": "testIdentifier",
"uuid": "642c70f5-7342-4a67-8b3d-7e52ce082679",
"widget": {
"providerName": "uicommons",
"fragmentId": "field/text"
}
}
]
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment