DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R3 R2

Dataelement-example.json

Raw JSON (canonical form)

Patient gender represented as an data element

{
  "resourceType": "DataElement",
  "id": "gender",
  "text": {
    "status": "generated",
    "div": "<div>\n      \n      \n      \n      \n      <p>\n        \n        \n        \n        \n        <b>Gender Code</b>: The code representing the gender of a person\n      \n      \n      \n      </p>\n      \n      \n      \n      \n      <table>\n        \n        \n        \n        \n        <tbody>\n          \n          \n          \n          \n          <tr>\n            \n            \n            \n            \n            <th>Code</th>\n            \n            \n            \n            \n            <th>Display</th>\n            \n            \n            \n            \n            <th>Definition</th>\n          \n          \n          \n          \n          </tr>\n          \n          \n          \n          \n          <tr>\n            \n            \n            \n            \n            <td>0</td>\n            \n            \n            \n            \n            <td>Unknown</td>\n            \n            \n            \n            \n            <td>Not known, not observed, not recorded, or refused.</td>\n          \n          \n          \n          \n          </tr>\n          \n          \n          \n          \n          <tr>\n            \n            \n            \n            \n            <td>1</td>\n            \n            \n            \n            \n            <td>Male</td>\n            \n            \n            \n            \n            <td>A person who belongs to the sex that normally produces sperm. The term is used to indicate biological sex distinctions, cultural gender role distinctions, or both.</td>\n          \n          \n          \n          \n          </tr>\n          \n          \n          \n          \n          <tr>\n            \n            \n            \n            \n            <td>2</td>\n            \n            \n            \n            \n            <td>Female</td>\n            \n            \n            \n            \n            <td>A person who belongs to the sex that normally produces ova. The term is used to indicate biological sex distinctions, or cultural gender role distinctions, or both.</td>\n          \n          \n          \n          \n          </tr>\n          \n          \n          \n          \n          <tr>\n            \n            \n            \n            \n            <td>3</td>\n            \n            \n            \n            \n            <td>Not specified</td>\n            \n            \n            \n            \n            <td>Not specified</td>\n          \n          \n          \n          \n          </tr>\n        \n        \n        \n        \n        </tbody>\n      \n      \n      \n      \n      </table>\n      \n      \n      \n      \n      <ul>\n        \n        \n        \n        \n        <li/>\n      \n      \n      \n      \n      </ul>\n    \n    \n    \n    \n    </div>"
  },
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "2179414",
      "url": "http://example.org/2179414",
      "version": "1.0",
      "name": "Gender Code",
      "status": "active",
      "description": "All codes representing the gender of a person.",
      "compose": {
        "include": [
          {
            "system": "http://example.ncit.nci.nih.gov",
            "concept": [
              {
                "code": "C17998",
                "display": "Unknown"
              },
              {
                "fhir_comments": [
                  "                 <definition value=\"Not known, not observed, not recorded, or refused. \"/>     "
                ],
                "code": "C20197",
                "display": "Male"
              },
              {
                "fhir_comments": [
                  "                 <definition value=\"A person who belongs to the sex that normally produces sperm. The term is used to indicate biological sex distinctions, cultural gender role distinctions, or both.\"/>     "
                ],
                "code": "C16576",
                "display": "Female"
              },
              {
                "fhir_comments": [
                  "                 <definition value=\"A person who belongs to the sex that normally produces ova. The term is used to indicate biological sex distinctions, or cultural gender role distinctions, or both.\"/>     "
                ],
                "code": "C38046",
                "display": "Not specified"
              }
            ]
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "2179414-permitted",
      "_id": {
        "fhir_comments": [
          "                 <definition value=\"Not specified\"/>     "
        ]
      },
      "status": "active",
      "codeSystem": {
        "system": "http://example.org/fhir/2179414",
        "caseSensitive": true,
        "concept": [
          {
            "code": "0"
          },
          {
            "code": "1"
          },
          {
            "code": "2"
          },
          {
            "code": "3"
          }
        ]
      }
    },
    {
      "resourceType": "ConceptMap",
      "id": "2179414-cm",
      "status": "active",
      "sourceReference": {
        "reference": "#2179414"
      },
      "targetReference": {
        "reference": "#2179414-permitted"
      },
      "element": [
        {
          "code": "C17998",
          "target": [
            {
              "code": "0",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C20197",
          "target": [
            {
              "code": "1",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C16576",
          "target": [
            {
              "code": "2",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C38046",
          "target": [
            {
              "code": "3",
              "equivalence": "equal"
            }
          ]
        }
      ]
    }
  ],
  "identifier": [
    {
      "value": "2179650"
    }
  ],
  "version": "1.0",
  "name": "Gender Code",
  "status": "active",
  "publisher": "DCP",
  "useContext": [
    {
      "coding": [
        {
          "system": "http://example.org/FBPP",
          "display": "FBPP Pooled Database"
        },
        {
          "system": "http://example.org/PhenX",
          "display": "Demographics"
        },
        {
          "system": "http://example.org/EligibilityCriteria",
          "display": "Pt. Administrative"
        },
        {
          "system": "http://example.org/UAMSClinicalResearch",
          "display": "UAMS New CDEs"
        },
        {
          "system": "http://example.org/PhenX",
          "display": "Substance Abuse and "
        },
        {
          "system": "http://example.org/Category",
          "display": "CSAERS Adverse Event"
        },
        {
          "system": "http://example.org/PhenX",
          "display": "Core: Tier 1"
        },
        {
          "system": "http://example.org/Category",
          "display": "Case Report Forms"
        },
        {
          "system": "http://example.org/Category",
          "display": "CSAERS Review Set"
        },
        {
          "system": "http://example.org/Demonstration%20Applications",
          "display": "CIAF"
        },
        {
          "system": "http://example.org/NIDA%20CTN%20Usage",
          "display": "Clinical Research"
        },
        {
          "system": "http://example.org/NIDA%20CTN%20Usage",
          "display": "Electronic Health Re"
        },
        {
          "system": "http://example.org/Condition",
          "display": "Barretts Esophagus"
        },
        {
          "system": "http://example.org/Condition",
          "display": "Bladder Cancer"
        },
        {
          "system": "http://example.org/Condition",
          "display": "Oral Leukoplakia"
        },
        {
          "system": "http://example.org/Condition",
          "display": "Sulindac for Breast"
        }
      ]
    }
  ],
  "element": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/minLength",
          "valueInteger": 1
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
          "valueString": "Gender"
        }
      ],
      "path": "Gender",
      "definition": "The code representing the gender of a person.",
      "type": [
        {
          "code": "CodeableConcept"
        }
      ],
      "maxLength": 13,
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
              "valueReference": {
                "reference": "#2179414-permitted"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap",
              "valueReference": {
                "reference": "#2179414-cm"
              }
            }
          ],
          "reference": "#2179414"
        }
      }
    }
  ]
}

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.