Skip to content

Commit d2a16fc

Browse files
Add Demo SMART App inside patient chart (#9)
1 parent 995f2f4 commit d2a16fc

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

omod/src/main/resources/apps/findpatient_app.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
3-
"id": "coreapps.smartRedirect",
4-
"description": "Basic patient search, by ID or Name (using OpenMRS's standard patient search)",
3+
"id": "smartapps.smartPatientChartRedirect",
4+
"description": "Smart App launch",
55
"order": 2,
66
"extensions": [
77
{
8-
"id": "coreapps.activeVisitsHomepageLink",
8+
"id": "smartapps.smartAppPatientChartLaunch",
99
"extensionPointId": "patientDashboard.overallActions",
1010
"type": "link",
11-
"label": "coreapps.findPatient.app.label",
11+
"label": "Demo SMART App",
1212
"url": "ms/smartEhrLaunchServlet?app=smart_client&patientId={{patient.uuid}}",
13-
"icon": "icon-search",
14-
"requiredPrivilege": "App: coreapps.findPatient"
13+
"icon": "icon-hdd",
14+
"requiredPrivilege": "App: smartonfhir:smartAppPatientChartLaunch"
1515
}
1616
]
1717
}

omod/src/main/resources/config.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,10 @@
137137
<name>App: smartonfhir.demoappHomepageLink</name>
138138
<description>Demo smart app</description>
139139
</privilege>
140+
141+
<privilege>
142+
<name>App: smartonfhir:smartAppPatientChartLaunch</name>
143+
<description>Demo SMART app launch inside patient chart</description>
144+
</privilege>
140145
</module>
141146

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@
612612
<lombokVersion>1.18.12</lombokVersion>
613613
<openmrsPlatformVersion>2.3.0</openmrsPlatformVersion>
614614
<openmrsPlatformToolsVersion>2.3.0</openmrsPlatformToolsVersion>
615-
<keycloakVersion>10.0.1</keycloakVersion>
615+
<keycloakVersion>12.0.0</keycloakVersion>
616616
<uiframeworkVersion>3.15.0</uiframeworkVersion>
617617
<appframeworkVersion>2.9</appframeworkVersion>
618618
<appuiVersion>1.7</appuiVersion>

0 commit comments

Comments
 (0)