PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@0.2.0-dft-ballot
    http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
description: Recorded sex or gender (RSG) information includes the various sex and gender concepts that are often used in existing systems but are known NOT to represent a gender identity, sex parameter for clinical use, or attributes related to sexuality, such as sexual orientation, sexual activity, or sexual attraction. Examples of recorded sex or gender concepts include administrative gender, administrative sex, and sex assigned at birth.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/). This extension is published in this guide to pre-adopt an extension published in R5. This extension is an R4 (4.0.1) conversion of the canonical extension published in the R5 [FHIR Extensions Pack](http://hl7.org/fhir/extensions/1.0.0/StructureDefinition-individual-recordedSexOrGender.html).  Implementers are advised to take note that the data type for the extension part sourceDocument (Reference) is not forwards compatible to the R5 type for that part (CodeableReference). No other material differences are present between the R4 extension published in this guide and R5 extension published the FHIR Extensions Pack.
package_name: ca.infoway.io.core
derivation: constraint
name: RecordedSexOrGender
type: Extension
elements:
  extension:
    type: Extension
    short: The recorded sex or gender property for the individual
    index: 0
    slicing:
      slices:
        value:
          match: {}
          schema:
            type: Extension
            short: The recorded sex or gender property for the individual
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: value}
                index: 2
              value:
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
            required: [value, valueCodeableConcept]
        type:
          match: {}
          schema:
            short: Type of recorded sex or gender.
            type: Extension
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: type}
                index: 8
              value:
                choices: [valueCodeableConcept]
                index: 10
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
            required: [value, valueCodeableConcept]
        effectivePeriod:
          match: {}
          schema:
            type: Extension
            short: When the recorded sex or gender value applies
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              url:
                type: uri
                pattern: {type: Uri, value: effectivePeriod}
                index: 14
              value:
                choices: [valuePeriod]
                index: 16
              valuePeriod: {type: Period, choiceOf: value, index: 17}
        acquisitionDate:
          match: {}
          schema:
            type: Extension
            short: When the sex or gender value was recorded.
            index: 18
            extensions: {}
            elements:
              extension: {index: 19}
              url:
                type: uri
                pattern: {type: Uri, value: acquisitionDate}
                index: 20
              value:
                choices: [valueDateTime]
                index: 22
              valueDateTime: {type: dateTime, choiceOf: value, index: 23}
            required: [valueDateTime, value]
        sourceDocument:
          match: {}
          schema:
            short: The document the sex or gender property was acquired from.
            type: Extension
            index: 24
            extensions: {}
            elements:
              extension: {index: 25}
              url:
                type: uri
                pattern: {type: Uri, value: sourceDocument}
                index: 26
              value:
                choices: [valueReference]
                index: 28
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 29
            required: [valueReference, value]
        sourceField:
          match: {}
          schema:
            short: The name of the field within the source document where this sex or gender property is initially recorded.
            type: Extension
            index: 30
            extensions: {}
            elements:
              extension: {index: 31}
              url:
                type: uri
                pattern: {type: Uri, value: sourceField}
                index: 32
              value:
                choices: [valueString]
                index: 34
              valueString: {type: string, choiceOf: value, index: 35}
            required: [valueString, value]
        jurisdiction:
          match: {}
          schema:
            short: Who issued the document where the sex or gender was aquired
            type: Extension
            index: 36
            extensions: {}
            elements:
              extension: {index: 37}
              url:
                type: uri
                pattern: {type: Uri, value: jurisdiction}
                index: 38
              value:
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 41}
            required: [value, valueCodeableConcept]
        comment:
          match: {}
          schema:
            type: Extension
            short: Context or source information about the recorded sex or gender
            index: 42
            extensions: {}
            elements:
              extension: {index: 43}
              url:
                type: uri
                pattern: {type: Uri, value: comment}
                index: 44
              value:
                choices: [valueString]
                index: 46
              valueString: {type: string, choiceOf: value, index: 47}
            required: [valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender'}
    index: 48
  value:
    choices: []
    index: 50
package_version: 0.2.0-dft-ballot
extensions:
  value:
    url: null
    type: Extension
    short: The recorded sex or gender property for the individual
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: value}
        index: 2
      value:
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
    required: [value, valueCodeableConcept]
  type:
    url: null
    short: Type of recorded sex or gender.
    type: Extension
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: type}
        index: 8
      value:
        choices: [valueCodeableConcept]
        index: 10
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
    required: [value, valueCodeableConcept]
  effectivePeriod:
    url: null
    type: Extension
    short: When the recorded sex or gender value applies
    index: 12
    extensions: {}
    elements:
      extension: {index: 13}
      url:
        type: uri
        pattern: {type: Uri, value: effectivePeriod}
        index: 14
      value:
        choices: [valuePeriod]
        index: 16
      valuePeriod: {type: Period, choiceOf: value, index: 17}
  acquisitionDate:
    url: null
    type: Extension
    short: When the sex or gender value was recorded.
    index: 18
    extensions: {}
    elements:
      extension: {index: 19}
      url:
        type: uri
        pattern: {type: Uri, value: acquisitionDate}
        index: 20
      value:
        choices: [valueDateTime]
        index: 22
      valueDateTime: {type: dateTime, choiceOf: value, index: 23}
    required: [valueDateTime, value]
  sourceDocument:
    url: null
    short: The document the sex or gender property was acquired from.
    type: Extension
    index: 24
    extensions: {}
    elements:
      extension: {index: 25}
      url:
        type: uri
        pattern: {type: Uri, value: sourceDocument}
        index: 26
      value:
        choices: [valueReference]
        index: 28
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
        index: 29
    required: [valueReference, value]
  sourceField:
    url: null
    short: The name of the field within the source document where this sex or gender property is initially recorded.
    type: Extension
    index: 30
    extensions: {}
    elements:
      extension: {index: 31}
      url:
        type: uri
        pattern: {type: Uri, value: sourceField}
        index: 32
      value:
        choices: [valueString]
        index: 34
      valueString: {type: string, choiceOf: value, index: 35}
    required: [valueString, value]
  jurisdiction:
    url: null
    short: Who issued the document where the sex or gender was aquired
    type: Extension
    index: 36
    extensions: {}
    elements:
      extension: {index: 37}
      url:
        type: uri
        pattern: {type: Uri, value: jurisdiction}
        index: 38
      value:
        choices: [valueCodeableConcept]
        index: 40
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 41}
    required: [value, valueCodeableConcept]
  comment:
    url: null
    type: Extension
    short: Context or source information about the recorded sex or gender
    index: 42
    extensions: {}
    elements:
      extension: {index: 43}
      url:
        type: uri
        pattern: {type: Uri, value: comment}
        index: 44
      value:
        choices: [valueString]
        index: 46
      valueString: {type: string, choiceOf: value, index: 47}
    required: [valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0
required: [extension]