PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.hvo.r5@0.1.2-alpha
    http://electronichealth.se/fhir/hvo/StructureDefinition/HVOService
description: HVOService contains information about activity which is provided to accomodate a requisite
package_name: se.electronichealth.fhir.hvo.r5
derivation: constraint
name: HVOService
type: HealthcareService
elements:
  availability:
    mustSupport: true
    index: 23
    elements:
      availableTime:
        mustSupport: true
        index: 24
        elements:
          daysOfWeek:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/days-of-week'}
            mustSupport: true
            index: 25
          allDay: {mustSupport: true, index: 26}
          availableStartTime: {mustSupport: true, index: 27}
          availableEndTime: {mustSupport: true, index: 28}
        required: [daysOfWeek]
      notAvailableTime:
        mustSupport: true
        index: 29
        elements:
          description: {mustSupport: true, index: 30}
          during:
            mustSupport: true
            index: 31
            elements:
              start: {mustSupport: true, index: 32}
              end: {mustSupport: true, index: 33}
            required: [start]
        required: [description]
    required: [availableTime]
  providedBy:
    type: Reference
    mustSupport: true
    refers: ['http://electronichealth.se/fhir/hvo/StructureDefinition/HVOOrganizationalUnit']
    index: 10
  type:
    binding: {strength: required, valueSet: 'http://electronichealth.se/hvo/ValueSet/hvo-offerings-services'}
    mustSupport: true
    index: 11
  eligibility:
    mustSupport: true
    index: 15
    extensions:
      eligbilityValue: {url: 'http://electronichealth.se/fhir/hvo/StructureDefinition/HVOEligibilityValueExtension', min: 0, max: 1, type: Extension, mustSupport: true, index: 17}
    elements:
      extension:
        index: 16
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            eligbilityValue:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/hvo/StructureDefinition/HVOEligibilityValueExtension', index: 17}
              min: 0
              max: 1
      comment: {mustSupport: true, index: 18}
    required: [comment]
  characteristic:
    short: What form(s) of encounter the service offers, e.g. chat, phone call, physical meetup
    binding: {strength: required, valueSet: 'http://electronichealth.se/hvo/ValueSet/hvo-encounter-means'}
    mustSupport: true
    index: 19
    elements:
      coding:
        mustSupport: true
        index: 20
        elements:
          system: {mustSupport: true, index: 21}
          code: {mustSupport: true, index: 22}
        required: [system, code]
    required: [coding]
  extension:
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        period:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://electronichealth.se/fhir/hvo/StructureDefinition/HVOHealthcareServicePeriodExtension
            index: 4
            elements:
              url: {mustSupport: true, index: 5}
              value:
                mustSupport: true
                choices: []
                index: 7
              value[x]:
                elements:
                  start: {short: Extension for the period during which a service is available and offered, mustSupport: true, index: 8}
                required: [start]
            required: [value]
  contained:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: contained, type: type}
      min: null
      slices:
        HVOEligibilityGroup:
          match: {}
          schema: {type: Group, mustSupport: true, array: true, index: 2}
          min: 0
  id: {mustSupport: true, index: 0}
  comment: {short: Textual description of service. It is used to complement the type element incase a textual description is necessary, mustSupport: true, index: 13}
  identifier: {mustSupport: true, index: 9}
  location:
    type: Reference
    mustSupport: true
    refers: ['http://electronichealth.se/fhir/hvo/StructureDefinition/HVOLocation']
    index: 12
  contact: {mustSupport: true, index: 14}
package_version: 0.1.2-alpha
extensions:
  period:
    url: http://electronichealth.se/fhir/hvo/StructureDefinition/HVOHealthcareServicePeriodExtension
    type: Extension
    mustSupport: true
    index: 4
    elements:
      url: {mustSupport: true, index: 5}
      value:
        mustSupport: true
        choices: []
        index: 7
      value[x]:
        elements:
          start: {short: Extension for the period during which a service is available and offered, mustSupport: true, index: 8}
        required: [start]
    required: [value]
class: profile
kind: resource
url: http://electronichealth.se/fhir/hvo/StructureDefinition/HVOService
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: 0.1.0
required: [providedBy, extension, characteristic, type]