2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 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 . 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>!-- Snipped for Brevity --></div>"
  },
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "2179414",
      "url": "2179414",
      "version": "1.0",
      "name": "Gender Code",
      "description": "All codes representing the gender of a person.",
      "status": "active",
      "compose": {
        "include": [
          {
            "system": "http://ncit.nci.nih.gov",
            "concept": [
              {
                "code": "C17998",
                "display": "Unknown"
              },
              {
                "code": "C20197",
                "display": "Male"
              },
              {
                "code": "C16576",
                "display": "Female"
              },
              {
                "code": "C38046",
                "display": "Not specified"
              }
            ]
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "2179414-permitted",
      "status": "active",
      "define": {
        "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",
          "map": [
            {
              "code": "0",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C20197",
          "map": [
            {
              "code": "1",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C16576",
          "map": [
            {
              "code": "2",
              "equivalence": "equal"
            }
          ]
        },
        {
          "code": "C38046",
          "map": [
            {
              "code": "3",
              "equivalence": "equal"
            }
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/ExtensionDefinition/minLength",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/ExtensionDefinition/maxLength",
      "valueInteger": 13
    }
  ],
  "identifier": {
    "value": "2179650"
  },
  "version": "1.0",
  "publisher": "DCP",
  "status": "active",
  "name": "Gender Code",
  "category": [
    {
      "coding": [
        {
          "system": "http://unknown/FBPP",
          "display": "FBPP Pooled Database"
        },
        {
          "system": "http://unknown/PhenX",
          "display": "Demographics"
        },
        {
          "system": "http://unknown/Eligibility Criteria",
          "display": "Pt. Administrative"
        },
        {
          "system": "http://unknown/UAMS Clinical Research",
          "display": "UAMS New CDEs"
        },
        {
          "system": "http://unknown/PhenX",
          "display": "Substance Abuse and "
        },
        {
          "system": "http://unknown/Category",
          "display": "CSAERS Adverse Event"
        },
        {
          "system": "http://unknown/PhenX",
          "display": "Core: Tier 1"
        },
        {
          "system": "http://unknown/Category",
          "display": "Case Report Forms"
        },
        {
          "system": "http://unknown/Category",
          "display": "CSAERS Review Set"
        },
        {
          "system": "http://unknown/Demonstration%20Applications",
          "display": "CIAF"
        },
        {
          "system": "http://unknown/NIDA%20CTN%20Usage",
          "display": "Clinical Research"
        },
        {
          "system": "http://unknown/NIDA%20CTN%20Usage",
          "display": "Electronic Health Re"
        },
        {
          "system": "http://unknown/Condition",
          "display": "Barretts Esophagus"
        },
        {
          "system": "http://unknown/Condition",
          "display": "Bladder Cancer"
        },
        {
          "system": "http://unknown/Condition",
          "display": "Oral Leukoplakia"
        },
        {
          "system": "http://unknown/Condition",
          "display": "Sulindac for Breast"
        }
      ]
    }
  ],
  "question": "Gender",
  "definition": "The code representing the gender of a person.",
  "type": "CodeableConcept",
  "binding": {
    "isExtensible": false,
    "conformance": "required",
    "valueSet": {
      "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.