PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.vr-common-library@1.1.0
    http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-reported-parent-age-at-delivery-vr
description: This Extension profile represents the reported age of the parent (either the gestational mother or the natural father - as defined by NCHS) at the delivery time of the newborn or fetus. A reference to either the **Patient - Mother - Vital Records** or the **RelatedPerson - Father Natural - Vital Records** represents the parent. It can optionally contain a reference to the reporter (**US Core Patient Profile** or **US Core RelatedPerson Profile**).
package_name: hl7.fhir.us.vr-common-library
derivation: constraint
name: ExtensionReportedParentAgeAtDeliveryVitalRecords
type: Extension
elements:
  extension:
    array: true
    min: 2
    max: 3
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      max: 3
      slices:
        reportedAge:
          match: {url: reportedAge}
          schema:
            short: Age of the parent at the time of delivery reported by another person.
            type: Extension
            mustSupport: true
            _required: true
            index: 1
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: reportedAge}
                index: 2
              value:
                short: Reported age in years
                choices: [valueQuantity]
                index: 4
              valueQuantity: {type: Quantity, short: Reported age in years, choiceOf: value, index: 5}
            required: [value, valueQuantity]
        motherOrFather:
          match: {url: motherOrFather}
          schema:
            short: Reference to the mother or father.
            type: Extension
            mustSupport: true
            _required: true
            index: 6
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: motherOrFather}
                index: 7
              value:
                short: Reported age in years
                choices: [valueReference]
                index: 9
              valueReference:
                type: Reference
                short: Reported age in years
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother-vr', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/RelatedPerson-father-natural-vr']
                index: 10
            required: [valueReference, value]
        reporter:
          match: {url: reporter}
          schema:
            type: Extension
            short: Reference to the person who reported the parent's age.
            index: 11
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: reporter}
                index: 12
              value:
                choices: [valueReference]
                index: 14
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson']
                index: 15
            required: [valueReference, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-reported-parent-age-at-delivery-vr'}
    index: 16
  value:
    choices: []
    index: 18
package_version: 1.1.0
extensions:
  reportedAge:
    url: reportedAge
    short: Age of the parent at the time of delivery reported by another person.
    type: Extension
    mustSupport: true
    _required: true
    index: 1
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: reportedAge}
        index: 2
      value:
        short: Reported age in years
        choices: [valueQuantity]
        index: 4
      valueQuantity: {type: Quantity, short: Reported age in years, choiceOf: value, index: 5}
    required: [value, valueQuantity]
  motherOrFather:
    url: motherOrFather
    short: Reference to the mother or father.
    type: Extension
    mustSupport: true
    _required: true
    index: 6
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: motherOrFather}
        index: 7
      value:
        short: Reported age in years
        choices: [valueReference]
        index: 9
      valueReference:
        type: Reference
        short: Reported age in years
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother-vr', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/RelatedPerson-father-natural-vr']
        index: 10
    required: [valueReference, value]
  reporter:
    url: reporter
    type: Extension
    short: Reference to the person who reported the parent's age.
    index: 11
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: reporter}
        index: 12
      value:
        choices: [valueReference]
        index: 14
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson']
        index: 15
    required: [valueReference, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-reported-parent-age-at-delivery-vr
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0