description: This extension describes the expected wait-time of a service to the patient. Service directory utilizes the extension to ensure that there are automatically generated expected wait-time and self-reported wait-time provided for each service, alongside how long the patient is expected to be on a wait list (i.e. days/weeks/months) for that service. package_name: ca.infoway.io.ca-ext-reg derivation: constraint name: HealthcareServiceCurrentWaitTime type: Extension elements: extension: index: 0 slicing: slices: waitType: match: {} schema: index: 0 elements: url: pattern: {type: uri, value: waitType} type: uri index: 1 value: choices: [valueCodeableConcept] index: 3 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 4} duration: match: {} schema: index: 5 elements: url: pattern: {type: uri, value: duration} type: uri index: 6 value: choices: [valueDuration] index: 8 valueDuration: {type: Duration, choiceOf: value, index: 9} priority: match: {} schema: index: 10 elements: url: pattern: {type: uri, value: priority} type: uri index: 11 value: code: - {code: priority, display: priority} choices: [valueCode] index: 13 valueCode: code: - {code: priority, display: priority} type: code choiceOf: value index: 14 url: pattern: {type: uri, value: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/healthcareService-currentWaitTime'} type: uri index: 15 package_version: 0.0.2-beta-1 extensions: waitType: url: null index: 0 elements: url: pattern: {type: uri, value: waitType} type: uri index: 1 value: choices: [valueCodeableConcept] index: 3 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 4} duration: url: null index: 5 elements: url: pattern: {type: uri, value: duration} type: uri index: 6 value: choices: [valueDuration] index: 8 valueDuration: {type: Duration, choiceOf: value, index: 9} priority: url: null index: 10 elements: url: pattern: {type: uri, value: priority} type: uri index: 11 value: code: - {code: priority, display: priority} choices: [valueCode] index: 13 valueCode: code: - {code: priority, display: priority} type: code choiceOf: value index: 14 class: extension kind: complex-type url: http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/healthcareService-currentWaitTime base: http://hl7.org/fhir/StructureDefinition/Extension version: null