PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@2.2.0-ballot
    http://hl7.org.au/fhir/StructureDefinition/au-gestationalage
description: null
package_name: hl7.fhir.au.base
derivation: constraint
name: AUGestationalAge
type: Observation
elements:
  code:
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: '57036006', system: 'http://snomed.info/sct'}
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: 1
          slices:
            gestationalAgeLOINCCode:
              match: {code: null, system: null}
              schema:
                pattern:
                  type: Coding
                  value: {code: 18185-9, system: 'http://loinc.org'}
                index: 1
              max: 1
            gestationalAgeByLMPCode:
              match: {code: null, system: null}
              schema:
                pattern:
                  type: Coding
                  value: {code: 11885-1, system: 'http://loinc.org'}
                index: 2
              max: 1
            gestationalAgeByScanCode:
              match: {code: null, system: null}
              schema:
                pattern:
                  type: Coding
                  value: {code: 11888-5, system: 'http://loinc.org'}
                index: 3
              max: 1
    required: [coding]
  subject: {index: 4}
  effective:
    choices: [effectiveDateTime, effectiveInstant]
    index: 6
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 7}
  effectiveInstant: {type: instant, choiceOf: effective, index: 8}
  value:
    choices: [valueQuantity]
    index: 10
  valueQuantity: {type: Quantity, choiceOf: value, index: 11}
  value[x]:
    elements:
      value: {index: 12}
      unit: {index: 13}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 14
      code:
        pattern: {type: Code, value: d}
        index: 15
    required: [value, unit]
package_version: 2.2.0-ballot
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-gestationalage
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.2.0
required: [effectiveDateTime, effectiveInstant, subject, effective]