Skip to content

(chore) Fix spelling typos in demo content#72

Merged
ibacher merged 3 commits into
openmrs:mainfrom
denniskigen:fix/spelling-typos-in-demo-content
May 13, 2026
Merged

(chore) Fix spelling typos in demo content#72
ibacher merged 3 commits into
openmrs:mainfrom
denniskigen:fix/spelling-typos-in-demo-content

Conversation

@denniskigen
Copy link
Copy Markdown
Member

Corrects 17 misspellings across drug names, concept names, and one program workflow name in the demo content. Each was cross-referenced against a correctly-spelled sibling row in the same file or, where no sibling existed, against the standard INN.

drugs/drugs-core_demo.csv

  • BromexhineBromhexine
  • DyphenhydramineDiphenhydramine (3 drug rows)
  • DypironeDipyrone
  • Ibuprofene Co 400mgIbuprofen Co 400mg (the row that prompted this PR)

concepts/drugs_concepts-core_demo.csv (Fully specified name:en, and matching :fr where the typo was identical)

  • ClonazepanClonazepam
  • DypironeDipyrone
  • IptratropiumIpratropium
  • MiconozoleMiconazole
  • OdansetronOndansetron
  • PropranalolPropranolol
  • IzsoniazideIsoniazide
  • IprotopiumIpratropium
  • SulphadiazeneSulphadiazine

concepts/covid-core_demo.csv

  • "Diarrea, Vomiting or Abdominal pain""Diarrhea, …" in both the concept's English name and the Answers reference that points at it. The Spanish columns retain Diarrea (the correct Spanish word).

concepts/diagnosis_core-demo.csv

  • Tuberculosis of the peritoniumTuberculosis of the peritoneum (both Fully specified name:en and Short name:en for ICD-10 A18.3).

concepts/programs_workflows_states_core-demo.csv

  • PMTCT row Fully specified name:en: …HIV transmissio…HIV transmission (the description column already had the correct spelling).

Not in this PR

Six typo'd rows in drugs_concepts-core_demo.csv are duplicates of correctly-spelled neighbor rows in the same file:

Line Typo'd name Correctly-spelled twin
136 Diphenidramine L135 Diphenhydramine
147 Dyphenhydramine L135 Diphenhydramine
263 Medroxyprojesterone acetate L262 Medroxyprogesterone Acetate
409 Someticone L401 Simethicone
412 Sprironolactone L411 Spironolactone
441 Trobramycin L431 Tobramycin

Renaming any of these would create a duplicate FSN with its neighbor, so they should be retired (Void/Retire = true) rather than renamed. Left for a follow-up so this PR can stay scoped to pure typo fixes.

Corrects 17 misspellings across drug names, concept names, and one program
workflow name. Each was cross-referenced against a correctly-spelled
sibling row in the same file or against the standard INN.

drugs/drugs-core_demo.csv:
- Bromexhine → Bromhexine
- Dyphenhydramine → Diphenhydramine (3 drug rows)
- Dypirone → Dipyrone
- Ibuprofene Co 400mg → Ibuprofen Co 400mg (the row that prompted this PR)

concepts/drugs_concepts-core_demo.csv (Fully specified name:en, and
matching :fr where the typo was identical):
- Clonazepan → Clonazepam
- Dypirone → Dipyrone
- Iptratropium → Ipratropium
- Miconozole → Miconazole
- Odansetron → Ondansetron
- Propranalol → Propranolol
- Izsoniazide → Isoniazide
- Iprotopium → Ipratropium
- Sulphadiazene → Sulphadiazine

concepts/covid-core_demo.csv:
- "Diarrea, Vomiting or Abdominal pain" → "Diarrhea, …" in both the
  concept's English name and the Answers reference that points at it.
  The Spanish columns retain "Diarrea" (the correct Spanish word).

concepts/diagnosis_core-demo.csv:
- "Tuberculosis of the peritonium" → "Tuberculosis of the peritoneum"
  (both Fully specified name:en and Short name:en for ICD-10 A18.3).

concepts/programs_workflows_states_core-demo.csv:
- PMTCT row Fully specified name:en: "…HIV transmissio" → "…HIV transmission"
  (the description column already had the correct spelling).

Not fixed in this PR: six typo'd rows in drugs_concepts-core_demo.csv
(Diphenidramine L136, Dyphenhydramine L147, Medroxyprojesterone acetate
L263, Someticone L409, Sprironolactone L412, Trobramycin L441) are
duplicates of correctly-spelled neighbor rows. Renaming them would
collide with the existing FSN, so they should be retired rather than
renamed — left for a follow-up.
Copy link
Copy Markdown
Collaborator

@VeronicaMuthee VeronicaMuthee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

38dcc101-d385-4771-b005-7ba9825ca0c6,,,Rifampicin,Rifampicine,Drug,N/A,,,
ab684df6-849b-42f7-84db-e4d974d3941c,,,Rifampicin & Isoniazide & Pyrazinamide,Rifampicine & Isoniazide & Pyrazinamide,Drug,N/A,,,
a75e7808-8b0a-4fbd-9ec9-244d632d71a8,,,Rifampicin & Izsoniazide & Ethambutol,Rifampicine & Izsoniazide & Ethambutol,Drug,N/A,,,
a75e7808-8b0a-4fbd-9ec9-244d632d71a8,,,Rifampicin & Isoniazide & Ethambutol,Rifampicine & Isoniazide & Ethambutol,Drug,N/A,,,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, I think the English is actually Isoniazid ref (and below "Rifampicine" is proper French, but "Rifampicin" in English).

Copy link
Copy Markdown
Member Author

@denniskigen denniskigen May 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — applied. Also extended the same en/fr split to L381 (Rifampicin & Isoniazide & PyrazinamideRifampicin & Isoniazid & Pyrazinamide in the en column) since it has the identical pattern.

Per review feedback: the prior fix changed "Izsoniazide" to "Isoniazide"
in both the en and fr columns, but the proper English INN is "Isoniazid"
(no trailing -e). The fr column correctly stays as "Isoniazide".

Matches the en/fr split already in use on adjacent rows
("Rifampicin" en vs "Rifampicine" fr).
The same en/fr split applies on L381 (Rifampicin & Isoniazide &
Pyrazinamide): "Isoniazid" is the English INN, "Isoniazide" the French.
L381 was pre-existing (not introduced by this PR), but the rule Ian
called out for L382 applies identically here.
@denniskigen denniskigen requested a review from bmamlin May 13, 2026 12:49
@ibacher ibacher merged commit 0163849 into openmrs:main May 13, 2026
2 checks passed
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.

3 participants