description: A code classifying the person's sex assigned at birth. Replicates the birthsex extension in US-Core-R4 for interoperability. package_name: ca.healthpei.io.core derivation: constraint name: ExtensionBirthSex type: Extension elements: extension: {index: 0} url: pattern: {type: uri, value: 'http://healthpei.ca/fhir/StructureDefinition/ext-patientbirthsex'} mustSupport: true type: uri index: 1 value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 5 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 6 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 6} min: 1 max: 1 value[x]: elements: system: {index: 7} code: {index: 8} display: {short: Optional description of the sex at birth code, index: 9} required: [code, system] package_version: 0.1.1-DFT extensions: {} class: extension kind: complex-type url: http://healthpei.ca/fhir/StructureDefinition/ext-patientbirthsex base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.3.1 required: [value, valueCoding]