PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-pregnancy-outcome-observation
description: This profile represents a result of the pregnancy such as live birth, still birth, miscarriage, etc.\n\nThe subject of this profile is the mother. The focus of this profile is the related Pregnancy Status Observation. \n\nThe order born in the delivery, live born or fetal death (1st, 2nd, 3rd, 4th, 5th, 6th, 7th, etc.) is contained in Observation.component. All live births and fetal losses are included. If the pregnancy plurality is 1 then this value will also be 1.\n\nThere will be one Pregnancy Outcome Observation for each fetus delivered live or dead at any time in the pregnancy, regardless of gestational age or if the fetuses were delivered at different dates in the pregnancy. All live births and fetal losses are included. The order born in the delivery, live born or fetal death is contained in Observation.component.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthPregnancyOutcomeObservation
type: Observation
elements:
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 63893-2, system: 'http://loinc.org', display: Outcome of pregnancy}
    type: CodeableConcept
    index: 0
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient']
    index: 1
  focus:
    short: The related Pregnancy Status Observation
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-pregnancy-status-observation']
    type: Reference
    mustSupport: true
    index: 2
  effective:
    short: Pregnancy outcome date.
    mustSupport: true
    choices: [effectiveDateTime]
    index: 4
  effectiveDateTime: {type: dateTime, short: Pregnancy outcome date., mustSupport: true, choiceOf: effective, index: 5}
  value:
    short: Pregnancy outcome
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 7
  valueCodeableConcept: {type: CodeableConcept, short: Pregnancy outcome, mustSupport: true, choiceOf: value, index: 8}
  component:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        sliceBirthOrder:
          match:
            code:
              coding:
              - {code: 73771-8, system: 'http://loinc.org', display: Birth order}
          schema:
            short: Birth order
            mustSupport: true
            _required: true
            index: 10
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 73771-8, system: 'http://loinc.org', display: Birth order}
                type: CodeableConcept
                index: 11
              value:
                short: Birth order value (1, 2, 3, 4, etc.)
                mustSupport: true
                choices: [valueInteger]
                index: 13
              valueInteger: {type: integer, short: 'Birth order value (1, 2, 3, 4, etc.)', mustSupport: true, choiceOf: value, index: 14}
            required: [value, valueInteger]
package_version: library-1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-pregnancy-outcome-observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0-ballot
required: [focus, subject, value, valueCodeableConcept]