synthetichealth / synthea

Synthetic Patient Population Simulator
https://synthetichealth.github.io/synthea
Apache License 2.0
2.15k stars 645 forks source link

Deprecated snomed codes #902

Open ymohamad opened 3 years ago

ymohamad commented 3 years ago

There are some deprecated snomed codes, the FHIR validator reports an error if a resource references them:

Error: HTTP 422 Unprocessable Entity: Unknown code {http://snomed.info/sct}15777000 for 'http://snomed.info/sct#15777000' 15777000 is deprecated the correct code is http://snomed.info/sct#714628002

Error: HTTP 422 Unprocessable Entity: Unknown code {http://snomed.info/sct}698360004 for 'http://snomed.info/sct#698360004'

698360004 is deprecated the correct code is  http://snomed.info/sct#735985000
jawalonoski commented 3 years ago

Where exactly is this error coming from?

ymohamad commented 3 years ago

15777000 is in the files src/resources/gbd_disability_weights.csv and src/resources/metabolic_syndrome_care.json

698360004 is in the file: metabolic_syndrome_care.json

Looking for these codes on https://snomedbrowser.com/Codes/Details/15777000 results in the “ This concept has been deprecated”.

This error “Error: HTTP 422 Unprocessable Entity: Unknown code {http://snomed.info/sct#15777000” shows up, when I want to add any resource with these codes to a FHIR server with validator activated.

Error: HTTP 422 Unprocessable Entity: Unknown code {http://snomed.info/sct#15777000 for 'http://snomed.info/sct#15777000' 15777000 is deprecated the correct code is http://snomed.info/sct#714628002

            Error: HTTP 422 Unprocessable Entity: Unknown code {http://snomed.info/sct}698360004 for 'http://snomed.info/sct#698360004'

            698360004 is deprecated the correct code is  http://snomed.info/sct#735985000

From: Jason Walonoski @.> Sent: Monday, June 21, 2021 2:44 PM To: synthetichealth/synthea @.> Cc: Mohamad, Yehya @.>; Author @.> Subject: Re: [synthetichealth/synthea] Deprecated snomed codes (#902)

Where exactly is this error coming from?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/synthetichealth/synthea/issues/902#issuecomment-865002510, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJB2I3LROAXMLPTSWEFBP3TT4XZJANCNFSM465UTB3Q.

jawalonoski commented 3 years ago

Sorry, I know the codes are old and where to find them, I should have been more explicit -- I'm wondering what software is producing the error message.

Are you using a public FHIR server? If so, which one?

Adding a version to the codes may solve the issue (rather than updating all the codes in the system), but having a server or open-source validator that produced the error message you are seeing would be helpful for us to recreate the error and test a solution.

ymohamad commented 3 years ago

HAPI FHIR Server (https://hapifhir.io/) own installation with MariaDB as backend database – With FHIR validator activated.

From: Jason Walonoski @.> Sent: Monday, June 21, 2021 3:51 PM To: synthetichealth/synthea @.> Cc: Mohamad, Yehya @.>; Author @.> Subject: Re: [synthetichealth/synthea] Deprecated snomed codes (#902)

Sorry, I know the codes are old and where to find them, I should have been more explicit -- I'm wondering what software is producing the error message.

Are you using a public FHIR server? If so, which one?

Adding a version to the codes may solve the issue (rather than updating all the codes in the system), but having a server or open-source validator that produced the error message you are seeing would be helpful for us to recreate the error and test a solution.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/synthetichealth/synthea/issues/902#issuecomment-865049433, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJB2I6TY2ACKMXN76BSCA3TT47UTANCNFSM465UTB3Q.