Announcement

Collapse
No announcement yet.

JSON transform to HL7 v2?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSON transform to HL7 v2?

    I am new to this. How do I transform this JSON to HL7 v2?

    {
    "header": {
    "statusCode": 200,
    "message": "Appointment note retrieved successfully."
    },
    "payload": {
    "appointmentNote": {
    "basicDetails": {
    "firstName": [
    "Isabella"
    ],
    "lastName": [
    "Zhang"
    ],
    "mrn": [
    "0011999004"
    ],
    "dob": [
    "01-04-1988"
    ],
    "gender": [
    "FEMALE"
    ],
    "ssn": [
    "XXX-XX-XXXX"
    ],
    "race": [
    "Non hispanic"
    ],
    "preferredPharmacy": [
    "Cvs"
    ],
    "dateOfService": [
    "2021-03-05 10:37"
    ],
    "timezone": [
    "CST"
    ],
    "typeOfService": [
    "Office or Other Outpatient Services"
    ]
    },
    "medicalDetails": {
    "cc": [
    "Abnormal mammogram"
    ],
    "hpi": [
    "This is a 33 y.o. female here for a second opinion on a mammogram.
    Baseline SIT symptom inventory positive for moderate constipation.
    Baseline SIT symptom inventory negative for diarrhea, edema, mouth
    soreness, bleeding, pain, fatigue, nausea, disturbed sleep, distress,
    SOB, memory difficulty, anorexia, drowsiness, xerostomia, sadness,
    vomiting, numbness/tingling. CIPN screen is unremarkable."
    ],
    "sitSymptoms": [
    "Severe: ",
    "Moderate: Constipation",
    "Mild: ",
    "Negative: Diarrhea, edema, mouth soreness, bleeding, pain, fatigue,
    nausea, disturbed sleep, distress, SOB, memory difficulty, anorexia,
    drowsiness, xerostomia, sadness, vomiting, numbness/tingling"
    ],
    "sitQol": [
    "High: Mood, walking, family acceptance",
    "Average: General activity, social interactions, enjoyment, libido,
    overall quality of life",
    "Low: Work, sense of hope"
    ],
    "cipn": [
    "Grade 4: ",
    "Grade 3: ",
    "Grade 2: ",
    "Grade 1: ",
    "Grade 0: "
    ],
    "meds": [],
    "treatmentHx": [
    " Estrogen hx is significant for OCPs (3). "
    ],
    "pmh": [
    "Asthma (2014), Seasonal allergies, hay fever (seasonal allergies)"
    ],
    "sh": [
    "Heterosexual, currently smoking : 3 packs/wk, denies past smoking,
    denies EtOH, past drinking: consumes but frequency not provided, IDU:
    Heroin for 2 years, denies past drug use"
    ],
    "psh": [
    "Direct hernia (2020)"
    ],
    "fh": [
    "F - diabetes",
    "Sister - diabetes type 2",
    "M - breast cancer",
    "Cousin(dad's side) - cystic fibrosis",
    "Denies cancer, cardiomyopathy, CAD, CF, HLD, HTN, SLE, PVD, SC, HbS,
    genetic disorder"
    ],
    "all": [
    "Soy, Sulfa medication, Sulfa medication, Fish"
    ],
    "gynHx": [
    "LMP 02/09/2021, regular, interval 28 days, duration 7 days. Menses at
    15. Ovaries present, uterus present. "
    ],
    "ros": [
    "GEN: Denies fever",
    "EYES: Denies diplopia",
    "ENT: +bleeding gums.",
    "CV: Denies chest pain",
    "RESP: Denies cough",
    "GI: Denies hematemesis",
    "GU: Denies dysuria",
    "MSK: Denies muscle cramps",
    "SKIN: Denies new moles",
    "BREAST: Denies breast pain",
    "NEURO: Denies syncope",
    "PSYCH: Denies depression",
    "ENDO: Denies excessive hair growth",
    "HEME/LYMPH: Denies bruising",
    "ALL/IMM: Denies frequent infections"
    ],
    "finalPatientSymptomsComments": []
    }
    }
    }
    }

  • #2
    Read the forum etiquette please.

    https://forums.mirthproject.io/artic...orum-etiquette

    This forum is not a coding factory. Give it a try and folks always jump in to help.
    Diridium Technologies, Inc.
    https://diridium.com

    Comment


    • #3
      Friend, I am not asking for code. I am asking where do I start?

      Comment


      • #4
        A Google returns a YouTube video to get you started with some fundamentals.

        https://youtu.be/GfpHd8_u6mk

        And there are many questions here on this forum that deal with that.

        At hl7.org you can find downloadable specifications for HL7. The thing that you are integrating with will define what version of HL7 that you need to conform to. The problem you will likely find is that not all of your JSON data you posted has a defined place in the specification. That usually means the downstream system or vendor needs to tell you where they want the information from an HL7 message perspective. They usually have their own specification that mirrors most parts of the specifications at hl7.org but “enhances” it with their perhaps custom requirements.
        Last edited by pacmano; 04-08-2021, 02:35 AM.
        Diridium Technologies, Inc.
        https://diridium.com

        Comment

        Working...
        X