Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Sdcde\dataelement-sdc-profile-example-de.json

Raw JSON (canonical form)

Patient gender represented according to SDC rules

{
  "resourceType": "DataElement",
  "id": "dataelement-sdc-profile-example-de",
  "text": {
    "status": "generated",
    "div": "<div>TODO</div>"
  },
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vm-valueset",
      "identifier": {
        "system": "http://r.details.loinc.org/AnswerList",
        "value": "LL2827-5"
      },
      "name": "AHRQ_M/F/UNK",
      "status": "active",
      "description": "AHRQ Common Formats answer list for Patient and Neonate Gender",
      "compose": {
        "include": [
          {
            "system": "http://loinc.org",
            "concept": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
                    "valueInteger": 1
                  }
                ],
                "code": "a",
                "display": "Male",
                "designation": [
                  {
                    "use": {
                      "display": "Answer ID"
                    },
                    "value": "LA2-8"
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
                    "valueInteger": 2
                  }
                ],
                "code": "b",
                "display": "Female",
                "designation": [
                  {
                    "use": {
                      "display": "Answer ID"
                    },
                    "value": "LA3-6"
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
                    "valueInteger": 3
                  }
                ],
                "code": "c",
                "display": "Unknown",
                "designation": [
                  {
                    "use": {
                      "display": "Answer ID"
                    },
                    "value": "LA4489-6"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "pv-valueset",
      "status": "draft",
      "_status": {
        "fhir_comments": [
          "      \n         Side notes:\n          - \"1\" is not a valid code system version for AdministrativeGender\n          - The definition and display name for code \"UN\" is not valid\n              "
        ]
      },
      "compose": {
        "include": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-systemName",
                "valueString": "HL7 AdministrativeGender"
              }
            ],
            "system": "http://hl7.org/fhir/v3/AdministrativeGender",
            "version": "1",
            "concept": [
              {
                "code": "M",
                "display": "Male"
              },
              {
                "code": "F",
                "display": "Female"
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-systemName",
                "valueString": "HL7 NullFlavor"
              }
            ],
            "system": "http://hl7.org/fhir/v3/NullFlavor",
            "concept": [
              {
                "code": "UNK",
                "display": "Unknown"
              }
            ]
          }
        ]
      }
    },
    {
      "resourceType": "ConceptMap",
      "id": "pv-conceptmap",
      "status": "draft",
      "sourceUri": "#vm-valueset",
      "targetUri": "#pv-valueset",
      "element": [
        {
          "codeSystem": "http://loinc.org",
          "code": "a",
          "target": [
            {
              "codeSystem": "http://hl7.org/fhir/v3/AdministrativeGender",
              "code": "M",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "codeSystem": "http://loinc.org",
          "code": "b",
          "target": [
            {
              "codeSystem": "http://hl7.org/fhir/v3/AdministrativeGender",
              "code": "F",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "codeSystem": "http://loinc.org",
          "code": "c",
          "target": [
            {
              "codeSystem": "http://hl7.org/fhir/v3/Unknown",
              "code": "UNK",
              "equivalence": "equivalent"
            }
          ]
        }
      ]
    },
    {
      "resourceType": "Organization",
      "id": "sub-org",
      "name": "Agency for Healthcare Research and Quality (AHRQ) Center for Patient Safety and Quality",
      "address": [
        {
          "text": "540 Gaither Rd Rockvill MD 20850"
        }
      ],
      "contact": [
        {
          "name": {
            "text": "Bill Munier"
          },
          "telecom": [
            {
              "system": "email",
              "value": "william.munier@ahrq.hhs.gov"
            }
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/11179-de-document-reference",
      "valueReference": {
        "reference": "#doc"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/11179-de-effective-period",
      "valuePeriod": {
        "start": "2010-03-31"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/11179-de-submitter-org",
      "valueReference": {
        "reference": "#sub-org"
      }
    }
  ],
  "identifier": [
    {
      "system": "http://nlm.nih.gov/some_other_text/data_element_identifier",
      "value": "DE42AHRQ"
    }
  ],
  "version": "1.2",
  "name": "Patient Gender",
  "status": "draft",
  "publisher": "Agency for Healthcare Research and Quality (AHRQ) Center for Patient Safety and Quality",
  "contact": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/11179-de-contact-address",
          "valueAddress": {
            "text": "540 Gaither Rd Rockville MD 20850"
          }
        }
      ],
      "name": "Bill Munier",
      "telecom": [
        {
          "system": "email",
          "value": "william.munier@ahrq.hhs.gov"
        }
      ]
    }
  ],
  "date": "2010-03-31",
  "useContext": [
    {
      "coding": [
        {
          "code": "Healthcare Event Reporting Form",
          "display": "Patient safety event report - hospital: healthcare event reporting form",
          "_display": {
            "fhir_comments": [
              "       Wasn't clear if the above was a code       "
            ]
          }
        }
      ]
    }
  ],
  "mapping": [
    {
      "identity": "objclass",
      "uri": "http://healthit.gov/sdc/objectclassproperty",
      "name": "Structured Data Capture ObjectClass/Property"
    }
  ],
  "element": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
          "valueString": "Patient's Gender"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
          "valueString": "Patient-Gender,CD"
        }
      ],
      "path": "gender",
      "code": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-de-is-data-element-concept",
              "valueBoolean": true
            }
          ],
          "system": "http://loinc.org",
          "code": "74698-2"
        }
      ],
      "definition": "The patient's documented gender on arrival at the hospital.",
      "type": [
        {
          "code": "CodeableConcept"
        }
      ],
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
              "valueReference": {
                "reference": "#pv-valueset"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
              "valueReference": {
                "reference": "#pv-conceptmap"
              }
            }
          ],
          "reference": "#vm-valueset"
        }
      },
      "mapping": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
              "valueCoding": {
                "system": "http://snomed.info/sct",
                "code": "116154003",
                "display": "Patient"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty",
              "valueCoding": {
                "system": "http://snomed.info/sct",
                "code": "263495000",
                "display": "Gender"
              }
            }
          ],
          "identity": "objclass",
          "map": "http://snomed.info/sct#116154003 | http://snomed.info/sct | 263495000"
        }
      ]
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.