Lean Gender Extension
These are the details for this resource:
You need a license to run FQL queries
Context
You need a license to run FQL queries
Resource content
These are different views on this resource:
This is the tree view:
| LeanGenderExtension (Extension) | C | | Extension | There are no (further) constraints on this element Element idExtension Short descriptionOptional Extensions Element DefinitionOptional Extension Element - found in all resources.
Data typeExtension ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists() Mappings |
| id | | 0..1 | string | There are no (further) constraints on this element Element idExtension.id Short descriptionUnique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data typestring Mappings |
| extension | C | 0..0 | Extension | There are no (further) constraints on this element Element idExtension.extension Short descriptionAdditional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
CommentsThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Data typeExtension SlicingUnordered, Open, by url(Value) Extensions are always sliced by (at least) url ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists() Mappings |
| url | | 1..1 | uriFixed Value | Element idExtension.url Short descriptionidentifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL.
CommentsThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Data typeuri Fixed valuehttp://lean.sa/fhir/lean/core/StructureDefinition/extension-gender Mappings |
| value[x] | | 1..1 | Binding | Element idExtension.value[x] Short descriptionValue of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
BindingSaudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. LeanPatientGenderValueSet (required) ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) Mappings |
| valueCodeableConcept | | | CodeableConcept | Data type CodeableConcept |
This is the detailed view:
| Extension | C |
| Short | Optional Extensions Element |
| Definition | Optional Extension Element - found in all resources.
|
| Cardinality | 0..1 |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
| Mappings | |
| Extension.id | |
| Short | Unique id for inter-element referencing |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
|
| Cardinality | 0..1 |
| Type | string |
| Mappings | |
| Extension.extension | C |
| Short | Additional content defined by implementations |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
|
| Cardinality | 0..0 |
| Type | Extension |
| Alias | extensions, user content |
| Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
| Mappings | |
| Extension.url | |
| Short | identifies the meaning of the extension |
| Definition | Source of the definition for the extension code - a logical name or a URL.
|
| Cardinality | 1..1 |
| Type | uri |
| Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
|
| Fixed Value | http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender |
| Mappings | |
| Extension.value[x] | |
| Short | Value of extension |
| Definition | Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).
|
| Cardinality | 1..1 |
| Type | CodeableConcept |
| Binding | Saudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. LeanPatientGenderValueSet (required) |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
|
| Mappings | |
This is the resource in XML:
<id value="lean-gender-extension" />
<url value="http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender" />
<name value="LeanGenderExtension" />
<title value="Patient Gender" />
<value value="info@lean.sa" />
</telecom>
</contact>
<description value="To map and write gender codes defined by the Saudi-Health-Data-Dictionary-v2.pdf. There are additional codes than just male and female defined by this specification. Use this extension along with Patient.gender element. \nSaudi-Health-Data-Dictionary-v2.pdf includes a data element for Sex, intended to support the exchange of a recorded sex value. This extension aligns with this definition of Sex: "This field contains a code which defines the sex of the patient." It enables systems to share the sex value as it was documented in a particular context. " />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<path value="Extension" />
<short value="Optional Extensions Element" />
<definition value="Optional Extension Element - found in all resources." />
<path value="Extension" />
</base>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.id" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<path value="Element.id" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
</mapping>
</element>
<path value="Extension.extension" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
</slicing>
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<path value="Element.extension" />
</base>
<code value="Extension" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.url" />
<short value="identifies the meaning of the extension" />
<definition value="Source of the definition for the extension code - a logical name or a URL." />
<comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." />
<path value="Extension.url" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<fixedUri value="http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender" />
</mapping>
</element>
<path value="Extension.value[x]" />
<short value="Value of extension" />
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)." />
<path value="Extension.value[x]" />
</base>
<code value="CodeableConcept" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<description value="Saudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. " />
<valueSet value="http://lean.sa/fhir/lean/core/ValueSet/patient-gender" />
</binding>
</mapping>
</mapping>
</element>
</snapshot>
<path value="Extension" />
</element>
<path value="Extension.extension" />
</element>
<path value="Extension.url" />
<fixedUri value="http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender" />
</element>
<path value="Extension.value[x]" />
<code value="CodeableConcept" />
</type>
<description value="Saudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. " />
<valueSet value="http://lean.sa/fhir/lean/core/ValueSet/patient-gender" />
</binding>
</element>
</differential>
</StructureDefinition>
This is the resource in JSON:
{
"id": "lean-gender-extension",
"url": "http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender",
"name": "LeanGenderExtension",
"title": "Patient Gender",
],
"description": "To map and write gender codes defined by the Saudi-Health-Data-Dictionary-v2.pdf. There are additional codes than just male and female defined by this specification. Use this extension along with Patient.gender element. \nSaudi-Health-Data-Dictionary-v2.pdf includes a data element for Sex, intended to support the exchange of a recorded sex value. This extension aligns with this definition of Sex: \"This field contains a code which defines the sex of the patient.\" It enables systems to share the sex value as it was documented in a particular context. ",
{
"uri": "http://hl7.org/v3",
}
],
],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
{
"short": "Optional Extensions Element",
"definition": "Optional Extension Element - found in all resources.",
},
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
]
},
{
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
},
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
]
},
{
"id": "Extension.extension",
"path": "Extension.extension",
],
"description": "Extensions are always sliced by (at least) url",
},
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"extensions",
"user content"
],
"path": "Element.extension",
},
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
]
},
{
],
"short": "identifies the meaning of the extension",
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
},
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"fixedUri": "http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender",
]
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"short": "Value of extension",
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
"path": "Extension.value[x]",
},
{
"code": "CodeableConcept"
}
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"description": "Saudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. ",
"valueSet": "http://lean.sa/fhir/lean/core/ValueSet/patient-gender"
},
]
}
]
},
{
},
{
"id": "Extension.extension",
"path": "Extension.extension",
},
{
"fixedUri": "http://lean.sa/fhir/lean/core/StructureDefinition/extension-gender"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
{
"code": "CodeableConcept"
}
],
"description": "Saudi-Health-Data-Dictionary-v2.pdf defined gender codes. Use these along with Patient.gender code. ",
"valueSet": "http://lean.sa/fhir/lean/core/ValueSet/patient-gender"
}
}
]
}
}
Terminology Bindings
These are the terminology bindings within this resource:
You need a license to run FQL queries
Constraints
These are the constraints (invariants) defined within this resource:
You need a license to run FQL queries