PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@0.2.2-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth
description: This profile sets minimum expectations for an Observation resource to record, search, and fetch observations that represent a patient’s biological sex assigned at birth with standard coding. 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. \n\n Biological sex assigned at birth refers to what was determined by sex characteristics observed at birth or infancy, including genital and chromosome composition. Sex assigned at birth is captured once for a patient and is not expected to change within their lifetime.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCoreBiologicalSexAssignedAtBirth
type: Observation
elements:
  category: {mustSupport: true, index: 1}
  value:
    short: Sex assigned at birth
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 12
  effectiveDateTime:
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth', severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    short: Date, and optionally time, the observation was performed
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 9
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 0
  effective:
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth', severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    short: Date, and optionally time, the observation was performed
    mustSupport: true
    choices: [effectiveDateTime]
    index: 8
  code:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            snomedSexAtBirth:
              match: {code: '1515311000168102', system: 'http://snomed.info/sct'}
              schema:
                short: SNOMED Sex Assigned at Birth
                pattern:
                  type: Coding
                  value: {code: '1515311000168102', system: 'http://snomed.info/sct'}
                _required: true
                index: 4
              min: 1
              max: 1
            loincSexAtBirth:
              match: {code: 76689-9, system: 'http://loinc.org'}
              schema:
                short: LOINC Sex Assigned at Birth
                pattern:
                  type: Coding
                  value: {code: 76689-9, system: 'http://loinc.org'}
                index: 5
              max: 1
    required: [coding]
  valueCodeableConcept: {type: CodeableConcept, short: Sex assigned at birth, mustSupport: true, choiceOf: value, index: 13}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 6
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-careteam', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', '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: 10
  dataAbsentReason: {mustSupport: true, index: 14}
package_version: 0.2.2-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.2.2-preview
required: [effectiveDateTime, subject, category, effective]