Extension: Patient Sexual Orientation
URL for this extension:
- Production
- Preview
https://fhir.netsmartcloud.com/uscore/v1/StructureDefinition/patient-sexualOrientation
https://fhirtest.netsmartcloud.com/uscore/v1/StructureDefinition/patient-sexualOrientation
Status: draft
A custom sexual orientation value supported by the US Core v1 implementation or solution.
Context of Use
This extension may be used on the Patient resource.
Supported CareRecords
This extension is supported by the following CareRecords:
- myAvatar
Formal Views of Extension Content
Differential Table
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| Extension | 0..1 | Extension | Patient Sexual Orientation | |
| - url | 1..1 | uri | "[base]/StructureDefinition/patient-sexualOrientation" | |
| - value[x] | 1..1 | CodeableConcept | Sexual Orientation Binding: This is bound to a dictionary configured in CareRecord and may vary by organization. |
Terminology Bindings
| Path | Conformance | ValueSet |
|---|---|---|
| Extension.value[x] | extensible | This is bound to a dictionary configured in myAvatar and may vary by organization. |
Constraints
| Id | Grade | Path(s) | Details | Requirements |
|---|---|---|---|---|
| ele-1 | error | ALL elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | ALL extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Examples
{
"resourceType": "Patient",
"id": "123",
"extension": [
{
"url": "https://fhir.netsmartcloud.com/uscore/v1/StructureDefinition/patient-sexualOrientation",
"valueCodeableConcept": {
"coding": [
{
"code": "5" // Defined Sexual Orientation Code in myAvatar
}
]
}
}
// additional extensions
],
// other Patient content
}