PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/sex-assigned-at-birth
description: The biological sex of a patient assigned at birth.
package_name: de.gecco
derivation: constraint
name: SexAssignedAtBirth
type: Observation
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            socialHistory:
              match: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                _required: true
                index: 4
                elements:
                  system: {index: 5}
                  code: {index: 6}
                required: [system, code]
    required: [coding]
  code:
    mustSupport: true
    index: 7
    elements:
      coding:
        mustSupport: true
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            loinc:
              match: {code: 76689-9, system: 'http://loinc.org'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: 76689-9, system: 'http://loinc.org'}
                _required: true
                index: 9
                elements:
                  system: {index: 10}
                  code: {index: 11}
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 12
  value:
    mustSupport: true
    choices: []
    index: 14
  valueCodeableConcept:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/birth-sex'}
    mustSupport: true
    index: 15
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/birth-sex'}
            mustSupport: true
            _required: true
            index: 15
            elements:
              coding: {index: 16}
            required: [coding]
  bodySite: {index: 17}
  specimen: {index: 18}
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/sex-assigned-at-birth
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '0.9'
required: [value, subject, valueCodeableConcept, category]