Mashup Code Sample - Healthcare Mashup
The Healthcare mashup demonstrates a micro-application that enables hospitals to compare various sources of revenue based on surgery procedures. Hospitals are also able to evaluate revenue and profitability based on different hospital shifts and teams.
Even if you aren't in the healthcare industry, this is some great example code to learn from!
You can download the mashup code below. Make sure you get all 3 files ('PrestoHealthcare.zip', 'PrestoHealthcare_mashlets.zip', and 'readme.txt') ; check out the 'readme'txt' for installation instructions.
You can watch a video of the Healthcare Mashup at http://www.jackbe.com/enterprise-mashup/demo/mashup-demo-presto-healthcare (or on YouTube at http://www.youtube.com/watch?v=V4_zqMDqT8c).
- Login or register to post comments
- Email this page











<!--[if gte mso 9]><!--[if gte mso 10]>
<![endif]-->
I have downloaded the code for Presto Healthcare demo, both zip files from the above link:
I was able to deploy the app according to instructions (step 1 through 5 plus importing services) stated in readme.txt file. Then I pointed to http://localhost:8080/PrestoHealthcare/, the page shows up with header and footer. When I clicked on a tab, ‘Sibley’ for example, nothing happens. I looked at the trace and it says:
"JC is not defined".
In index file JavaScript function getData(hospital) invoked : JC.Mashlet.getMashletsByName("PHProductivity")[0].getMashlet( hospital );
Apparently the file it is looking for is "#{prestoResources}/common/js/JC, which I could not find in the bundle. I am working with Firefox 3.0.19. I was wondering if I am missing something. Any suggestions will be greatly appreciated
Thanks
Sakeba
Hello sakeba,
I looked into your issue. The JC files are missing and we are working to upload them. We will update the example to include those files and then we will notify you so you can re-download the updated example.
Regards
Jorge Carmona
Thanks Jorge for looking into it!
Regards
Sakeba
Hi Sakeba,
Jorge has updated the zip file with a new code base for all the mashlets. All you need to do is install the zip file and there should be no conflicts with the current mashlets you have installed. The complete install instructions are included in the read me file also attached. If you want to clean out your repository of the older mashlets, all you need to do is visit Mashlet Maker, explore mashlets and delete the older mashlets.
I hope this helps.
Thanks!
Jessica
Hi Jessica,
Thank you so much! I tried the new code base and that worked fine with the pre-installed mashlets. Thanks for the effort put forth by Jorge as well. Your prompt action is profoundly appreciated!
Regards,
Sakeba