User instructions that describe how to use Hospitals Block to build new mashups
Block's description
Movie showing Hospitals Block's functionalities and presenting HospFinder - the mashup which uses Hospitals Block
Operations:
getByCity
Function allows to search hospitals by location.
Parameters:
iCity - City from which hospitals will be listed - required
iState- State from which hospitals will be listed - 2 letter code e.g. TX for Texas - details in State abbreviations section below, optional
iAccrediatation - Should the hospital have accreditation? - yes/no, optional
iEmergencyService - Should the hospital have emergency service? - yes/no, optional
iInName - Text which must be contained in hospital's name, optional
Output:
CityHospital - custom object
getByMortality
Function allows to search hospitals by disease treatment.
Parameters:
iCondition - condition - Heart Attack/Heart Failure/Pneumonia, required
iSort - asc - if you want to get best hospitals, desc - if you want to get worst hospitals, required
iNumber - number of hospitals which will be returned (1-100), optional
Output:
MortalityHospital - custom object
getByName
Function allows to search hospitals by text contained in their names.
Parameters:
iInName - text which must contain hospital in it's name, required
iNumber - number of hospitals which will be returned (1-100), optional
Output:
CityHospital - custom object
getByPayment
Function allows to search hospitals by average payment for medical operations.
Parameters:
iGroupId - ID of the type of the operation (look Group IDs section)- e.g. 303 for kidney and bladder operations for cancer, required
iSort - asc - if you want to get cheapest hospitals, desc - if you want to get the most expensive hospitals, required
iNumber - number of hospitals which will be returned (1-100), optional
Output:
PaymentHospital - custom object
getByParam
Allows to call the function which name is in the first parameter.
Parameters:
iFunctionName - Name of the function which should be called (e.g. getByCity)
iFirst - Desired function's first argument
iSecond - Desired function's second argument
iThird - Desired function's third argument. If the desired function has less arguments, leave it empty.
iFourth - Desired function's fourth argument. If the desired function has less arguments, leave it empty.
iFifth - Desired function's fifth argument. If the desired function has less arguments, leave it empty.
Output:
FullHospital - custom object
Objects:
CityHospital
name - string
adddress1 - string
city - string
state - string
zipCode - string
countryName - string
phoneNumber - string
hospitalType - string
hospitalOwner - string
accreditation - string
emergencyService - string
MortalityHospital
name - string
condition - string
mortalityRate - string - the risk adjusted rate (percentage) for each hospital
lowerMortality - string - the lower bound (Interval Estimate) for each hospital's risk-adjusted rate.
upperMortality - string - the upper bound (Interval Estimate) for each hospital's risk-adjusted rate
numberOfPatients - string - the number of Medicare patients treated for Heart Attack, Heart Failure or Pneumonia by the hospital
adddress1 - string
city - string
state - string
zipCode - string
countryName - string
phoneNumber - string
hospitalType - string
hospitalOwner - string
accreditation - string
emergencyService - string
PaymentHospital
name - string
diagnosisRelatedGroupName - string - the name of each Diagnosis Related Group
medicalAveragePayment - string - the average Medicare payment for each Diagnosis Related Group
numberOfCases - string - the number of cases for each Diagnosis Related Group where data is available (more than 11 cases).
adddress1 - string
city - string
state - string
zipCode - string
countryName- string
phoneNumber - string
hospitalType - string
hospitalOwner - string
accreditation - string
emergencyService - string
FullHospital
name - string
diagnosisRelatedGroupName - string - the name of each Diagnosis Related Group
medicalAveragePayment - string - the average Medicare payment for each Diagnosis Related Group
numberOfCases - string - the number of cases for each Diagnosis Related Group where data is available (more than 11 cases).
condition - string
mortalityRate - string - the risk adjusted rate (percentage) for each hospital
lowerMortality - string - the lower bound (Interval Estimate) for each hospital's risk-adjusted rate.
upperMortality - string - the upper bound (Interval Estimate) for each hospital's risk-adjusted rate
numberOfPatients - string - the number of Medicare patients treated for Heart Attack, Heart Failure or Pneumonia by the hospital
adddress1 - string
city - string
state - string
zipCode - string
countryName- string
phoneNumber - string
hospitalType - string
hospitalOwner - string
accreditation - string
emergencyService - string
User instructions that describe how to use Hospitals Block to build new MashUps
1. Add Hospital Block to your Mashup.

2. Double-click on the block, select getByMortality and set inputs.

3. Click "Run". Results should be presented in your browser's window.

