PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@2.2.0-ballot
    http://hl7.org.au/fhir/StructureDefinition/au-estimateddateofdelivery
description: null
package_name: hl7.fhir.au.base
derivation: constraint
name: AUEstimatedDateOfDelivery
type: Observation
elements:
  code:
    elements:
      coding:
        short: EDD Calculation
        pattern:
          type: Coding
          value: {code: '161714006', system: 'http://snomed.info/sct'}
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: 1
          slices:
            eddScanSNOMEDCode:
              match: {code: null, system: null}
              schema:
                short: EDD by Scan (SNOMED)
                pattern:
                  type: Coding
                  value: {code: '738070007', system: 'http://snomed.info/sct'}
                index: 1
              max: 1
            eddLMPSNOMEDCode:
              match: {code: null, system: null}
              schema:
                short: EDD by Last Menstrual Period (SNOMED)
                pattern:
                  type: Coding
                  value: {code: '289206005', system: 'http://snomed.info/sct'}
                index: 2
              max: 1
            eddLOINCCode:
              match: {code: null, system: null}
              schema:
                short: EDD (LOINC)
                pattern:
                  type: Coding
                  value: {code: 11778-8, system: 'http://loinc.org'}
                index: 3
              max: 1
            eddScanLOINCCode:
              match: {code: null, system: null}
              schema:
                short: EDD by Scan (LOINC)
                pattern:
                  type: Coding
                  value: {code: 11781-2, system: 'http://loinc.org'}
                index: 4
              max: 1
            eddLMPLOINCode:
              match: {code: null, system: null}
              schema:
                pattern:
                  type: Coding
                  value: {code: 11779-6, system: 'http://loinc.org'}
                index: 5
              max: 1
    required: [coding]
  effective:
    choices: [effectiveDateTime, effectiveInstant]
    index: 7
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 8}
  effectiveInstant: {type: instant, choiceOf: effective, index: 9}
  value:
    choices: [valueDateTime]
    index: 11
  valueDateTime: {type: dateTime, choiceOf: value, index: 12}
package_version: 2.2.0-ballot
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-estimateddateofdelivery
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.2.0
required: [effectiveDateTime, effectiveInstant, effective]