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": []
}
}
}
}
{
"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": []
}
}
}
}
Comment