description: This profile defines an observation structure that represents the gestational age related to pregnancy, for use in an Australian context. package_name: hl7.fhir.au.base derivation: constraint name: AUGestationalAge type: Observation elements: value[x]: elements: value: {index: 20} unit: {index: 21} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 22 code: pattern: {type: Code, value: d} index: 23 required: [value, unit] valueQuantity: {type: Quantity, choiceOf: value, index: 19} value: choices: [valueQuantity] index: 18 effectiveDateTime: {type: dateTime, short: 'Date, and optionally time, the observation was performed', choiceOf: effective, index: 16} status: pattern: {type: Code, value: final} index: 0 effective: short: Date, and optionally time, the observation was performed choices: [effectiveDateTime] index: 15 code: pattern: type: CodeableConcept value: coding: - {code: '57036006', 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: loincGestationalAge: match: {code: 18185-9, system: 'http://loinc.org'} schema: short: LOINC Gestational Age index: 3 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 4 code: pattern: {type: Code, value: 18185-9} index: 5 required: [system, code] loincGestationalAgeByLMP: match: {code: 11885-1, system: 'http://loinc.org'} schema: short: LOINC Gestational Age by Last Menstrual Period (LMP) index: 6 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 7 code: pattern: {type: Code, value: 11885-1} index: 8 required: [system, code] loincGestationalAgeByScan: match: {code: 11888-5, system: 'http://loinc.org'} schema: short: LOINC Gestational Age By Scan index: 9 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 10 code: pattern: {type: Code, value: 11888-5} index: 11 required: [system, code] focus: {short: The fetus, index: 13} subject: type: Reference short: The pregnant individual refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 12 package_version: 4.0.0 class: profile kind: resource url: http://hl7.org.au/fhir/StructureDefinition/au-gestationalage base: http://hl7.org/fhir/StructureDefinition/Observation version: 4.0.0 required: [effectiveDateTime, subject, effective]