Id: SupplementalDataElementsQICore4 Url: Supplemental Data Elements QICore4 Version: 0.1.0 Name: SupplementalDataElementsQICore4 Title: Supplemental Data Elements QICore4 Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-02-27 18:11:00+0000 Publisher: HL7 International - [Some] Work Group Jurisdiction: US Related Artifacts: Dependencies http://hl7.org/fhir/Library/QICore-ModelInfo http://cms.gov/fhir/mct/Library/FHIRHelpers|4.0.013 Ethnicity ONC Administrative Sex Payer Race Parameters: Name Type Min Max In/Out Patient Resource 0 1 Out SDE Ethnicity CodeableConcept 0 1 Out SDE Payer Resource 0 * Out SDE Race CodeableConcept 0 1 Out SDE Sex Coding 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Coverage http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 Content: text/cql /*#xD; @update: BTR 2020-03-31 -&gt;#xD; Incremented version to 2.0.0#xD; #xD; @update: BTR 2022-05-26 -&gt;#xD; Updated FHIR version to 4.0.1#xD; Updated FHIRHelpers version to 4.0.002#xD; Updated for AU 2022 Content#xD; */#xD; #xD; library SupplementalDataElementsQICore4 version '3.0.000'#xD; #xD; using QICore version '4.1.1'#xD; #xD; include FHIRHelpers version '4.0.013' called FHIRHelpers#xD; #xD; valueset &quot;Ethnicity&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'#xD; valueset &quot;ONC Administrative Sex&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'#xD; valueset &quot;Payer&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'#xD; valueset &quot;Race&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'#xD; #xD; context Patient#xD; #xD; define &quot;SDE Ethnicity&quot;:#xD; Patient.ethnicity E#xD; return Concept {#xD; codes: { E.ombCategory } union E.detailed,#xD; display: E.text#xD; }#xD; #xD; define &quot;SDE Payer&quot;:#xD; [Coverage: type in &quot;Payer&quot;] Payer#xD; return {#xD; code: Payer.type,#xD; period: Payer.period#xD; }#xD; #xD; define &quot;SDE Race&quot;:#xD; Patient.race R#xD; return Concept {#xD; codes: R.ombCategory union R.detailed,#xD; display: R.text#xD; }#xD; #xD; define &quot;SDE Sex&quot;:#xD; case#xD; when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }#xD; when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }#xD; else null#xD; end#xD; Content: application/elm+xml Encoded data (43792 characters) Content: application/elm+json Encoded data (78188 characters)