{
  "resourceType": "StructureDefinition",
  "id": "ext-category-ToS",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-ToS",
  "version": "0.1.0",
  "name": "ExtCategoryTypeOfService",
  "title": "Category Type of Service",
  "status": "active",
  "date": "2024-04-12T14:25:36.8218753+00:00",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Basic"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Category Type of Service"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-ToS"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "The document-type-of-service property in LOINC characterizes the healthcare service or activity provided to/for the patient (or other subject of the service) that is described in the document. It is used in the element category:sliceCategory-type-of-service in FHIR in the Composition and DocumentReference profiles. This value set contains TOS codes supported by acCDR - some from LOINC ontology parts and some OntarioHealth defined codes.",
          "valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-type-of-service"
        }
      },
      {
        "id": "Extension.value[x].system",
        "path": "Extension.value[x].system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Extension.value[x].code",
        "path": "Extension.value[x].code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Extension.value[x].display",
        "path": "Extension.value[x].display",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}