synthea icon indicating copy to clipboard operation
synthea copied to clipboard

Script to update code displays

Open dehall opened this issue 1 year ago • 0 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

dehall avatar May 25 '23 19:05 dehall