Skip to main content

Extension: Patient Custom Race

URL for this extension:

https://fhir.netsmartcloud.com/uscore/v1/StructureDefinition/patient-custom-race

Status: draft

A custom race value supported by US Core v1 implementations.

Context of Use​

This extension may be used on the Patient resource.

Supported CareRecords​

This extension is supported by the following solutions:

  • myAvatar

Formal Views of Extension Content​

Differential Table​

NameFlagsCard.TypeDescription & Constraints
Extension0..1ExtensionPatient Custom Race
- url1..1uri"[base]/StructureDefinition/patient-custom-race"
- value[x]1..1CodeableConceptCustom Race
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 the implementation 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/uscore/v1/StructureDefinition/patient-custom-race",
"valueCodeableConcept": {
"coding": [
{
"code": "12" // Defined Race Code in myAvatar
}
]
}
}
// additional extensions
],
// other Patient content
}