FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/us-core-ethnicity

Packagehl7.fhir.us.core
Resource TypeStructureDefinition
Idus-core-ethnicity
FHIR VersionR4
Sourcehttp://hl7.org/fhir/us/core/https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-ethnicity.html
URLhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
Version8.0.0
Statusactive
Date2023-10-17
NameUSCoreEthnicityExtension
TitleUS Core Ethnicity Extension
Realmus
Authorityhl7
DescriptionConcepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.
PurposeComplies with 2015 Edition Common Clinical Data Set for patient race.
CopyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
qicore-patientQICore Patient
us-core-patientUS Core Patient Profile
ndh-PractitionerNDH Practitioner Profile
uds-plus-ethnicity-extensionUDS Plus Ethnicity Extension

Resources that this resource uses

ValueSet
2.16.840.1.113883.4.642.40.2.48.1Detailed Ethnicity Including Absence Reasons
2.16.840.1.113883.4.642.40.2.48.3Ethnicity Categories

Examples of Use for Extension

ResourceVersion
Bundle/2039212f3fa5406bb4ffd4aR4
Bundle/BDRMessageBundleBirthingExampleR4
Bundle/BDRMessageBundleExampleR4
Bundle/CREDSBundle-ExampleR4
Bundle/Complete-Document-Bundle-ExampleR4
Bundle/admit-notification-intermediate-translate-bundleR4
Bundle/admit-notification-intermediate-transmit-bundleR4
Bundle/admit-notification-message-bundle-01R4
Bundle/admit-notification-message-bundle-02R4
Bundle/bundle-at-home-in-vitro-test-results-s-trevorR4
Bundle/bundle-bser-referral-feedback-document-bundle-eve-everywomanR4
Bundle/bundle-bser-referral-message-bundle-eve-everywomanR4
Bundle/bundle-bser-referral-request-document-bundle-baby-everybabyR4
Bundle/bundle-bser-referral-request-document-bundle-eve-everywomanR4
Bundle/bundle-doc-mdi-dcr-ex1R4
Bundle/bundle-document-adeR4
Bundle/bundle-document-med-admin-patient-med-admin-1R4
Bundle/bundle-ecr-message-zikaR4
Bundle/bundle-eicr-document-zikaR4
Bundle/bundle-exampleR4
Bundle/bundle-exampleR4
Bundle/bundle-jurisdiction-fetal-death-not-namedR4
Bundle/bundle-jurisdiction-fetal-death-not-namedR4
Bundle/bundle-jurisdiction-live-birth-babyg-quinnR4
Bundle/bundle-jurisdiction-live-birth-babyg-quinnR4
Bundle/bundle-mdi-and-edrs-a-freemanR4
Bundle/bundle-mdi-tox-report-message-a-freemanR4
Bundle/bundle-msg-mdi-dcr-ex1R4
Bundle/bundle-provider-fetal-death-not-namedR4
Bundle/bundle-provider-fetal-death-not-namedR4
Bundle/bundle-provider-live-birth-babyg-quinnR4
Bundle/bundle-provider-live-birth-babyg-quinnR4
Bundle/bundle-rr-document-one-cond-one-phaR4
Bundle/discharge-notification-message-bundle-01R4
Bundle/mcode-patient-bundle-jenny-mR4
Bundle/multiple-indv-mrp-obs-reportR4
Bundle/multiple-indv-mrp-task-reportR4
Bundle/non-document-gaps-in-careR4
Bundle/ra-bundle01R4
Bundle/sde-example-patient-data-bundleR4
Bundle/single-gaps-closed-indv-report01R4
Bundle/single-gaps-closed-indv-report02R4
Bundle/single-gaps-open-indv-report01R4
Bundle/single-indv-col-obs-reportR4
Bundle/single-indv-mrp-obs-reportR4
Bundle/single-indv-mrp-task-reportR4
Bundle/single-indv-vte-report-option1R4
Bundle/single-indv-vte-report-option7R4
Bundle/submission-full-example1R4
Bundle/transfer-notification-message-bundle-01R4
Bundle/us-ph-content-bundle-exampleR4
Bundle/us-ph-document-bundle-exampleR4
Bundle/us-ph-reporting-bundle-exampleR4
Bundle/us-ph-response-bundle-exampleR4
MeasureReport/sde-exampleR4
Parameters/col-collect-obsR4
Parameters/col-submit-obsR4
Parameters/mrp-submit-obsR4
Parameters/mrp-submit-taskR4
Parameters/multiple-gaps-indv-report01R4
Parameters/multiple-gaps-indv-report02R4
Parameters/ra-submit-dataR4
Parameters/single-gaps-closed-indv-report01R4
Parameters/single-gaps-closed-indv-report02R4
Parameters/single-gaps-open-indv-report01R4
Patient/261989c3-688c-4941-b767-d8d4c871217cR4
Patient/CF-patientR4
Patient/MotherPatientExampleR4
Patient/PatientChildExampleR4
Patient/PatientNewbornExampleR4
Patient/alice-freeman-example-patientR4
Patient/bh-patient-exampleR4
Patient/cancer-patient-adam-everymanR4
Patient/cancer-patient-brian-lR4
Patient/cancer-patient-eve-anypersonR4
Patient/cancer-patient-jenny-mR4
Patient/cancer-patient-john-anypersonR4
Patient/cancer-patient-lucy-childR4
Patient/child-exampleR4
Patient/de-identified-age89-exampleR4
Patient/de-identified-exampleR4
Patient/de-identified-smallpop-exampleR4
Patient/deceased-exampleR4
Patient/exampleR4
Patient/exampleR4
Patient/exampleR4
Patient/exampleR4
Patient/exampleR4
Patient/exampleR4
Patient/exampleR3
Patient/exampleR4
Patient/example-dentalR4
Patient/example-nih-child-pihR4
Patient/example-nih-mother-pihR4
Patient/example1R4
Patient/gaps-patient01R4
Patient/gaps-patient02R4
Patient/hai-ltcf-resident-1R4
Patient/hai-patient-1R4
Patient/huffman-crystal-example-veteranR4
Patient/hugo-cross-example-veteranR4
Patient/infant-exampleR4
Patient/nhsn-iip-ip101R4
Patient/pat-53234R4
Patient/patient-ade-1R4
Patient/patient-allison-doe-exampleR4
Patient/patient-at-home-in-vitro-test-stacy-trevorR4
Patient/patient-bser-patient-baby-everybabyR4
Patient/patient-bser-patient-eve-everywomanR4
Patient/patient-bser-patient-mom-everymomR4
Patient/patient-child-babyg-quinnR4
Patient/patient-child-babyg-quinnR4
Patient/patient-child-babyg-quinn-w-editR4
Patient/patient-child-bobby-doe-exampleR4
Patient/patient-child-jane-smith-exampleR4
Patient/patient-child-john-smith-exampleR4
Patient/patient-child-peter-doe-exampleR4
Patient/patient-child-vr-babyg-quinn-commonR4
Patient/patient-child-vr-babyg-quinn-common-1R4
Patient/patient-child-vr-babyg-quinn-w-editR4
Patient/patient-ecr-eve-everywomanR4
Patient/patient-exampleR4
Patient/patient-exampleR4
Patient/patient-example-Sally-SueR4
Patient/patient-example-ach-ach-pass1R4
Patient/patient-example-ach-ach-pass2R4
Patient/patient-example-ach-ach-pass3R4
Patient/patient-example-sameresultdiffdayR4
Patient/patient-harry-hypoglycemic-exampleR4
Patient/patient-jane-smith-exampleR4
Patient/patient-med-admin-1R4
Patient/patient-mother-birth-date-part-absentR4
Patient/patient-mother-carmen-teresa-leeR4
Patient/patient-mother-carmen-teresa-leeR4
Patient/patient-mother-carmen-teresa-lee-w-editR4
Patient/patient-mother-jada-ann-quinnR4
Patient/patient-mother-jada-ann-quinnR4
Patient/patient-mother-jada-ann-quinn-w-editR4
Patient/patient-mother-vr-birth-date-part-absentR4
Patient/patient-mother-vr-jada-ann-quinn-commonR4
Patient/patient-odh-maya-gordonR4
Patient/patient-respnet-eve-everywomanR4
Patient/patient01R4
Patient/patient02R4
Patient/patient03R4
Patient/patientBSJ1R4
Patient/philip-scott-example-veteranR4
Patient/ra-patient01R4
Patient/ra-patient02R4
Patient/ra-patient03R4
Patient/smallpop-exampleR4
Patient/subject1R3
Patient/test2R3
Patient/us-core-patient-a-freemanR4
Patient/us-core-patient-vr-a-freemanR4
Patient/us-core-patient-vr-a-freemanR4
Patient/us-ph-patient-eve-everywomanR4
Patient/vrdr-decedent-dcr-ex1R4
RelatedPerson/relatedperson-child-bobby-doe-exampleR4
RelatedPerson/relatedperson-child-peter-doe-exampleR4
RelatedPerson/relatedperson-father-natural-james-brandon-quinnR4
RelatedPerson/relatedperson-father-natural-tom-yan-leeR4
RelatedPerson/relatedperson-jane-smith-exampleR4
RelatedPerson/relatedperson-mother-carmen-teresa-leeR4
RelatedPerson/relatedperson-mother-jada-ann-quinnR4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition us-core-ethnicity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionUS Core ethnicity Extension
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:ombCategory S0..1ExtensionHispanic or Latino|Not Hispanic or Latino
..... url 1..1uri"ombCategory"
..... value[x] 1..1CodingValue of extension
Binding: Ethnicity Categories . (required)
.... extension:detailed 0..*ExtensionExtended ethnicity codes
..... url 1..1uri"detailed"
..... value[x] 1..1CodingValue of extension
Binding: Detailed Ethnicity Including Absence Reasons . (required)
.... extension:text S1..1Extensionethnicity Text
..... url 1..1uri"text"
..... value[x] 1..1stringValue of extension
... url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
... value[x] 0..0

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "us-core-ethnicity",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cgp"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.2.42.24"
    }
  ],
  "version": "8.0.0",
  "name": "USCoreEthnicityExtension",
  "title": "US Core Ethnicity Extension",
  "status": "active",
  "date": "2023-10-17",
  "publisher": "HL7 International / Cross-Group Projects",
  "contact": [
    {
      "name": "HL7 International / Cross-Group Projects",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cgp"
        },
        {
          "system": "email",
          "value": "cgp@lists.HL7.org"
        }
      ]
    }
  ],
  "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.",
  "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Patient"
    },
    {
      "type": "element",
      "expression": "RelatedPerson"
    },
    {
      "type": "element",
      "expression": "Person"
    },
    {
      "type": "element",
      "expression": "Practitioner"
    },
    {
      "type": "element",
      "expression": "FamilyMemberHistory"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "US Core ethnicity Extension",
        "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Extension.extension:ombCategory",
        "path": "Extension.extension",
        "sliceName": "ombCategory",
        "short": "Hispanic or Latino|Not Hispanic or Latino",
        "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "iso11179",
            "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode"
          }
        ]
      },
      {
        "id": "Extension.extension:ombCategory.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:ombCategory.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:ombCategory.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "ombCategory",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:ombCategory.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.3"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed",
        "path": "Extension.extension",
        "sliceName": "detailed",
        "short": "Extended ethnicity codes",
        "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "iso11179",
            "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "detailed",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.1"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:text",
        "path": "Extension.extension",
        "sliceName": "text",
        "short": "ethnicity Text",
        "definition": "Plain text representation of the ethnicity concept(s).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Extension.extension:text.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:text.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:text.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "text",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:text.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "uri"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "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](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "canonical"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "url"
          },
          {
            "code": "uuid"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "ContactDetail"
          },
          {
            "code": "Contributor"
          },
          {
            "code": "DataRequirement"
          },
          {
            "code": "Expression"
          },
          {
            "code": "ParameterDefinition"
          },
          {
            "code": "RelatedArtifact"
          },
          {
            "code": "TriggerDefinition"
          },
          {
            "code": "UsageContext"
          },
          {
            "code": "Dosage"
          },
          {
            "code": "Meta"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "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"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "US Core ethnicity Extension",
        "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Extension.extension:ombCategory",
        "path": "Extension.extension",
        "sliceName": "ombCategory",
        "short": "Hispanic or Latino|Not Hispanic or Latino",
        "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "iso11179",
            "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode"
          }
        ]
      },
      {
        "id": "Extension.extension:ombCategory.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "ombCategory"
      },
      {
        "id": "Extension.extension:ombCategory.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.3"
        }
      },
      {
        "id": "Extension.extension:detailed",
        "path": "Extension.extension",
        "sliceName": "detailed",
        "short": "Extended ethnicity codes",
        "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "iso11179",
            "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"
          }
        ]
      },
      {
        "id": "Extension.extension:detailed.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "detailed"
      },
      {
        "id": "Extension.extension:detailed.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.1"
        }
      },
      {
        "id": "Extension.extension:text",
        "path": "Extension.extension",
        "sliceName": "text",
        "short": "ethnicity Text",
        "definition": "Plain text representation of the ethnicity concept(s).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.extension:text.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "text"
      },
      {
        "id": "Extension.extension:text.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "min": 1,
        "max": "1",
        "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}