{
  "resourceType": "StructureDefinition",
  "id": "ceeab1fe-7bbb-41c6-ad5e-f5840150c6f8",
  "meta": {
    "versionId": "33",
    "lastUpdated": "2016-10-26T15:40:55.839+00:00"
  },
  "url": "http://fhir.mckesson.com/mhs/sd/pm/uda",
  "name": "User Defined Attributes Extension",
  "status": "active",
  "description": "User Defined Attributes Extension of Practitioner's Resource",
  "requirements": "The ability to add extensions in a structured way is what keeps FHIR resources simple.",
  "fhirVersion": "1.0.2",
  "kind": "datatype",
  "constrainedType": "Extension",
  "abstract": false,
  "contextType": "datatype",
  "context": [
    "Contract",
    "Organization",
    "Practitioner"
  ],
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "snapshot": {
    "element": [
      {
        "path": "Extension",
        "name": "uda",
        "short": "PM UDA Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "openAtEnd"
        }
      },
      {
        "path": "Extension.extension",
        "name": "type"
      },
      {
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "fixedUri": "http://fhir.mckesson.com/mhs/sd/pm/uda/type"
      },
      {
        "path": "Extension.extension.valueString",
        "short": "uda/type Extension String",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Extension.extension",
        "name": "field",
        "min": 1,
        "max": "*"
      },
      {
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "fixedUri": "http://fhir.mckesson.com/mhs/sd/pm/uda/field"
      },
      {
        "path": "Extension.extension.extension",
        "name": "key"
      },
      {
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "fixedUri": "http://fhir.mckesson.com/mhs/sd/pm/uda/field/key"
      },
      {
        "path": "Extension.extension.extension.valueString",
        "short": "uda/field/key Extension String",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Extension.extension.extension",
        "name": "value"
      },
      {
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "fixedUri": "http://fhir.mckesson.com/mhs/sd/pm/uda/field/value"
      },
      {
        "path": "Extension.extension.extension.value[x]",
        "short": "uda/field/value Extension String",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          },
          {
            "code": "decimal"
          },
          {
            "code": "date"
          }
        ]
      },
      {
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Extension.extension",
        "short": "Additional Content defined by implementations",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "PM UDA Extension Url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://fhir.mckesson.com/mhs/sd/pm/uda"
      },
      {
        "path": "Extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "integer"
          },
          {
            "code": "decimal"
          },
          {
            "code": "base64Binary"
          },
          {
            "code": "instant"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "code"
          },
          {
            "code": "oid"
          },
          {
            "code": "id"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "markdown"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Period"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Address"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Reference"
          },
          {
            "code": "Meta"
          }
        ]
      }
    ]
  }
}