{
  "resourceType": "StructureDefinition",
  "url": "http://medico-emr.net/stu3/sd/MXT-Coverage-IsPensioner-1",
  "name": "MXT-Coverage-IsPensioner-1",
  "status": "draft",
  "description": "Describes whether or not the patient related by the coverage is a pensioner.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Coverage"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Optional Extensions Element",
        "definition": "Describes whether or not the patient related by the coverage is a pensioner.\r\nmedico source is x1150cog.mem",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://medico-emr.net/stu3/sd/MXT-Coverage-IsPensioner-1"
      },
      {
        "id": "Extension.value[x]:valueBoolean",
        "path": "Extension.valueBoolean",
        "sliceName": "valueBoolean",
        "min": 1,
        "type": [
          {
            "code": "boolean"
          }
        ]
      }
    ]
  }
}