GETGet Hospital
https://api-hospitals.dataandapis.com/v1/hospitals/{ccn}
Parâmetros de caminho
| Parâmetro | Exemplo | |
|---|---|---|
| ccn | 050625 | Obrigatório |
Exemplo de requisição
curl "https://api-hospitals.dataandapis.com/v1/hospitals/050625" \
-H "X-Api-Key: YOUR_API_KEY"// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.hospitals.getHospital({ ccn: "050625" });# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.hospitals.get_hospital(ccn="050625")Exemplo de resposta{
"ccn": "050625",
"name": "CEDARS-SINAI MEDICAL CENTER",
"address": {
"street": "8700 BEVERLY BLVD",
"city": "LOS ANGELES",
"state": "CA",
"zip": "90048",
"county": "LOS ANGELES"
},
"phone": "(310) 423-3277",
"type": "Acute Care Hospitals",
"ownership": "Voluntary non-profit - Private",
"emergencyServices": true,
"overallRating": 5,
"latitude": 34.0757,
"longitude": -118.3803,
"beds": 886,
"birthingFriendly": true,
"measureGroups": {
"mortality": {
"measures": 8,
"better": 3,
"no_different": 5,
"worse": 0
},
"safety": {
"measures": 8,
…
Ver resposta completa
{
"ccn": "050625",
"name": "CEDARS-SINAI MEDICAL CENTER",
"address": {
"street": "8700 BEVERLY BLVD",
"city": "LOS ANGELES",
"state": "CA",
"zip": "90048",
"county": "LOS ANGELES"
},
"phone": "(310) 423-3277",
"type": "Acute Care Hospitals",
"ownership": "Voluntary non-profit - Private",
"emergencyServices": true,
"overallRating": 5,
"latitude": 34.0757,
"longitude": -118.3803,
"beds": 886,
"birthingFriendly": true,
"measureGroups": {
"mortality": {
"measures": 8,
"better": 3,
"no_different": 5,
"worse": 0
},
"safety": {
"measures": 8,
…{
"ccn": "050625",
"name": "CEDARS-SINAI MEDICAL CENTER",
"address": {
"street": "8700 BEVERLY BLVD",
"city": "LOS ANGELES",
"state": "CA",
"zip": "90048",
"county": "LOS ANGELES"
},
"phone": "(310) 423-3277",
"type": "Acute Care Hospitals",
"ownership": "Voluntary non-profit - Private",
"emergencyServices": true,
"overallRating": 5,
"latitude": 34.0757,
"longitude": -118.3803,
"beds": 886,
"birthingFriendly": true,
"measureGroups": {
"mortality": {
"measures": 8,
"better": 3,
"no_different": 5,
"worse": 0
},
"safety": {
"measures": 8,
"better": 4,
"no_different": 4,
"worse": 0
},
"readmission": {
"measures": 11,
"better": 2,
"no_different": 8,
"worse": 1
},
"patient_experience": {
"measures": 15,
"better": null,
"no_different": null,
"worse": null
},
"timely_effective": {
"measures": 9,
"better": null,
"no_different": null,
"worse": null
}
},
"trauma": "LEVEL I",
"helipad": true,
"website": "https://www.cedars-sinai.org",
"countyFips": "06037",
"facilityOwner": "NON-PROFIT",
"geoMatched": true
}



