Giter Site home page Giter Site logo

Comments (3)

pacmano1 avatar pacmano1 commented on June 2, 2024 1

If you don't post code, you rarely will get help here.

from connect.

jonbartels avatar jonbartels commented on June 2, 2024 1

This should be moved to a Discussion.

Post the code or mappings that lead to this error please.

from connect.

VivekSinghBi avatar VivekSinghBi commented on June 2, 2024

Sorry, I am new. I used drag and drop functionality to map those values. I have shared below.
Any implementation guide would be helpful for the CCDA integration.

/GETTING PROPER MAPPING OF ALL THE DATA ELEMENTS INSIDE PROGRESS NOTES/

tmp['recordTarget']['patientRole']['id'][0] = msg['row'][1]['patient_id'].toString();
tmp['recordTarget']['patientRole']['patient']['name']['given'][0] = msg['row'][1]['given_name'].toString();
tmp['recordTarget']['patientRole']['patient']['name']['family'] = msg['row'][1]['family_name'].toString();
tmp['recordTarget']['patientRole']['patient']['administrativeGenderCode']['@code'] = msg['row'][1]['sex_code'].toString();
tmp['recordTarget']['patientRole']['patient']['administrativeGenderCode']['@DisplayName'] = msg['row'][1]['gender'].toString();
tmp['recordTarget']['patientRole']['patient']['birthTime']['@value'] = msg['row'][1]['date_of_birth'].toString();
tmp['recordTarget']['patientRole']['addr']['streetAddressLine'] = msg['row'][1]['address_lines'].toString();
tmp['recordTarget']['patientRole']['addr']['city'] = msg['row'][1]['address_city'].toString();
tmp['recordTarget']['patientRole']['addr']['state'] = msg['row'][1]['address_state'].toString();
tmp['recordTarget']['patientRole']['addr']['postalCode'] = msg['row'][1]['postal_code'].toString();
tmp['informant'][0]['assignedEntity']['telecom'] = msg['row'][1]['telephone'].toString();
tmp['recordTarget']['patientRole']['providerOrganization']['id'] = msg['row'][1]['npi'].toString();
tmp['component']['structuredBody']['component'][0]['section']['code']['@code']=msg['row'][1]['LOINC_Code'].toString();
tmp['component']['structuredBody']['component'][0]['section']['title']=msg['row'][1]['Display_name'].toString();

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.