{
  "resourceType": "StructureDefinition",
  "id": "patient-proficiency",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/patient-proficiency",
  "version": "4.6.0",
  "name": "proficiency",
  "title": "proficiency",
  "status": "draft",
  "date": "2021-01-01T21:58:31+00:00",
  "publisher": "HL7",
  "description": "Proficiency level of the communication.",
  "fhirVersion": "4.6.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Patient.communication"
    },
    {
      "type": "element",
      "expression": "RelatedPerson.communication"
    },
    {
      "type": "element",
      "expression": "Person.communication"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Proficiency level of the communication",
        "definition": "Proficiency level of the communication.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Extension.extension:level",
        "path": "Extension.extension",
        "sliceName": "level",
        "short": "The proficiency level of the communication",
        "definition": "How well the patient can communicate this communication (good, poor, etc.).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:level.extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.extension:level.url",
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "level"
      },
      {
        "id": "Extension.extension:level.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ProficiencyLevel"
            }
          ],
          "strength": "preferred",
          "description": "The proficiency level for the communication.",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency"
        }
      },
      {
        "id": "Extension.extension:type",
        "path": "Extension.extension",
        "sliceName": "type",
        "short": "The proficiency type of the communication",
        "definition": "What type of communication for the proficiency (spoken, written, etc.).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:type.extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.extension:type.url",
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "type"
      },
      {
        "id": "Extension.extension:type.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "proficiencyType"
            }
          ],
          "strength": "preferred",
          "description": "The proficiency type for the communication.",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode"
        }
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-proficiency"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}