synthetichealth / synthea

Synthetic Patient Population Simulator

Home Page:https://synthetichealth.github.io/synthea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script to update code displays

dehall opened this issue · comments

Requested Feature

Given the recent change to tx.fhir.org that a code display not matching is now an error instead of a warning (ref: https://chat.fhir.org/#narrow/stream/179294-committers.2Fannounce/topic/Coding.2Edisplay.20change/near/357558577 ), we should try to better keep up with changes to terminology, so that someone validating a Synthea patient doesn't get inundated with errors. Right now this is a painfully manual process of running some sample patients through the validator and seeing what errors we get. We should create a script or some other mechanism that will:

  1. scan all codes used in the modules
  2. check the display text against the preferred text for the code system
  3. either update the module directly if it doesn't match, or provide a list of necessary changes that a user can apply

Implemented in #1407