The API Gateway Microservice of the Smart Operating Block project.
The event broker
The Api Gateway Web Socket for automation scenario proposals.
The topic on which the automation scenario proposals are consumed.
Consume automation scenario proposals.
Accepts the following message:
The event with which the microservice proposes an automation scenario to support the usage of a Medical Technology.
{
"key": "MEDICAL_TECHNOLOGY_AUTOMATION_PROPOSAL_EVENT",
"data": {
"roomId": "string",
"medicalTechnologyType": "endoscope",
"ambientLightLux": 0,
"surgicalLightLux": 0
},
"dateTime": "string"
}
The topic on which the microservice send requests for automation scenarios already proposed or not.
Request an automation scenario to the microservice.
Accepts one of the following messages:
The event needed to request an automation scenario to adapt the environment to a medical technology usage. It's not needed a beforehand proposal, but the medical technology must be in use.
{
"key": "MEDICAL_TECHNOLOGY_AUTOMATION_REQUEST_EVENT",
"data": {
"roomId": "string",
"medicalTechnologyType": "endoscope"
},
"dateTime": "string"
}
The event needed to request a custom setup for the lights inside an operating room.
{
"key": "CUSTOM_LIGHT_SETUP_REQUEST_EVENT",
"data": {
"roomId": "string",
"ambientLightLux": 0,
"surgicalLightLux": 0
},
"dateTime": "string"
}
The event needed to stop the usage of the custom setup for the lights inside an operating room.
{
"key": "CUSTOM_LIGHT_STOP_REQUEST_EVENT",
"data": {
"roomId": "string"
},
"dateTime": "string"
}
The web socket channel in which the automation proposals are sent.
Send automation scenario proposals to web socket channel.
Accepts the following message:
The automation proposal message sent to the websocket.
{
"roomId": "string",
"medicalTechnologyType": "endoscope",
"ambientLightLux": 0,
"surgicalLightLux": 0
}
The event with which the microservice proposes an automation scenario to support the usage of a Medical Technology.
The event needed to request an automation scenario to adapt the environment to a medical technology usage. It's not needed a beforehand proposal, but the medical technology must be in use.
The event needed to request a custom setup for the lights inside an operating room.
The event needed to stop the usage of the custom setup for the lights inside an operating room.
The automation proposal message sent to the websocket.