Id: SupplementalDataElements Url: http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements Version: 3.4.000 Identifier: value: SupplementalDataElements Name: SupplementalDataElements Title: SupplementalDataElements Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-09-06T20:02:05+00:00 Publisher: ICF Description: This is the QI-Core version of the Supplemental Data Elements library containing the CMS SDE definitions for Payer, Race, Ethnicity and Gender Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter 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 ->#xD; Incremented version to 2.0.0#xD; #xD; @update: BTR 2022-05-26 ->#xD; Updated FHIR version to 4.0.1#xD; Updated FHIRHelpers version to 4.0.002#xD; Updated for AU 2022 Content#xD; #xD; @update: JSR 2023-07-18#xD; Updated "Payer" value set name to "Payer Type"#xD; #xD; @update: JSR 2023-07-20 ->#xD; Updated FHIRHelpers version to 4.3.000#xD; */#xD; library SupplementalDataElements version '3.4.000' #xD; using QICore version '4.1.1' #xD; include FHIRHelpers version '4.3.000' called FHIRHelpers#xD; #xD; valueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'#xD; valueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'#xD; valueset "Payer Type": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'#xD; valueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'#xD; #xD; context Patient#xD; #xD; define "SDE Ethnicity":#xD; Patient.ethnicity E#xD; return Tuple {#xD; codes: { E.ombCategory } union E.detailed,#xD; display: E.text#xD; }#xD; #xD; define "SDE Payer":#xD; [Coverage: type in "Payer Type"] Payer#xD; return {#xD; code: Payer.type,#xD; period: Payer.period#xD; }#xD; #xD; define "SDE Race":#xD; Patient.race R#xD; return Tuple {#xD; codes: R.ombCategory union R.detailed,#xD; display: R.text#xD; }#xD; #xD; define "SDE Sex":#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 Content: application/elm+xml Encoded data (55472 characters) Content: application/elm+json Encoded data (76244 characters)
This is the QI-Core version of the Supplemental Data Elements library containing the CMS SDE definitions for Payer, Race, Ethnicity and Gender