FHIR Chat · converting hedis bulk data to fhir format · bulk data

Stream: bulk data

Topic: converting hedis bulk data to fhir format


view this post on Zulip Vasyl Herman (Apr 07 2021 at 17:01):

Hello, folks!
I got a test deck from HEDIS (ncqa.org). It's basically quite similar to FHIR bulk data, every new line is a string that represents some FHIR resource.
For example, first line form Patients' file:

const str = "95000           F19460512LastName            FirstName           A95000           Address1                                          Address2                                          City                          AB999999999999999PFirstName               PPLastName                01122191314151617181"
const patient = {
    resourceType: "Patient",
    id: str.slice(0,16).trim(),
    gender: (function (){
        let sex = str.slice(16,17).trim()
        if (sex === "F") {
            return "Female"
        } else if (sex === "M"){
            return "Male"
        } else {
            return "Undefined"
        }
    }())
}
console.log(patient)

Will return:

{ resourceType: 'Patient', id: '95000', gender: 'Female' }

I am wondering if there is any open-source or commercial solution to convert HEDIS bulk data into FHIR resource.
I'd appreciate any help!


Last updated: Apr 12 2022 at 19:14 UTC