PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/EstimatedDateofDelivery
description: This clinical statement represents the anticipated date when a woman will give birth.
package_name: hl7.cda.us.ccda
derivation: constraint
name: EstimatedDateofDelivery
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  interpretationCode: {index: 20}
  entryRelationship: {index: 28}
  referenceRange: {index: 31}
  priorityCode: {index: 16}
  specimen: {index: 24}
  derivationExpr: {index: 10}
  value: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/TS', index: 19}
  participant: {index: 27}
  typeId: {index: 0}
  classCode:
    pattern: {type: Code, value: OBS}
    index: 5
  methodCode: {index: 21}
  repeatNumber: {index: 17}
  reference: {index: 29}
  languageCode: {index: 18}
  targetSiteCode: {index: 22}
  code:
    index: 7
    elements:
      code:
        pattern: {type: Code, value: 11778-8}
        index: 8
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 9
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 6
  effectiveTime: {index: 15}
  templateId:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        est-date-delivery:
          match: {root: 2.16.840.1.113883.10.20.15.3.1}
          schema:
            _required: true
            index: 2
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.15.3.1}
                index: 3
              extension: {index: 4}
            required: [root]
            extensions: {}
  statusCode:
    index: 13
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 14
    required: [code]
  informant: {index: 26}
  subject: {index: 23}
  performer: {index: 25}
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 11
    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/EstimatedDateofDelivery', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 12
  precondition: {index: 30}
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/EstimatedDateofDelivery
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 3.0.0-ballot
required: [value, statusCode, templateId]