{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.hl7fundamentals.org/uwearme/StructureDefinition/PatientCategory",
  "name": "PatientCategory",
  "status": "draft",
  "date": "2018-08-17T10:02:49+00:00",
  "description": "Base StructureDefinition for Patient Category",
  "fhirVersion": "1.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    }
  ],
  "kind": "datatype",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Patient"
  ],
  "differential": {
    "element": [
      {
        "path": "Extension",
        "definition": "Optional Extensions Element - found in all resources.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://fhir.hl7fundamentals.org/uwearme/StructureDefinition/PatientCategory",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueCode",
        "path": "Extension.valueCode",
        "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": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "UWearMe Patient Category Table",
          "valueSetReference": {
            "reference": "http://fhir.hl7fundamentals.org/uwearme/identifiers/valuesets/PatientCategory"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  }
}