Canadian Core
0.1.0 - CI Build

Canadian Core, published by Canadian FHIR Implementor Working Group. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/scratch-fhir-profiles/CA-Core/ and changes regularly. See the Directory of published versions

Extension: Birth Sex

A code classifying the person’s sex assigned at birth. Replicates the birthsex extension in US-Core-R4 for interoperability.

The official URL for this extension is:

http://hl7.org/fhir/ca/core/StructureDefinition/ext-patientbirthsex

Status: draft
Extension maintained by: Canadian FHIR Implementor Working Group

Context of Use

This extension may be used on the following element(s):

  • Patient

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Mandatory: 3 elements
Must-Support: 2 elements
Fixed Value: 1 element

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this (Closed)

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... url S1..1uri"http://hl7.org/fhir/ca/core/StructureDefinition/ext-patientbirthsex"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueCoding S1..1CodingValue of extension
Binding: Birth Sex (example): Code for sex assigned at birth

..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 0..1stringOptional description of the sex at birth code

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url S1..1uri"http://hl7.org/fhir/ca/core/StructureDefinition/ext-patientbirthsex"
.... value[x]:valueCoding S1..1CodingValue of extension
Binding: Birth Sex (example): Code for sex assigned at birth

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringOptional description of the sex at birth code
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 3 elements
Must-Support: 2 elements
Fixed Value: 1 element

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this (Closed)

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... url S1..1uri"http://hl7.org/fhir/ca/core/StructureDefinition/ext-patientbirthsex"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueCoding S1..1CodingValue of extension
Binding: Birth Sex (example): Code for sex assigned at birth

..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 0..1stringOptional description of the sex at birth code

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url S1..1uri"http://hl7.org/fhir/ca/core/StructureDefinition/ext-patientbirthsex"
.... value[x]:valueCoding S1..1CodingValue of extension
Binding: Birth Sex (example): Code for sex assigned at birth

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringOptional description of the sex at birth code
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

 

Other representations of extension: Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueCodingexampleBirthSex

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCodingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCoding.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.value[x]:valueCoding.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.value[x]:valueCoding.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCoding.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCoding.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCoding.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueCoding.userSelectedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())