description: This Observation profile represents a result of the pregnancy such as live birth, still birth, miscarriage, etc. 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: 1 slices: birthOrder: 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 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 required: [component, focus, subject, value, valueCodeableConcept]