jsibley / convert-rmd-to-iniz

A tool for converting the payload of the OpenMRS Reference Metadata module into files compatible with the Initializer module.
0 stars 1 forks source link

3 concept definitions are throwing 'DuplicateConceptNameException' errors. #5

Closed jsibley closed 5 years ago

jsibley commented 5 years ago
ERROR - CsvParser.process(198) |2019-10-04 22:50:02,180| An OpenMRS object could not be constructed or saved from the following CSV line: 
[false, N/A, Finding, 879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, The sensation in the skin that encourages itching or scratching., null, Itching, Prurit, SNOMED CT:279333002;AMPATH:863;AMPATH:879;PIH:879;ICD-10-WHO:L29.9;CIEL:879;IMO ProblemIT:52810;IMO ProblemIT:52808, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null]
org.openmrs.api.DuplicateConceptNameException: 'Itching' is a duplicate name in locale 'en'
ERROR - CsvParser.process(198) |2019-10-04 22:50:02,504| An OpenMRS object could not be constructed or saved from the following CSV line: 
[false, N/A, Misc, 1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Generic answer to a question., null, True, Vrai, SNOMED CT:373066001;AMPATH:1065;PIH:1065;PIH Malawi:1065;CIEL:1065, Да, Verdadero, Vre, null, null, እወ, null, کسی سوال کا عام جواب, Yego, Vero, Verdadeiro, হ্যাঁ, ہاں, null, null, null, null, null, null, null, null]
org.openmrs.api.DuplicateConceptNameException: 'Verdadero' is a duplicate name in locale 'es'
ERROR - CsvParser.process(198) |2019-10-04 22:50:02,562| An OpenMRS object could not be constructed or saved from the following CSV line: 
[false, N/A, Misc, 1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, Generic answer to a question., null, False, Faux, SNOMED CT:373067005;AMPATH:1066;PIH:1066;PIH Malawi:1066;CIEL:1066, Нет, Falso, Fo, null, null, ኣይትጥቀምን, null, کسی سوال کا عام جواب, Muzima, Falso, Falso, না, نہیں, null, null, null, null, null, null, null, null]
org.openmrs.api.DuplicateConceptNameException: 'Falso' is a duplicate name in locale 'es'

Each of these definitions exists in these 3 generated CSV files: Reference_Application_Concepts.csv Reference_Application_Diagnoses.csv Reference_Application_Order_Entry_and_Allergies_Concepts.csv

jsibley commented 5 years ago

Fixed in commit 1c694e1b2cf1dfb7bd31662bec18136d24820b0c.