{
  "resourceType": "StructureDefinition",
  "id": "valueset-reference",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "vocab"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference",
  "name": "reference",
  "status": "draft",
  "date": "2017-04-18T21:44:43+00:00",
  "publisher": "HL7",
  "description": "A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "contextType": "datatype",
  "context": [
    "Coding"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Url of Value set the code was chosen from",
        "definition": "A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.",
        "min": 0,
        "max": "1",
        "isModifier": false,
        "mapping": [
          {
            "identity": "v2",
            "map": "CWE."
          },
          {
            "identity": "rim",
            "map": "CD.valueSet/CD.valueSetVersion"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-reference"
      },
      {
        "id": "Extension.valueUri",
        "path": "Extension.valueUri",
        "type": [
          {
            "code": "uri"
          }
        ]
      }
    ]
  }
}