{
  "resourceType": "StructureDefinition",
  "id": "codesystem-alternate",
  "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/codesystem-alternate",
  "version": "4.0.0",
  "name": "alternate",
  "status": "draft",
  "date": "2018-12-27T11:37:54+00:00",
  "publisher": "HL7",
  "description": "An additional code that may be used to represent the concept.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "CodeSystem.concept"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Additional code for the concept",
        "definition": "An additional code that may be used to represent the concept.",
        "comment": "Few coding systems define synonyms. A few more define alternate codes for special case use.",
        "min": 0,
        "max": "*",
        "isModifier": false
      },
      {
        "id": "Extension.extension:code",
        "path": "Extension.extension",
        "sliceName": "code",
        "short": "Code that represents the concept",
        "definition": "The code that may be used to represent the concept.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:code.extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.extension:code.url",
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "code"
      },
      {
        "id": "Extension.extension:code.valueCode",
        "path": "Extension.extension.valueCode",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Extension.extension:use",
        "path": "Extension.extension",
        "sliceName": "use",
        "short": "Expected use of the code",
        "definition": "Defines why this additional code is defined.",
        "comment": "Further work is needed on the value set.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:use.extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.extension:use.url",
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "use"
      },
      {
        "id": "Extension.extension:use.valueCoding",
        "path": "Extension.extension.valueCoding",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AlternativeCodeKind"
            }
          ],
          "strength": "extensible",
          "description": "Indicates the type of use for which the code is defined.",
          "valueSet": "http://hl7.org/fhir/ValueSet/codesystem-altcode-kind"
        }
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/codesystem-alternate"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}