PackagesCanonicalsLogsProblems
    Packages
    de.gecco@1.0.4-rc.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:
  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]
  value[x]:
    elements:
      coding:
        index: 19
        elements:
          system: {index: 20}
          code: {index: 21}
        required: [system, code]
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  specimen: {index: 23}
  value:
    choices: [valueCodeableConcept]
    index: 17
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 17
  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]
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 18}
  bodySite: {index: 22}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 12
package_version: 1.0.4-rc.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: '1.0'
required: [value, subject, valueCodeableConcept, category]