PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epreg@1.0.0
    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: ch.fhir.ig.ch-epreg
derivation: constraint
name: ChEpregPatientMother
type: Patient
elements:
  address:
    mustSupport: true
    index: 10
    elements:
      line: {mustSupport: true, index: 11}
      city: {mustSupport: true, index: 12}
      postalCode: {mustSupport: true, index: 13}
      country: {mustSupport: true, index: 14}
  name:
    mustSupport: true
    index: 3
    elements:
      text: {mustSupport: true, index: 4}
      family: {index: 5}
      given: {index: 6}
    required: [given, family]
  birthDate: {mustSupport: true, index: 9}
  extension:
    index: 0
    slicing:
      slices:
        citizenship:
          match: {}
          schema: {index: 0}
        pronoun:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.3.0-ballot-tc1', index: 1}
          min: 0
          max: 1
  link:
    index: 37
    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: 38
            elements:
              other:
                type: Reference
                short: The mother's RelatedPerson resource
                refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-relatedperson-mother']
                index: 39
                elements:
                  reference: {index: 40}
                required: [reference]
              type:
                pattern: {type: Code, value: seealso}
                index: 41
  communication: {index: 36}
  identifier:
    index: 2
    slicing:
      slices:
        AHVN13:
          match: {}
          schema: {index: 2}
  telecom:
    mustSupport: true
    index: 7
    slicing:
      slices:
        email:
          match: {}
          schema: {mustSupport: true, index: 7}
        phone:
          match: {}
          schema: {mustSupport: true, index: 8}
  contact:
    mustSupport: true
    array: true
    index: 15
    slicing:
      slices:
        emergency:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 15
            extensions:
              contactPriority: {url: 'http://hl7.org/fhir/StructureDefinition/patient-contactPriority|5.3.0-ballot-tc1', min: 0, max: 1, type: Extension, short: Indicates the priority of the contact person (e.g. 1 = primary contact for an emergency), index: 17}
            elements:
              extension:
                index: 16
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    contactPriority:
                      match: {url: null}
                      schema: {type: Extension, short: Indicates the priority of the contact person (e.g. 1 = primary contact for an emergency), url: 'http://hl7.org/fhir/StructureDefinition/patient-contactPriority|5.3.0-ballot-tc1', index: 17}
                      min: 0
                      max: 1
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C, system: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                index: 18
              name:
                mustSupport: true
                index: 19
                elements:
                  family: {mustSupport: true, index: 20}
                  given: {mustSupport: true, index: 21}
              telecom:
                index: 22
                elements:
                  system: {index: 23}
                  value: {index: 24}
                required: [value, system]
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    phone:
                      match: {system: null}
                      schema: {type: ContactPoint, mustSupport: true, array: true, index: 25}
                      min: 0
            required: [relationship]
        guardian:
          match: {}
          schema:
            array: true
            index: 26
            elements:
              relationship:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: GUARD, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 27
              name:
                mustSupport: true
                index: 28
                elements:
                  family: {mustSupport: true, index: 29}
                  given: {mustSupport: true, index: 30}
              telecom:
                index: 31
                elements:
                  system: {index: 32}
                  value: {index: 33}
                required: [value, system]
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    email:
                      match: {system: null}
                      schema: {type: ContactPoint, array: true, index: 34}
                      min: 0
                    phone:
                      match: {system: null}
                      schema: {type: ContactPoint, mustSupport: true, array: true, index: 35}
                      min: 0
            required: [relationship]
package_version: 1.0.0
extensions:
  citizenship: {url: null, index: 0}
  pronoun: {url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns|5.3.0-ballot-tc1', 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