SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Occupation is not reported from the doctor's notification. Doctor's notification. Pertussis

Open Christophe-SF opened this issue 3 months ago • 3 comments

Bug Description

When a doctor's notification includes the occupation of the case it is not reported in the occupation field of CASE PERSON.

Reproduction Steps

  1. Process a doctor's notification for pertussis (which includes an occupation) 2.The corresponding field in CASE PERSON is empty ...

Expected Behavior

The OCCUPATION field in CASE PERSON is meant to be a dropdown list with occupation relevant to the disease epidemiology (e.g. health worker, sex worker, veterinarian...). It should be completed by a OCCUPATION DETAILS field. Regarding Pertussis the OCCUPATION list would be set to other and the occupation from the doctor's notification would be mapped to the OCCUPATION DETAILS field.

Affected Area(s)

Web app

SORMAS Version

1.103.0

Android version/Browser

Chrome

User Role(s)

Nat User

Server URL

Test2

Additional Information

No response

Christophe-SF avatar Nov 24 '25 11:11 Christophe-SF

It seems that the occupations are implemented. The problem is that on test2 the default occupations are not visible. For the doctor declaration the occupation should be set to OTHER with Please specify the occupation having the text from the DD.

raulbob avatar Nov 24 '25 16:11 raulbob

@KarnaiahPesula please if you can check why on test2 the occupations are not shown.

raulbob avatar Nov 24 '25 16:11 raulbob

All occupations were inactive, thats why they were not visible. After activating them, everything is working as expected.

Image

KarnaiahPesula avatar Nov 25 '25 15:11 KarnaiahPesula