PackagesCanonicalsLogsProblems
    Packages
    at.unofficial.au.base@2.2.0-ballot2
    http://hl7.org.au/fhir/StructureDefinition/au-lastmenstrualperiod
description: This profile defines an observation structure that represents the date of the last known menstrual period, for use in an Australian context.
package_name: at.unofficial.au.base
derivation: constraint
name: AULastMenstrualPeriod
type: Observation
elements:
  status:
    pattern: {type: Code, value: final}
    index: 0
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '21840007', system: 'http://snomed.info/sct'}
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: null
          slices:
            loincLastMenstrualPeriod:
              match: {code: 8665-2, system: 'http://loinc.org'}
              schema:
                short: LOINC Last Menstrual Period
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 4
                  code:
                    pattern: {type: Code, value: 8665-2}
                    index: 5
                required: [system, code]
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 6
  effective:
    short: Date, and optionally time, the observation was performed
    choices: [effectiveDateTime, effectivePeriod]
    index: 8
  effectiveDateTime: {type: dateTime, short: 'Date, and optionally time, the observation was performed', choiceOf: effective, index: 9}
  effectivePeriod: {type: Period, short: 'Date, and optionally time, the observation was performed', choiceOf: effective, index: 10}
  value:
    choices: [valueDateTime]
    index: 12
  valueDateTime: {type: dateTime, choiceOf: value, index: 13}
package_version: 2.2.0-ballot2
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-lastmenstrualperiod
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.2.0
required: [effectiveDateTime, effectivePeriod, subject, effective]