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). 

5
Your rating: None Average: 5 (3 votes)
"JC is not defined" Error




<!--[if gte mso 9]>

Normal
0


false
false
false







MicrosoftInternetExplorer4

<![endif]--><!--[if gte mso 9]>


<![endif]-->

<!--[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

 

Posted by sakeba on Fri, 04/02/2010 - 09:50
Hello sakeba, I looked into

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

Posted by jorge.carmona on Mon, 04/05/2010 - 13:08
Thanks

Thanks Jorge for looking into it!

Regards

Sakeba

Posted by sakeba on Mon, 04/05/2010 - 13:57
Updates Presto Healthcare File Update

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  

Posted by jess on Tue, 04/06/2010 - 13:56
Hi Jessica, Thank you so

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

Posted by sakeba on Tue, 04/06/2010 - 16:48