4. Now let's try to make more advanced Mashup. Add VirtualEarth Block and GeoNames Block, thend create connections between blocks like on the screenshot.

5. Select operations and set inputs of each block.



6. Click "Run" and look at the results.

Of course, you can make Mashup showing more than one pushpin on the map.
Let's assume that you want to find the best 20 hospitals for the pneumonia treatment.
Just executemake the first four points from the first part of this instruction, select operations and set inputs like on these screenshots:



After running Mashup, you will see:

Group IDs:
549 Heart Bypass Surgery with Complications or Preexisting Conditions
105 Heart Valve Operations
550 Heart Bypass Surgery
536 Insertion of Heart Defibrillator with Examination of Heart through a Catheter
558 Angioplasty Procedures and Insertion of Drug Coated Stent into Heart Artery
520 Neck Fusion to Join Neck Bones
515 Insertion of Heart Defibrillator
519 Neck Fusion to Join Bones with Complications or Preexisting Conditions
471 Two or More Hip, Knee or Ankle Operations
498 Back Fusion to Join Spine Bones, not Neck
497 Back Fusion to Join Spine Bones, not Neck, with Complications or Preexisting Conditions
499 Back & Neck Operations Except Back or Neck Fusion with Complications or Preexisting Conditions
304 Kidney and Bladder Operations with Complications or Preexisting Conditions
500 Back & Neck Operations Except Back or Neck Fusion
534 Head and Neck Blood Vessel Operations
216 Sample of Bone Removed for Evaluation of Cancer, Infections or Other Bone Disorders
303 Kidney and Bladder Operations for Cancer
110 Major Heart and Blood Vessel Procedures with Complications or Preexisting Conditions
233 Other Bone, Joint & Organ Operations with Complications or Preexisting Conditions
337 Removal of Prostate Via Urethra
567 Stomach and Esophagus Operations in Adults with Complications or Preexisting Conditions with Major Gastrointestinal Condition
160 Hernia Operations in Adults
315 Other Kidney & Urinary Tract Operations
336 Removal of Prostate Via Urethra with Complications or Preexisting Conditions
568 Stomach and Esophagus Operations in Adults with Complications or Preexisting Conditions without Major Gastrointestinal Condition
223 Major Arm & Shoulder Operations with Complications or Preexisting Conditions
552 Pacemaker Implant
356 Female Reproductive System Reconstructive Operations
545 Repair of Previous Hip or Knee Replacement
310 Other Bladder Operations Via the Urethra with Complications or Preexisting Conditions
159 Hernia Operations in Adults with Complications or Preexisting Conditions
359 Uterus & Ovary Operations
149 Major Small & Large Intestine Operations
197 Gallbladder Removal Except By (non) Laparoscope with Complications or Preexisting Conditions
494 Gallbladder Removal By Laparoscope
570 Major Small and Large Intestine Operations with Complications or Preexisting Conditions without Major Gastrointestinal Condition
121 Heart Attack with Major Complications
493 Gallbladder Removal by Laparoscope with Complications or Preexisting Conditions
544 Replacement of Hip, Knee or Ankle or Reattachment of Thigh, Foot or Ankle
569 Major Small and Large Intestine Operations with Complications or Preexisting Conditions with Major Gastrointestinal Condition
143 Chest Pain
122 Heart Attack without Complications
88 Chronic Lung Disease
294 Diabetes in Adults
127 Heart Failure
89 Pneumonia and Pleurisy in Adults With Complications or Preexisting Conditions
State abbreviations
Alabama AL
Alaska AK
Arizona AZ
Arkansas AR
California CA
Colorado CO
Connecticut CT
Delaware DE
District of Columbia DC
Florida FL
Georgia GA
Hawaii HI
Idaho ID
Illinois IL
Indiana IN
Iowa IA
Kansas KS
Kentucky KY
Louisiana LA
Maine ME
Maryland MD
Massachusetts MA
Michigan MI
Minnesota MN
Mississippi MS
Missouri MO
Montana MT
Nebraska NE
Nevada NV
New Hampshire NH
New Jersey NJ
New Mexico NM
New York NY
North Carolina NC
North Dakota ND
Ohio OH
Oklahoma OK
Oregon OR
Pennsylvania PA
Rhode Island RI
South Carolina SC
South Dakota SD
Tennessee TN
Texas TX
Utah UT
Vermont VT
Virginia VA
Washington WA
West Virginia WV
Wisconsin WI
Wyoming WY