Hiu implementation for milestone-3

@mdubey we are trying to send data to NDHM but it is not getting displayed in PHR app. We tried following Transaction IDs:

  • 8d221e05-202f-4571-a8e8-423760bf2375
  • 92866a53-962e-40d9-97e3-2b780838d052
  • 3b8681b1-d229-4118-9b23-5414bdf2ef54
  • b205ea13-8875-40be-a980-9aaca5adfd92
  • 64fb584b-19fb-453f-aaad-b359a0f1f4ea

Can you check what we are doing wrong?

Hi @bhaskar.dabhi,

For the transactionID 8d221e05-202f-4571-a8e8-423760bf2375 we see this error:

Unknown resource name “OPConsultRecord” (this name is not known in FHIR version “R4”)"

For transactionId 92866a53-962e-40d9-97e3-2b780838d052 we see this error:

Found incorrect type for element coding - Expected ARRAY and found OBJECT

For transactionId 3b8681b1-d229-4118-9b23-5414bdf2ef54 we see this error:

Invalid attribute value “2019-11-11T03-30-00.000Z”: Invalid date/time format: "2019-11-11T03-30-00.000Z\

We did not check for all of them. However we have a question, how are you generating the FHIR documents? Please use a FHIR library for your language so you will not face these datatype issues etc. You can find references for different language here.

Also please check a sample OPConsultationRecord here.

Thanks

@mdubey Actually, we are using the same library. Not sure why we missed above things.

Yesterday, we were able to post the data but only title is displayed not other parts like chief complaints. You can check for this:

Also for following we are not able to see the data in PHR:

Transaction ID: 4576ca92-cad3-4153-b6bb-c789a9003634


