PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/PregnancyStatusObservation
description: This clinical statement meets the requirements of the US Core Data for Interoperability (USCDI) Pregnancy Status Data Element. It represents the State or condition of being pregnant at a point in time. To represent the patient's intent to become pregnant, use the [Pregnancy Intention in Next Year template](StructureDefinition-PregnancyIntentionInNextYear.html).
package_name: hl7.cda.us.ccda
derivation: constraint
name: PregnancyStatusObservation
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  entryRelationship:
    index: 18
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      min: null
      slices:
        estimatedDateofDelivery:
          match: {}
          schema:
            index: 19
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 20
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 21}
            required: [observation]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    index: 15
    elements:
      nullFlavor: {index: 16}
      code:
        binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.12'}
        index: 17
    required: [code]
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  code:
    index: 6
    elements:
      code:
        short: Pregnancy Status
        pattern: {type: Code, value: 82810-3}
        index: 7
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.5.4}
        index: 8
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime:
    constraint:
      value-only: {human: Interval fields SHALL NOT be present, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/PregnancyStatusObservation', severity: error, expression: (low | high | width | center).empty()}
    index: 13
    elements:
      value: {short: value should be used instead of low/high, index: 14}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        pregnancy-obs:
          match: {root: 2.16.840.1.113883.10.20.15.3.8}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.15.3.8}
                index: 2
              extension: {index: 3}
            required: [root]
            extensions: {}
  statusCode:
    index: 11
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 12
    required: [code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 9
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/PregnancyStatusObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
package_version: 4.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/PregnancyStatusObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 4.0.0-ballot
required: [effectiveTime, value, statusCode, templateId]