Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Diagnose Field nameDesProblemsDerDiagnose cannot be set #80

Open
7 tasks
kksommer opened this issue Sep 17, 2020 · 0 comments
Open
7 tasks

Template Diagnose Field nameDesProblemsDerDiagnose cannot be set #80

kksommer opened this issue Sep 17, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kksommer
Copy link

Steps to reproduce

Within the process of creating a sample form based on the openehr-sdk (https://github.com/ehrbase/num_platform/issues/13) with the template Diagnosis (CKM Diagnose), problems were encountered to fill in the field nameDesProblemsDerDiagnoseValue.

Actual result

When nameDesProblemsDerDiagnoseValue was set like "nameDesProblemsDerDiagnoseValue": "Kopfschmerzen",, the following error occured:

"Wrong Status code. Expected: [200, 201, 204]. Got: 400. Error message: {"error":"org.ehrbase.validation.constraints.wrappers.ValidationException: :-Validation error at /content[openEHR-EHR-EVALUATION.problem_diagnosis.v1]/data[at0001]/items[at0002]:Validation error at /content[openEHR-EHR-EVALUATION.problem_diagnosis.v1]/data[at0001]/items[at0002], TEXT01:Value does not match any defined codes,found:com.nedap.archie.rm.datavalues.DvText@fead6ffb.\n\n","status":"Bad Request"}"

Expected result

Because nameDesProblemsDerDiagnose is DV_Text, it should be possible to enter a diagnosis as text.

Success criteria

  • The defect has been fixed
  • The defect is checked by an unit or an integration test (Robot)
  • Merge Request approved
  • Unit tests passed
  • Build without errors
  • Release notes prepared
  • Runtime warnings
@kksommer kksommer added the bug Something isn't working label Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants