PackagesCanonicalsLogsProblems
    Packages
    no.nhn.fhir.helsenorge.profiles@2.5.6-beta
    http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot
description: Profil for slot i Helsenorge. Basert på FHIR Slot (R4)
package_name: no.nhn.fhir.helsenorge.profiles
derivation: constraint
name: HnBasisSlot
type: Slot
elements:
  identifier:
    short: Identifer must be UUID/GUID
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
      assigner:
        type: Reference
        refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-Organization', 'http://hl7.org/fhir/StructureDefinition/Organization']
        index: 3
    required: [value, system]
  serviceCategory:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/service-category'}
    index: 4
    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-slot', severity: error, expression: code > '' implies (system > '' )}
        index: 5
  serviceType:
    binding: {strength: required, valueSet: 'http://helsenorge.no/fhir/ValueSet/hn-scheduleandslot-type-vs'}
    index: 6
    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-slot', severity: error, expression: code > '' implies (system > '' )}
        index: 7
  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-slot', severity: error, expression: code > '' implies (system > '' )}
        index: 8
  appointmentType:
    binding: {strength: required, valueSet: 'http://helsenorge.no/fhir/ValueSet/hn-scheduleandslot-type-vs'}
    index: 9
    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-slot', severity: error, expression: code > '' implies (system > '' )}
        index: 10
  schedule:
    type: Reference
    refers: ['http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule', 'http://hl7.org/fhir/StructureDefinition/Schedule']
    index: 11
package_version: 2.5.6-beta
class: profile
kind: resource
url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot
base: http://hl7.org/fhir/StructureDefinition/Slot
version: 1.3.2
required: [identifier, serviceCategory]