PackagesCanonicalsLogsProblems
    Packages
    rs/ch.fhir.ig.ch@epreg-1.0.0-ballot
    http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother
description: This profile constrains the Patient resource to represent the pregnant individual.
package_name: rs/ch.fhir.ig.ch
derivation: constraint
name: ChEpregPatientMother
type: Patient
elements:
  address:
    mustSupport: true
    index: 11
    elements:
      line: {mustSupport: true, index: 12}
      city: {mustSupport: true, index: 13}
      postalCode: {mustSupport: true, index: 14}
      country: {mustSupport: true, index: 15}
  name:
    mustSupport: true
    index: 3
    elements:
      text: {mustSupport: true, index: 4}
      family: {index: 5}
      given: {index: 6}
      prefix: {index: 7}
    required: [family, given]
  birthDate: {mustSupport: true, index: 10}
  extension:
    index: 0
    slicing:
      slices:
        citizenship:
          match: {}
          schema: {index: 0}
        pronoun:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.2.0', index: 1}
          min: 0
          max: 1
  link:
    index: 41
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        child:
          match: {type: seealso}
          schema:
            short: Link to the mother's RelatedPerson resource pointing to the child's Patient resource
            array: true
            index: 42
            elements:
              other:
                type: Reference
                short: The mother's RelatedPerson resource
                refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-relatedperson-mother']
                index: 43
                elements:
                  reference: {index: 44}
                required: [reference]
              type:
                pattern: {type: code, value: seealso}
                type: code
                index: 45
  communication:
    index: 40
    slicing:
      slices:
        languageOfCorrespondence:
          match: {}
          schema: {index: 40}
  identifier:
    index: 2
    slicing:
      slices:
        AHVN13:
          match: {}
          schema: {index: 2}
  telecom:
    mustSupport: true
    index: 8
    slicing:
      slices:
        email:
          match: {}
          schema: {mustSupport: true, index: 8}
        phone:
          match: {}
          schema: {mustSupport: true, index: 9}
  contact:
    mustSupport: true
    array: true
    index: 16
    slicing:
      slices:
        emergency:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 16
            extensions:
              primaryContact: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-primary-contact', min: 0, max: 1, type: Extension, index: 18}
              note: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', min: 0, max: 1, type: Extension, index: 19}
            elements:
              extension:
                index: 17
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    primaryContact:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-primary-contact', index: 18}
                      min: 0
                      max: 1
                    note:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', index: 19}
                      min: 0
                      max: 1
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C, system: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                type: CodeableConcept
                index: 20
              name:
                mustSupport: true
                index: 21
                elements:
                  family: {mustSupport: true, index: 22}
                  given: {mustSupport: true, index: 23}
              telecom:
                index: 24
                elements:
                  system: {index: 25}
                  value: {index: 26}
                required: [system, value]
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    phone:
                      match: {system: null}
                      schema: {type: ContactPoint, mustSupport: true, array: true, index: 27}
                      min: 0
            required: [relationship]
        guardian:
          match: {}
          schema:
            array: true
            index: 28
            extensions:
              note: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', min: 0, max: 1, type: Extension, index: 30}
            elements:
              extension:
                index: 29
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    note:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', index: 30}
                      min: 0
                      max: 1
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: GUARD, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                type: CodeableConcept
                index: 31
              name:
                mustSupport: true
                index: 32
                elements:
                  family: {mustSupport: true, index: 33}
                  given: {mustSupport: true, index: 34}
              telecom:
                index: 35
                elements:
                  system: {index: 36}
                  value: {index: 37}
                required: [system, value]
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    email:
                      match: {system: null}
                      schema: {type: ContactPoint, array: true, index: 38}
                      min: 0
                    phone:
                      match: {system: null}
                      schema: {type: ContactPoint, mustSupport: true, array: true, index: 39}
                      min: 0
            required: [relationship]
package_version: epreg-1.0.0-ballot
extensions:
  citizenship: {url: null, index: 0}
  pronoun: {url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.2.0', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr
version: 1.0.0-ballot