darius
(Darius Jazayeri)
September 30, 2015, 12:49pm
9
I’m just peeking at the last 2 messages and not rereading the thread. I think you need to disable the extensions for the vitals and visit note forms, e.g.
"type": "link",
"label": "referenceapplication.task.simpleTransfer.label",
"url": "htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId={{patient.uuid}}&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/simpleTransfer.xml",
"icon": "icon-random",
"order": 51,
"requiredPrivilege": "Task: referenceapplication.simpleTransfer",
"require": "visit.active && visit.admitted"
},
{
"id": "referenceapplication.realTime.vitals",
"extensionPointId": "patientDashboard.visitActions",
"type": "link",
"label": "referenceapplication.app.capturevitals.title",
"url": "htmlformentryui/htmlform/enterHtmlFormWithSimpleUi.page?patientId={{patient.uuid}}&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/vitals.xml",
"icon": "icon-vitals",
"order": 52,
"requiredPrivilege": "Task: referenceapplication.vitals",
"require": "visit.active"
},
If the UI doesn’t let you do this, you can do it in code by calling AppFrameworkService.disableExtension()