PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@3.5.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-composition
type: Composition
elements:
  category:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/document-class'}
    index: 3
  encounter:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    index: 5
  attester:
    elements:
      party:
        type: Reference
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
        index: 7
  type:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/document-type'}
    index: 2
  author:
    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: 6
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        authorOrganization:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition-authorOrganization', index: 1}
          min: 0
  event:
    elements:
      code:
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/event-type-codes'}
        index: 17
  custodian:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
    index: 8
  relatesTo:
    elements:
      target:
        choices: [targetReference]
        index: 15
        slicing:
          slices:
            targetReference:
              match: {}
              schema:
                choices: [targetReference]
                index: 15
              min: 0
              max: 1
      targetIdentifier:
        type: Identifier
        choiceOf: target
        index: 13
        slicing:
          slices:
            targetIdentifier:
              match: {}
              schema: {type: Identifier, choiceOf: target, index: 13}
              min: 0
              max: 1
      targetReference:
        type: Reference
        choiceOf: target
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition']
        index: 16
        slicing:
          slices:
            targetReference:
              match: {}
              schema:
                type: Reference
                choiceOf: target
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition']
                index: 16
              min: 0
              max: 1
  subject: {index: 4}
package_version: 3.5.1
extensions:
  authorOrganization: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition-authorOrganization', min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 3.5.1
required: [subject]