SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 142 forks source link

New gateway for transferring hospitalization data from PIA into SORMAS. #4983

Open jkheise opened 3 years ago

jkheise commented 3 years ago

Situation Description

Hospitalization data can be entered into SORMAS for cases. grafik

Feature Description

In PIA, there will be a questionnaire to ask for hospitalization data of cases. The variables will be exactly the same as in SORMAS. These variables are to be transferred from PIA to SORMAS. A new gateway is needed for this.

jkheise commented 3 years ago

@FredrikSchaeferVitagroup @ghdoergeloh

FredrikSchaefer commented 3 years ago

Okay, that's quite a big thing. @jkheise One first question: is one hospital supposed to report to one health department (one sormas instance), or to several different ones?

jkheise commented 3 years ago

@FredrikSchaeferVitagroup It is supposed to be a user of SORMAS-SB, i.e. a case or a contact person who gives the information, which is then transmitted in SORMAS. Similar to the symptom transfer. Then it would refer to one specific SORMAS instance.

FredrikSchaefer commented 3 years ago

@ghdoergeloh @jkheise Okay, so we do everything as for the symptom diary (registration of persons etc..), just along with PIA uploading visits, there should be a way to transfer hospitalization data for a person?

One problem I see here is that the communication between PIA and SORMAS is person based. Hospitalization data is case specific. So PIA will send hospitalization data along with a person UUID. Shall SORMAS then attach the hospitalization data to the last created case of that person?

FredrikSchaefer commented 3 years ago

@jkheise Also, should it be indicated in SORMAS whether the hospitalization data was transferred from SORMAS-SB or not? One could, for example, show a small non-editable checkbox in the SORMAS-UI saying: Hopsitalization data transferred from external system. This would align with the visits data where it shows when the visit was uploaded from an external symptom journal like PIA.

jkheise commented 3 years ago

@FredrikSchaeferVitagroup yes, the person (cases) using SORMAS-SB for symptom transmission should also have the ability to transmit hospital data in addition to symptoms. Thus, there should be no new registration for this. It is only intended to be an additional questionnaire to the symptom questionnaire or even integratet in the symptom questionnaire.

jkheise commented 3 years ago

@FredrikSchaeferVitagroup your idea with the checkbox in the UI saying if the information is uploaded from an external symptom diary is great.

FredrikSchaefer commented 3 years ago

Then I would propose to

Use the EntryOrigin for visits (as before was used the VisitOrigin) and hospitalizations. This means to

Provide a new POST API endpoint [server-url]/hospitalizations-external/hospitalizations . This means to