PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@6.0.2
    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: 10
  payload:
    elements:
      content:
        choices: []
        index: 16
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            contentString:
              match: {}
              schema:
                choices: [contentString]
                _required: true
                index: 18
              min: 1
              max: 1
      contentString:
        type: string
        choiceOf: content
        index: 19
        slicing:
          slices:
            contentString:
              match: {}
              schema: {type: string, choiceOf: content, _required: true, index: 19}
              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: 12
  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
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                index: 4
        recipientCareTeam:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam', index: 5}
          min: 0
        senderCareTeam:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam', index: 6}
          min: 0
        restrictionCategory:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', index: 7}
          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: 13
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 8
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 9
  subject:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 11
  reasonReference:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
    index: 14
package_version: 6.0.2
extensions:
  episodeOfCare:
    url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        index: 4
  recipientCareTeam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam', min: 0, type: Extension, index: 5}
  senderCareTeam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam', min: 0, type: Extension, index: 6}
  restrictionCategory: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category', min: 1, type: Extension, index: 7}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication
base: http://hl7.org/fhir/StructureDefinition/Communication
version: 6.0.2
required: [subject, category]