PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@3.5.0
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-communication
type: Communication
elements:
  category:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/communication-category'}
    index: 7
  payload:
    elements:
      content:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            contentString:
              match: {}
              schema:
                choices: [contentString]
                _required: true
                index: 15
              min: 1
              max: 1
      contentString:
        type: string
        choiceOf: content
        index: 16
        slicing:
          slices:
            contentString:
              match: {}
              schema: {type: string, choiceOf: content, _required: true, index: 16}
              min: 1
              max: 1
    required: [contentString]
  recipient:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
    index: 9
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        episodeOfCare:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', index: 1}
          min: 1
          max: 1
        recipientCareTeam:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam', index: 2}
          min: 0
        senderCareTeam:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam', index: 3}
          min: 0
        restrictionCategory:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', index: 4}
          min: 1
  sender:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
    index: 10
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 5
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 6
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 8
  reasonReference:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
    index: 11
package_version: 3.5.0
extensions:
  episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1}
  recipientCareTeam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam', min: 0, type: Extension, index: 2}
  senderCareTeam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam', min: 0, type: Extension, index: 3}
  restrictionCategory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', min: 1, type: Extension, index: 4}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication
base: http://hl7.org/fhir/StructureDefinition/Communication
version: 3.5.0
required: [subject, category]