73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:Hospital",
|
|
"title": "Hospital",
|
|
"description": "A hospital.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "A public structure, such as a town hall or concert hall.",
|
|
"$ref": "schema:CivicStructure"
|
|
},
|
|
{
|
|
"description": "An emergency service, such as a fire station or ER.",
|
|
"$ref": "schema:EmergencyService"
|
|
},
|
|
{
|
|
"description": "A medical organization (physical or not), such as hospital, institution or clinic.",
|
|
"$ref": "schema:MedicalOrganization"
|
|
}
|
|
],
|
|
"properties": {
|
|
"availableService": {
|
|
"description": "A medical service available from this provider.",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "$ref": "schema:MedicalProcedure" },
|
|
{ "$ref": "schema:MedicalTest" },
|
|
{ "$ref": "schema:MedicalTherapy" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "$ref": "schema:MedicalProcedure" },
|
|
{ "$ref": "schema:MedicalTest" },
|
|
{ "$ref": "schema:MedicalTherapy" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"healthcareReportingData": {
|
|
"description": "Indicates data describing a hospital, e.g. a CDC [[CDCPMDRecord]] or as some kind of [[Dataset]].",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "$ref": "schema:CDCPMDRecord" },
|
|
{ "$ref": "schema:Dataset" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "$ref": "schema:CDCPMDRecord" },
|
|
{ "$ref": "schema:Dataset" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"medicalSpecialty": {
|
|
"description": "A medical specialty of the provider.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:MedicalSpecialty" },
|
|
{ "type": "array", "items": { "$ref": "schema:MedicalSpecialty" } }
|
|
]
|
|
}
|
|
}
|
|
}
|