PackagesCanonicalsLogsProblems
    Packages
    no.nhn.fhir.helsenorge.profiles@2.5.24
    http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule
description: FHIR Schedule brukes for å hente timebøker tilgjengelige for timebestilling for innbygger. Profilen er basert på R4.
package_name: no.nhn.fhir.helsenorge.profiles
derivation: constraint
name: HnBasisSchedule
type: Schedule
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        freeSlotPlanningHorizon:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon', index: 1}
          min: 0
          max: 1
  identifier:
    short: Identifer must be UUID/GUID
    index: 2
    elements:
      system: {index: 3}
      value: {index: 4}
      assigner:
        type: Reference
        refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-Organization', 'http://hl7.org/fhir/StructureDefinition/Organization']
        index: 5
    required: [value, system]
  active:
    pattern: {type: Boolean, value: true}
    index: 6
  serviceCategory:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/service-category'}
    index: 7
    elements:
      coding:
        constraint:
          inv-4: {human: If code is used in a codable consept the system must be used, source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule', severity: error, expression: code > '' implies (system > '' )}
        index: 8
        elements:
          system: {index: 9}
        required: [system]
  serviceType:
    short: Type timebok
    binding: {strength: required, valueSet: 'http://helsenorge.no/fhir/ValueSet/hn-schedule-type-vs'}
    index: 10
    elements:
      coding:
        constraint:
          inv-4: {human: If code is used in a codable consept the system must be used, source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule', severity: error, expression: code > '' implies (system > '' )}
        index: 11
        elements:
          system: {index: 12}
        required: [system]
  specialty:
    elements:
      coding:
        constraint:
          inv-4: {human: If code is used in a codable consept the system must be used, source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule', severity: error, expression: code > '' implies (system > '' )}
        index: 13
  actor:
    type: Reference
    short: Currently only HealthcareService or Practitioner (basic and no-basic profiles) are referenced as valid actors.
    refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-HealthcareService', 'http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 14
    elements:
      type: {index: 15}
    required: [type]
  comment: {short: Comments regarding the scheduler., index: 16}
package_version: 2.5.24
extensions:
  freeSlotPlanningHorizon: {url: 'http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule
base: http://hl7.org/fhir/StructureDefinition/Schedule
version: 1.3.2
required: [serviceType, identifier]