description: null package_name: hl7.fhir.au.base derivation: constraint name: AUGravidity type: Observation elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 11 code: pattern: {type: Code, value: '1'} index: 12 required: [system, code] valueQuantity: type: Quantity constraint: inv0-gravidity: {human: gravidity must be a whole number, source: 'http://hl7.org.au/fhir/StructureDefinition/au-gravidity', severity: error, expression: value.toString().contains('.').not()} choiceOf: value index: 10 value: constraint: inv0-gravidity: {human: gravidity must be a whole number, source: 'http://hl7.org.au/fhir/StructureDefinition/au-gravidity', severity: error, expression: value.toString().contains('.').not()} choices: [valueQuantity] index: 9 effectiveDateTime: {type: dateTime, choiceOf: effective, index: 6} status: pattern: {type: Code, value: final} index: 0 effective: choices: [effectiveDateTime, effectivePeriod] index: 5 code: elements: coding: pattern: type: Coding value: {code: '161732006', system: 'http://snomed.info/sct'} index: 1 slicing: rules: open discriminator: - {path: code, type: value} - {path: system, type: value} min: 1 slices: gravidityLOINCCode: match: {code: null, system: null} schema: pattern: type: Coding value: {code: 11996-6, system: 'http://loinc.org'} index: 2 max: 1 required: [coding] subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 3 effectivePeriod: {type: Period, choiceOf: effective, index: 7} package_version: 2.2.0-ballot class: profile kind: resource url: http://hl7.org.au/fhir/StructureDefinition/au-gravidity base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.2.0 required: [effectiveDateTime, effectivePeriod, subject, effective]