{
  "resourceType": "StructureDefinition",
  "id": "ca-on-setp-ext-inroom",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-inroom",
  "version": "0.0.2",
  "name": "SETPInRoomPeriod",
  "title": "Extension: In Room Period",
  "status": "draft",
  "date": "2023-03-07",
  "publisher": "Ontario Health",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://ontariohealth.ca/fhir/"
        },
        {
          "system": "email",
          "value": "some.email@ontariohealth.ca"
        }
      ]
    }
  ],
  "purpose": "to define the period of time the patient was in the room for",
  "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Procedure"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "In Room Period",
        "definition": "to define the period of time the patient was in the room for"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-inroom"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      }
    ]
  }
}