description: This profile sets minimum expectations for an Observation resource to record, search, and fetch observations that represent parity count related to pregnancy at a point in time associated with a patient with standard coding and units. 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: AUCoreParity type: Observation elements: category: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: socialHistory: match: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: pattern: type: CodeableConcept value: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} _required: true index: 2 min: 1 max: 1 value[x]: elements: system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 18 code: pattern: {type: Code, value: '1'} index: 19 required: [system, code] encounter: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter'] index: 9 valueQuantity: type: Quantity constraint: au-core-parity-01: {human: Parity must be a whole number, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-parity', severity: error, expression: value.toString().contains('.').not()} mustSupport: true choiceOf: value index: 17 value: constraint: au-core-parity-01: {human: Parity must be a whole number, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-parity', severity: error, expression: value.toString().contains('.').not()} mustSupport: true choices: [valueQuantity] index: 16 effectiveDateTime: {type: dateTime, short: 'Date, and optionally time, the observation was performed', mustSupport: true, choiceOf: effective, index: 12} status: pattern: {type: Code, value: final} mustSupport: true index: 0 effective: short: Date, and optionally time, the observation was performed mustSupport: true choices: [effectiveDateTime, effectivePeriod] index: 11 code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: '364325004', system: 'http://snomed.info/sct'} index: 3 elements: coding: index: 4 slicing: rules: open discriminator: - {path: code, type: value} - {path: system, type: value} min: null slices: loincParity: match: {code: 11977-6, system: 'http://loinc.org'} schema: short: LOINC Parity index: 5 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 6 code: pattern: {type: Code, value: 11977-6} index: 7 required: [system, code] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/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: 20} effectivePeriod: {type: Period, short: 'Date, and optionally time, the observation was performed', mustSupport: true, choiceOf: effective, index: 13} package_version: 0.2.2-preview class: profile kind: resource url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-parity base: http://hl7.org/fhir/StructureDefinition/Observation version: 0.2.2-preview required: [effectiveDateTime, effectivePeriod, subject, category, effective]