{ "resourceType": "Bundle", "id": "dcf092f4-5268-4fc4-b819-6768081545ce", "meta": { "security": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality", "code": "V", "display": "very restricted" } ] }, "timestamp": "2021-03-04T19:32:33+00:00", "identifier": { "value": "dcf092f4-5268-4fc4-b819-6768081545ce" }, "type": "document", "entry": [ { "fullUrl": "prescription/1006", "resource": { "id": "1006", "resourceType": "Composition", "identifier": { "use": "usual", "value": "1006" }, "status": "preliminary", "type": { "coding": [ { "system": "http://snomed.info/sct", "code": "440545006", "display": "Prescription record" } ], "text": "Prescription record" }, "title": "Prescription for Review Consultation -Child (SECONDARY CARE) (Visit: 104983)", "subject": { "reference": "patient/3465", "display": "LANDRY AFEKE (KB-A01-AAA3558)", "type": "Patient" }, "encounter": { "reference": "encounter/5261", "display": "VisitNo: 104983. Appointment for Review Consultation -Child (SECONDARY CARE)", "type": "Encounter" }, "date": "2019-10-07T12:30:00+00:00", "author": [ { "reference": "practitioner/4", "display": "Dr Priscilla Naana Vandyck-Sey", "type": "Practitioner" }, { "reference": "practitioner/5", "display": "Dr Henry Odartei Lawson", "type": "Practitioner" } ], "attester": [ { "reference": "practitioner/4", "display": "Dr Priscilla Naana Vandyck-Sey", "type": "Practitioner" }, { "reference": "practitioner/5", "display": "Dr Henry Odartei Lawson", "type": "Practitioner" } ], "custodian": { "reference": "Organization", "display": "Plus91", "type": "Organization" }, "section": [ { "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "721912009", "display": "Medication summary document" } ] }, "entry": [ { "reference": "medication-request/4466", "display": "ZINCOVIT (M000238 | ZINCOVIT | 200ML | Syrup)", "type": "MedicationRequest" }, { "reference": "medication-request/4465", "display": "CEFUROXIME (M000245 | ZINNAT | 125MG/5ML | Suspension)", "type": "MedicationRequest" } ] } ] } }, { "fullUrl": "patient/3465", "resource": { "resourceType": "Patient", "active": true, "address": [ { "city": "Accra", "country": "Ghana", "line": [ "DANSOMAN" ], "state": "Greater Accra Region", "text": "DANSOMAN, Accra, Greater Accra Region, Ghana", "type": "physical", "use": "home" } ], "contact": [ { "name": { "text": "DIANA", "use": "usual" }, "relationship": [ { "coding": [ { "code": "C", "system": "http://terminology.hl7.org/CodeSystem/v2-0131" } ] } ] } ], "gender": "male", "identifier": [ { "assigner": { "display": "Plus91" }, "system": "http://localhost/medixcel/", "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "KB-A01-AAA3558" } ], "managingOrganization": { "reference": "organization", "type": "Organization" }, "name": [ { "family": "AFEKE", "text": "LANDRY AFEKE", "use": "usual" } ], "telecom": [ { "system": "email", "use": "home", "value": "bhaskar.dabhi@plus91.in" }, { "system": "phone", "use": "home", "value": "9145645946" }, { "system": "phone", "use": "mobile", "value": "9145645946" } ], "birthDate": "2017-05-23", "id": "3465" } }, { "fullUrl": "encounter/5261", "resource": { "resourceType": "Encounter", "account": [ { "reference": "patient-account/3465", "type": "Account" } ], "appointment": [ { "reference": "appointment/5261", "type": "Appointment" } ], "class": { "code": "AMB", "system": "https://www.hl7.org/fhir/v3/ActCode/cs.html" }, "hospitalization": { "admitSource": { "coding": [ { "code": "outp", "system": "http://hl7.org/fhir/ValueSet/encounter-admit-source" } ] } }, "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "5261" } ], "length": { "value": 20 }, "location": [ { "location": { "reference": "clinic-location/1", "type": "Location" }, "period": { "end": "2019-10-07T12:50:00+00:00", "start": "2019-10-07T12:30:00+00:00" }, "status": "active" } ], "participant": [ { "individual": { "reference": "practitioner/4", "type": "Practitioner" }, "type": [ { "coding": [ { "code": "PPRF", "system": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } ] } ] }, { "individual": { "reference": "practitioner/5", "type": "Practitioner" }, "type": [ { "coding": [ { "code": "PPRF", "system": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } ] } ] } ], "period": { "end": "2019-10-07T12:50:00+00:00", "start": "2019-10-07T12:30:00+00:00" }, "priority": { "coding": [ { "code": "CSR", "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" } ] }, "reasonReference": [ { "reference": "procedure/5261", "type": "Procedure" } ], "serviceProvider": { "reference": "rganization", "type": "Organization" }, "status": "finished", "subject": { "reference": "patient/3465", "type": "Patient" }, "id": "5261" } }, { "fullUrl": "practitioner/4", "resource": { "resourceType": "Practitioner", "active": true, "gender": "female", "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "4" } ], "name": [ { "family": "Vandyck-Sey", "given": [ "Naana" ], "text": "Dr Priscilla Naana Vandyck-Sey", "use": "usual" } ], "telecom": [ { "system": "email", "use": "home", "value": "bhaskar.dabhi@plus91.in" }, { "system": "phone", "use": "home", "value": "0244231174" }, { "system": "phone", "use": "mobile", "value": "0244231174" } ], "id": "4" } }, { "fullUrl": "practitioner/4", "resource": { "resourceType": "Practitioner", "active": true, "gender": "female", "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "4" } ], "name": [ { "family": "Vandyck-Sey", "given": [ "Naana" ], "text": "Dr Priscilla Naana Vandyck-Sey", "use": "usual" } ], "telecom": [ { "system": "email", "use": "home", "value": "bhaskar.dabhi@plus91.in" }, { "system": "phone", "use": "home", "value": "0244231174" }, { "system": "phone", "use": "mobile", "value": "0244231174" } ], "id": "4" } }, { "fullUrl": "practitioner/5", "resource": { "resourceType": "Practitioner", "active": true, "gender": "male", "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "5" } ], "name": [ { "family": "Lawson", "text": "Dr Henry Odartei Lawson", "use": "usual" } ], "telecom": [ { "system": "email", "use": "home", "value": "bhaskar.dabhi@plus91.in" }, { "system": "phone", "use": "home", "value": "0206300706" }, { "system": "phone", "use": "mobile", "value": "0206300706" } ], "id": "5" } }, { "fullUrl": "practitioner/5", "resource": { "resourceType": "Practitioner", "active": true, "gender": "male", "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "5" } ], "name": [ { "family": "Lawson", "text": "Dr Henry Odartei Lawson", "use": "usual" } ], "telecom": [ { "system": "email", "use": "home", "value": "bhaskar.dabhi@plus91.in" }, { "system": "phone", "use": "home", "value": "0206300706" }, { "system": "phone", "use": "mobile", "value": "0206300706" } ], "id": "5" } }, { "fullUrl": "Organization", "resource": { "resourceType": "Organization", "active": true, "address": [ { "line": [ "Plus91" ], "text": "Plus91", "type": "physical", "use": "work" } ], "identifier": [ { "system": "http://localhost/medixcel/", "type": { "coding": [ { "code": "PRN", "display": "Provider number", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "value": "Plus91" } ], "name": "Plus91", "telecom": [ { "system": "url", "use": "work", "value": "http://localhost/medixcel/" } ], "id": "Organization" } }, { "fullUrl": "medication-request/4466", "resource": { "resourceType": "MedicationRequest", "authoredOn": "2019-10-07T05:49:28+00:00", "basedOn": [ { "reference": "service-request/5261", "type": "ServiceRequest" } ], "category": [ [] ], "dosageInstruction": [ { "sequence": 1, "text": "1-0-1" } ], "encounter": { "reference": "encounter/5261", "type": "Encounter" }, "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "4466" } ], "intent": "order", "medicationCodeableConcept": { "coding": [ { "display": "NA( NA )[ NA-NA ]", "system": "http://snomed.info/sct" } ] }, "medicationReference": { "reference": "medicine/238", "type": "Medication" }, "performer": { "display": "Dr Priscilla Naana Vandyck-Sey", "reference": "practitioner/4", "type": "Practitioner" }, "priority": "routine", "reasonReference": [ { "reference": "appointment/5261/condition", "type": "Condition" } ], "recorder": { "display": "Dr Priscilla Naana Vandyck-Sey", "reference": "practitioner/4", "type": "Practitioner" }, "requester": { "reference": "patient/3465", "type": "Patient" }, "status": "active", "subject": { "reference": "patient/3465", "type": "Patient" } } }, { "fullUrl": "medication-request/4465", "resource": { "resourceType": "MedicationRequest", "authoredOn": "2019-10-07T05:49:28+00:00", "basedOn": [ { "reference": "service-request/5261", "type": "ServiceRequest" } ], "category": [ [] ], "dosageInstruction": [ { "sequence": 1, "text": "1-0-1" } ], "encounter": { "reference": "encounter/5261", "type": "Encounter" }, "identifier": [ { "assigner": { "display": "Plus91" }, "type": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] }, "use": "usual", "value": "4465" } ], "intent": "order", "medicationCodeableConcept": { "coding": [ { "display": "NA( NA )[ NA-NA ]", "system": "http://snomed.info/sct" } ] }, "medicationReference": { "reference": "medicine/245", "type": "Medication" }, "performer": { "display": "Dr Priscilla Naana Vandyck-Sey", "reference": "practitioner/4", "type": "Practitioner" }, "priority": "routine", "reasonReference": [ { "reference": "appointment/5261/condition", "type": "Condition" } ], "recorder": { "display": "Dr Priscilla Naana Vandyck-Sey", "reference": "practitioner/4", "type": "Practitioner" }, "requester": { "reference": "patient/3465", "type": "Patient" }, "status": "active", "subject": { "reference": "patient/3465", "type": "Patient" } } } ] }