Data structure #chaincode


Matthew White
 

Hello;

 

Upfront I’ll say that I’m not familiar with the details or subtlies of 835/837 data (being from the UK); but understand they are healthcare records that would need a certain quality of handling.

 

When you get the position of have large amounts of data such as this it’s really important to ask – what exactly does need to be on the ledger? What really needs to be recorded and endorsed by all the organizations.   What *really* needs to be handled in the SmartContract…

 

Rich query on ledger data is slow; access via composite keys is quickly but needs care to establish the key structure (I always think about it as being a hierarchical database in terms of keys).

 

You say you are looking for inconsistencies – can that be done off ledger and confirmed by the contract and therefore by all endorsing organizations?

 

(if there’s a good summary of 835/837 data I’d be curious!)

 

Thanks Matthew

 

From: fabric@... <fabric@...> On Behalf Of FemGeek
Sent: 10 August 2022 17:19
To: fabric@...
Subject: [EXTERNAL] [Hyperledger Fabric] Data structure #chaincode

 

I have a large dataset consisting 369 fields of 835 and 837 data. I am tasked with capturing this data on the ledger to which would allow queries to be performed on the data. We are looking for inconsistencies within the data that could contribute

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

I have a large dataset consisting 369 fields of 835 and 837 data.  I am tasked with capturing this data on the ledger to which would allow queries to be performed on the data.  We are looking for  inconsistencies within the data that could contribute to revenue lost.  I have to compare both files to identify the inconsistencies but some of the data is nested and I'm not sure how to structure this data in the chaincode definition.  And is there a way to streamline this data from a Json file ?
Ex:
class DataReportsContract extends Contract {

 

    async init(ctx) {

 

        const records_ = [

 

            {

 

                claimID: "H2600057797101",

 

                medRecNum: "2000055415",

 

                provider: "Texas Health Presbyterian Hospital Denton",

 

                claimNum: 2215910728437,

 

                claimAmt: 5457.91,

 

                claimType: "A",

 

                placeofService: 13,

 

                claimFreqCode: 01,

 

                claimDate: 20220228-20220528,

 

                typeofAdm: "Emergency",

 

                originAdm: 1,

 

                patientStatCode: 01,

 

                ServiceLines:[
{ServiceTypeCode: HC,
ServiceCode: 77080,
Cas: [
{ Group Code: CO,
Reason Code: 193
Adjustment Quantity: 1}
]
},
}

 

           

 

Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU