synthea icon indicating copy to clipboard operation
synthea copied to clipboard

Invalid SNOMED code in some SDoH HRSN Condition resources

Open gotdan opened this issue 11 months ago • 2 comments

What happened?

FHIR resources for conditions coming from the SDoH HRSN module with a code of 5251000175109 Received certificate of high school equivalency (finding) are failing FHIR validation since the code is in the US SNOMED CT edition and is not in the international SNOMED CT edition. It should have a version that specifies the US edition http://snomed.info/sct/731000124108 (see Zulip discussion).

Example invalid resource:

{
      "resourceType": "Condition",
      "id": "03658e50-6a8c-f954-69b8-7062c1ba4755",
      "clinicalStatus": {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code": "active"
        } ]
      },
      "verificationStatus": {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
          "code": "confirmed"
        } ]
      },
      "category": [ {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-category",
          "code": "encounter-diagnosis",
          "display": "Encounter Diagnosis"
        } ]
      } ],
      "code": {
        "coding": [ {
          "system": "http://snomed.info/sct",
          "code": "5251000175109",
          "display": "Received certificate of high school equivalency (finding)"
        } ],
        "text": "Received certificate of high school equivalency (finding)"
      },
      "subject": {
        "reference": "urn:uuid:6f138b94-eb54-38f0-9925-85f85d7b6372"
      },
      "encounter": {
        "reference": "urn:uuid:f143b2a7-4200-c57e-8cb0-45ea878fb822"
      },
      "onsetDateTime": "1988-08-09T10:47:16-04:00",
      "recordedDate": "1988-08-09T10:47:16-04:00"
}

Example valid resource:

{
      "resourceType": "Condition",
      "id": "03658e50-6a8c-f954-69b8-7062c1ba4755",
      "clinicalStatus": {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code": "active"
        } ]
      },
      "verificationStatus": {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
          "code": "confirmed"
        } ]
      },
      "category": [ {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/condition-category",
          "code": "encounter-diagnosis",
          "display": "Encounter Diagnosis"
        } ]
      } ],
      "code": {
        "coding": [ {
          "system": "http://snomed.info/sct",
          "version": "http://snomed.info/sct/731000124108",
          "code": "5251000175109",
          "display": "Received certificate of high school equivalency (finding)"
        } ],
        "text": "Received certificate of high school equivalency (finding)"
      },
      "subject": {
        "reference": "urn:uuid:6f138b94-eb54-38f0-9925-85f85d7b6372"
      },
      "encounter": {
        "reference": "urn:uuid:f143b2a7-4200-c57e-8cb0-45ea878fb822"
      },
      "onsetDateTime": "1988-08-09T10:47:16-04:00",
      "recordedDate": "1988-08-09T10:47:16-04:00"
}

gotdan avatar Mar 19 '24 18:03 gotdan

it's not a different system (per the zulip thread), it's the right snomed version

grahamegrieve avatar Mar 19 '24 19:03 grahamegrieve

Thanks, I updated the bug to reflect this

gotdan avatar Mar 19 '24 19:03 gotdan

This should be resolved with #1434.

jawalonoski avatar Apr 29 '24 21:04 jawalonoski