Skip to content

NgSurvey integration #13885

Draft
Pa-Touche wants to merge 68 commits intodevelopmentfrom
feat/13832-ngsurvey-integration-external-api
Draft

NgSurvey integration #13885
Pa-Touche wants to merge 68 commits intodevelopmentfrom
feat/13832-ngsurvey-integration-external-api

Conversation

@Pa-Touche
Copy link
Contributor

Fixes #

Check at the entity converter that performs lookups which are mocked in tests.
Breaks unit tests because some permission is missing:

de.symeda.sormas.api.utils.ValidationRuntimeException: The following user right(s) are required based on other user right(s): <br> <b>[Edit surveys]</b> required by 'EXTERNAL_MESSAGE_SURVEY_RESPONSE_PROCESS'<br><b>[View surveys]</b> required by 'EXTERNAL_MESSAGE_SURVEY_RESPONSE_PROCESS'<br><b>[Create surveys]</b> required by 'EXTERNAL_MESSAGE_SURVEY_RESPONSE_PROCESS'<br><b>[Delete surveys]</b> required by 'EXTERNAL_MESSAGE_SURVEY_RESPONSE_PROCESS'<br><b>[View survey tokens]</b> required by 'EXTERNAL_MESSAGE_SURVEY_RESPONSE_PROCESS'<br>
Now creating structure to display it.
@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f04044f9-07d4-4e6d-930d-a8d6c0afa91c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/13832-ngsurvey-integration-external-api
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can customize the high-level summary generated by CodeRabbit.

Configure the reviews.high_level_summary_instructions setting to provide custom instructions for generating the high-level summary.

@Pa-Touche Pa-Touche changed the title Feat/13832 ngsurvey integration external api NgSurvey integration Mar 17, 2026
@Pa-Touche
Copy link
Contributor Author

Used (unique) fields that I found on first attempt:

[
'CaseData.additionalDetails',
'CaseData.additionalDetails.otherConditions',
'CaseData.healthConditions.',
'CaseData.healthConditions.chronicHeartFailure',
'CaseData.healthConditions.chronicNeurologicCondition',
'CaseData.healthConditions.immunodeficiencyOtherThanHiv',
'CaseData.healthConditions.recurrentBronchiolitis',
'CaseData.hospitalization.admissionDate',
'CaseData.hospitalization.admittedToHealthFacility',
'CaseData.hospitalization.currentlyHospitalized',
'CaseData.hospitalization.dischargeDate',
'CaseData.hospitalization.dischargeDate - admissionDate',
'CaseData.hospitalization.healthFacility',
'CaseData.hospitalization.healthFacilityDetails',
'CaseData.hospitalization.icuAdmission',
'CaseData.hospitalization.icuLengthOfStay',
'CaseData.hospitalization.oxygenTherapy',
'CaseData.sequelae',
'CaseData.symptoms.abdominalPain',
'CaseData.symptoms.cough',
'CaseData.symptoms.dehydration',
'CaseData.symptoms.diarrhea',
'CaseData.symptoms.dyspnea',
'CaseData.symptoms.fever',
'CaseData.symptoms.lossOfAppetite',
'CaseData.symptoms.nausea',
'CaseData.symptoms.onsetDate',
'CaseData.symptoms.otherNonHemorrhagicSymptoms',
'CaseData.symptoms.reoccurrence',
'CaseData.symptoms.retractions',
'CaseData.symptoms.runnyNose',
'CaseData.symptoms.vomiting',
'CaseData.symptoms.weakness',
'CaseData.symptoms.wheezing',
'CaseData.treatmentStarted',
'CaseData.vaccinationStatus',
'CaseData.vaccinationStatusDetails',
'EpiData.sexualTransmissionSuspected',
'Hospitalization.admissionDate',
'Hospitalization.admittedToHealthFacility',
'Hospitalization.description',
'Hospitalization.dischargeDate',
'Person.address.country',
'Person.birthWeight',
'Person.birthWeightCategory',
'Person.birthdate',
'Person.birthdateDD/MM/YYYY',
'Person.educationDetails',
'Person.educationType & Person.educationDetails',
'Person.firstName',
'Person.gestationalAgeCategory',
'Person.lastName',
'Person.multipleBirth',
'Person.occupationDetails',
'Person.occupationType',
'Person.personContactDetails.details',
'Person.sex',
'Person.workPlace',
'Person.workPlace & Person.workPlaceText ',
'Person.workPlaceText ',
'PersonContactDetail.details',
'Symptoms.cough',
'Symptoms.endDate',
'Symptoms.fever',
'Symptoms.onsetDate',
'Symptoms.otherNonHemorrhagicSymptoms',
'additionalDetails',
'directContactConfirmedCase',
'exposureDetails',
'medicationDetails'
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant