FHIR Chat · using genderIdentity extension · implementers

Stream: implementers

Topic: using genderIdentity extension


view this post on Zulip Maria Hu (Feb 28 2019 at 20:09):

Applied extension genderIdentity in the resourcePatient, but keeps encountering validation failure:
"Resolution of profile at 'http://hl7.org/fhir/StructureDefinition/patient-genderIdentity' failed: Encountered unknown member 'type' while de-serializing". The type is CodeableConcept which should be valid. What did I miss? Please advise, thanks.

  "gender": "male",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity",
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "https://hl7.org/fhir/gender-Identity",
            "code": "female",
            "display": "Female"
          }
        ]
      }
    }
  ],

view this post on Zulip Lloyd McKenzie (Feb 28 2019 at 20:54):

It sounds like the version the extension is defined in doesn't jive with the version of FHIR you're trying to publish against. What version is your profile for?

view this post on Zulip Maria Hu (Feb 28 2019 at 22:32):

It sounds like the version the extension is defined in doesn't jive with the version of FHIR you're trying to publish against. What version is your profile for?

R3, thanks Lloyd.
If it doesn't jive, does that mean I'll have to create my own extension?

view this post on Zulip Grahame Grieve (Mar 01 2019 at 22:22):

the problem sounds like in the definition of the extension or soemthing. how are you validating it?


Last updated: Apr 12 2022 at 19:14 UTC