FHIR Chat · Usual Occupation · Death on FHIR

Stream: Death on FHIR

Topic: Usual Occupation


view this post on Zulip Saul Kravitz (Jul 27 2021 at 17:34):

Hi @Velan --
The VRDR-Decedent-Employment-History resource looks like:

{
            "fullUrl": "urn:uuid:71f07469-f057-4ee7-aabc-f1462e952fd4",
            "resource": {
              "resourceType": "Observation",
              "id": "71f07469-f057-4ee7-aabc-f1462e952fd4",
              "meta": {
                "profile": [
                  "http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Decedent-Employment-History"
                ]
              },
              "status": "final",
              "code": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "21843-8",
                    "display": "History of Usual occupation"
                  }
                ]
              },
              "subject": {
                "reference": "urn:uuid:d4bcced1-4fe4-4284-93a0-23a4020942a0"
              },
              "valueCodeableConcept": {
                "coding": [
                  {
                    "code": "IT"
                  }
                ]
              },
              "component": [
                {
                  "code": {
                    "coding": [
                      {
                        "system": "http://loinc.org",
                        "code": "21844-6",
                        "display": "History of Usual industry"
                      }
                    ]
                  },
                  "valueCodeableConcept": {
                    "text": "IT"
                  }
                }
              ]
            }

Your input appears valid. We will investigate. (Ref: NVSS-202).

view this post on Zulip Sarah MacAdam (Aug 11 2021 at 16:56):

@Velan The reason for the error is the vrdr-dotnet library does not currently support converting occupation codes, only text literals. Your input is valid FHIR, but if you want to preserve the data in a conversion from fhir to IJE you will need to use

"valueCodeableConcept":

{ "text": "IT" }

in the Decedent-Employment-History-Observation


Last updated: Apr 12 2022 at 19:14 UTC