@@ -65,6 +65,37 @@ CONFIG = {
6565 {
6666 path : '/smart' ,
6767 display : 'Flux Notes™' ,
68+ app : "SmartPilot2MvpApp" ,
69+ isExact : true ,
70+ dataSource : 'GenericSmartOnFhirDstu2DataSource' ,
71+ shortcuts : [ ] ,
72+ dataSourceProps : {
73+ mapper : 'CernerSandboxMapper' ,
74+ resourceTypes : [ 'Patient' , 'Condition' , 'Encounter' , 'MedicationOrder' , 'Observation' , 'Procedure' ]
75+ } ,
76+ } ,
77+ {
78+ path : '/launchmcode' ,
79+ display : 'Flux' ,
80+ app : "LaunchPage" ,
81+ isExact : true ,
82+ launchContext : {
83+ client : {
84+ client_id : '6c12dff4-24e7-4475-a742-b08972c4ea27' ,
85+ scope : 'patient/*.read user/*.* openid profile' ,
86+ // note: the redirect_uri below may need to change in different environments.
87+ // a relative URL (ex. /smart or ../smart) won't work in IE
88+ redirect_uri : 'http://localhost:3000/smartmcode'
89+ } ,
90+ // uncomment the 'server' field below
91+ // to override the iss parameter from the SMART launch process
92+ // (aka, the server listed here can be used as a 'shim')
93+ // server: "http://localhost:3001/1_0_2"
94+ }
95+ } ,
96+ {
97+ path : '/smartmcode' ,
98+ display : 'Flux Notes™' ,
6899 app : "SmartFullApp" ,
69100 isExact : true ,
70101 dataSource : 'McodeV09SmartOnFhirDataSource' ,
@@ -289,7 +320,7 @@ CONFIG = {
289320 {
290321 path : '/mvp' ,
291322 display : 'Flux Notes™' ,
292- app : "Pilot2MvpApp " ,
323+ app : "SmartPilot2MvpApp " ,
293324 isExact : true ,
294325 dataSource : 'HardCodedMcodeV09DataSource' ,
295326 patientId : '788dcbc3-ed18-470c-89ef-35ff91854c7f' ,
0 commit comments