PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@11.0.4
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-relatedperson
type: RelatedPerson
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        contactNote:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote', index: 1}
          min: 0
          max: 1
  identifier:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        ehealth-dk-crn-identifier:
          match: {system: null}
          schema: {type: Identifier, index: 3}
          min: 0
          max: 1
  patient:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 4
  relationship:
    elements:
      coding:
        binding: {strength: extensible, valueSet: 'http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype'}
        index: 5
  name: {index: 6}
  telecom:
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: 'extension(''http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-telecom-purpose'').value.ofType(Coding).code', type: value}
      min: null
      slices:
        video-appointment-reminder-sms:
          match:
            extension('http://ehealth:
              sundhed:
                dk/fhir/StructureDefinition/ehealth-telecom-purpose'):
                  value:
                    ofType(Coding): {code: null}
          schema:
            index: 8
            extensions:
              purpose:
                url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-telecom-purpose
                type: Extension
                index: 10
                elements:
                  value[x]:
                    elements:
                      code:
                        pattern: {type: Code, value: video-appointment-reminder-sms}
                        index: 11
            elements:
              extension:
                index: 9
                slicing:
                  slices:
                    purpose:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-telecom-purpose
                        index: 10
                        elements:
                          value[x]:
                            elements:
                              code:
                                pattern: {type: Code, value: video-appointment-reminder-sms}
                                index: 11
              system:
                pattern: {type: Code, value: sms}
                index: 12
              value: {index: 13}
            required: [extension, value]
package_version: 11.0.4
extensions:
  contactNote: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 11.0.4
required: [name]