{
  "resourceType": "StructureDefinition",
  "constrainedType": "Extension",
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "id": "spark212",
  "meta": {
    "versionId": "spark212",
    "lastUpdated": "2015-10-02T12:15:53.871+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference",
  "name": "Url of Value set the code was chosen from",
  "status": "draft",
  "date": "2015-09-22T03:47:23+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": "1.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    }
  ],
  "kind": "datatype",
  "abstract": false,
  "contextType": "datatype",
  "context": [
    "Coding"
  ],
  "snapshot": {
    "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",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "v2",
            "map": "CWE."
          },
          {
            "identity": "rim",
            "map": "CD.valueSet/CD.valueSetVersion"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "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",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "v2",
            "map": "CWE."
          },
          {
            "identity": "rim",
            "map": "CD.valueSet/CD.valueSetVersion"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-reference"
      },
      {
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "uri"
          }
        ]
      }
    ]
  }
}