Skip to main content

Extension: Patient Sexual Orientation

URL for this extension:

https://fhir.netsmartcloud.com/v4/StructureDefinition/patient-sexualOrientation

Status: draft

A custom sexual orientation value supported by the Netsmart CareRecord or solution.

Context of Use

This extension may be used on the Patient resource.

Supported CareRecords

This extension is supported by the following CareRecords:

  • Netsmart myAvatar

Formal Views of Extension Content

Differential Table

NameFlagsCard.TypeDescription & Constraints
Extension0..1ExtensionPatient Sexual Orientation
- url1..1uri"[base]/StructureDefinition/patient-sexualOrientation"
- value[x]1..1CodeableConceptSexual Orientation
Binding: This is bound to a dictionary configured in CareRecord and may vary by organization.

Terminology Bindings

PathConformanceValueSet
Extension.value[x]extensibleThis is bound to a dictionary configured in myAvatar and may vary by organization.

Constraints

IdGradePath(s)DetailsRequirements
ele-1errorALL elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorALL extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Examples

{
"resourceType": "Patient",
"id": "123",
"extension": [
{
"url": "https://fhir.netsmartcloud.com/v4/StructureDefinition/patient-sexualOrientation",
"valueCodeableConcept": {
"coding": [
{
"code": "5" // Defined Sexual Orientation Code in myAvatar
}
]
}
}
// additional extensions
],
// other Patient content
}