PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@0.2.2-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-estimateddateofdelivery
description: This profile sets minimum expectations for an Observation resource to record, search, and fetch observations of estimated date of delivery (EDD) related to pregnancy with standard coding. It is based on the core FHIR [Observation](http://hl7.org/fhir/R4/observation.html) resource and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Observation resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCoreEstimatedDateOfDelivery
type: Observation
elements:
  category: {mustSupport: true, index: 1}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter']
    index: 10
  value:
    mustSupport: true
    choices: [valueDateTime]
    index: 16
  valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 17}
  effectiveDateTime:
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-estimateddateofdelivery', severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    short: Date, and optionally time, the observation was performed
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 13
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 0
  effective:
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-estimateddateofdelivery', severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    short: Date, and optionally time, the observation was performed
    mustSupport: true
    choices: [effectiveDateTime]
    index: 12
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '161714006', system: 'http://snomed.info/sct'}
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedEDD:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: SNOMED CT Estimated Date of Delivery
                binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/estimated-date-of-delivery-1'}
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 5
                required: [system]
            loincEDD:
              match: {system: 'http://loinc.org'}
              schema:
                short: LOINC Estimated Date of Delivery
                binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/estimated-date-of-delivery-LOINC-1'}
                index: 6
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 7
                required: [system]
  focus: {short: The fetus, mustSupport: true, index: 9}
  subject:
    type: Reference
    short: The pregnant individual
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 8
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson']
    index: 14
  dataAbsentReason: {mustSupport: true, index: 18}
package_version: 0.2.2-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-estimateddateofdelivery
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.2.2-preview
required: [effectiveDateTime, subject, category, effective]