{
  "resourceType": "StructureDefinition",
  "id": "valueset-expand-rules",
  "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-expand-rules",
  "version": "4.6.0",
  "name": "expand-rules",
  "status": "draft",
  "date": "2021-01-01T21:58:31+00:00",
  "publisher": "HL7",
  "description": "Defines how concepts are processed into the expansion when it's for UI presentation.",
  "fhirVersion": "4.6.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "ValueSet.compose.include"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "all-codes | ungrouped | groups-only",
        "definition": "Defines how concepts are processed into the expansion when it's for UI presentation.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ExpansionProcessingRule"
            }
          ],
          "strength": "required",
          "description": "Defines how concepts are processed into the expansion when it's for UI presentation.",
          "valueSet": "http://hl7.org/fhir/ValueSet/expansion-processing-rule"
        }
      }
    ]
  }
}