Request body


{
    "clientName": "clientname",
    "clientSecret": "secret" 
}

Response


{
    "accessToken": "Token",
    "status": "Login successful"
}

Patient Registration

Method Description
Post
Required to create a new Patient
Get
Required to get Demographics and other administrative information about an individual receiving care or other health-related service

Mandatory parameters

Field FieldDescription Example Comments
root,resourceType resourceType Patient This value is constant
root.name.given First name Middle name also can add in addition with First name
root.telecom.system.phone Mobile Number Patient mobile Number
root.gender Patient gender male Refer the master table values
root.birthDate Date of Birth 01-12-1975 Patient DOB
root.address.use.home Permanent address Address of the patient
root.managingOrganization Managing organization ABC Hospital Partner Hospital Name

Conditional parameters

Field FieldDescription Example Comments
root.identifier.system.Karkinos Karkinos Patient ID KHID00001234678 Karkinos patient ID
root.maritalstatus Marital Status M Patient marital status - refer the marital status table for codes and respective display value
root.identifier.system hospital_name Hospital ID MRN00001 Hospital patient ID
root.identifier.system.https://uidai.gov.in Aadhaar ID This array is only required if Aadhaar number present
root.identifier.system.Employee number Employee ID This array is only required if Employee number present
root.identifier.system.Ration card Ration Card ID This array is only required if Ration Card number present
root.identifier.system.Driver license Driver License ID This array is only required if Driver license number present

Request Body:

{
    "resourceType": "Patient",
    "id": "< Patient-id>",
    "meta": {
        "versionId": "< current version of resource >",
        "lastUpdated": "< Last updated date and time >",
        "source": "< Name/URI of the application where the patient originated >"
    },
    "extension": [{
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/occupation",
            "valueString": "<Occupation of the Patient >"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/corporate-employer",
            "valueString": "< Patient company info >"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/education",
            "valueCode": "<Please refer the Education table for allowed code values >"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/religion",
            "valueCode": "<Please refer the Religion table for allowed code values>"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/mother-tongue",
            "valueCode": "<Please refer the Mother Tongue table for allowed code values>"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/blood-group",
            "valueCode": "< Please refer the Blood Group table for allowed code values >"
        }, {
            "url": "https://karkinos.in/fhir/r4/StructureDefinition/patient-age",
            "valueInteger": "<Age is mandatory incase of DOB (birthDate) is not available >"
        }
    ],
    "identifier": [{
            "type": {
                "coding": [{
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "MR",
                        "display": "Medical record number"
                    }
                ]
            },
            "system": "Karkinos",
            "value": "<Patient Karkinos id will present while create/update request comes from Karkinos to hospital , Patient Karkinos id should present while update request comes from Hospital to Karkinos >"
        }, {
            "type": {
                "coding": [{
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "MR",
                        "display": "Medical record number"
                    }
                ]
            },
            "system": "<Hospital Name >",
            "value": "<Hospital MRN >"
        }, {
            "type": {
                "coding": [{
                        "system": "http://terminology.karkinos.in/CodeSystem/pid",
                        "code": "AADHAAR",
                        "display": "Aadhaar"
                    }
                ]
            },
            "system": "https://uidai.gov.in/",
            "value": "< Aadhaar number >"
        }, {
            "type": {
                "coding": [{
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "EI",
                        "display": "Employee number"
                    }
                ]
            },
            "system": "Employee number",
            "value": "<Employee-id>"
        }, {
            "type": {
                "coding": [{
                        "system": "http://terminology.karkinos.in/CodeSystem/pid",
                        "code": "RC",
                        "display": "Ration card"
                    }
                ]
            },
            "system": "Ration card",
            "value": "< Ration card number>"
        }, 
		{
            "type": {
                "coding": [{
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "DL",
                        "display": "Driver license"
                    }
                ]
            },
            "system": "Driver license",
            "value": "<Driver license number>"
        }, 
		{
            "type": {
                "coding": [{
                        "system": "https://karkinos.in/fhir/r4/StructureDefinition/abdm",
                        "code": "ABDM",
                        "display": "ayushman bharat digital mission"
                    }
                ]
            },

            "system": "ABHA ID",
            "value": "<ABHA No>"
        }, 
		{
            "type": {
                "coding": [{
                        "system": "https://karkinos.in/fhir/r4/StructureDefinition/abdm",
                        "code": "ABDM",
                        "display": "ayushman bharat digital mission"
                    }
                ]
            },

            "system": "PHR Address",
            "value": "<PHR address>"
        }
    ],
    "active": true,
    "maritalStatus": {
        "coding": [{
                "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
                "code": "< Please refer the Marital status table for allowed code values >",
                "display": "< Please refer the Marital status table for allowed display values >"
            }
        ],
        "text": "< Please refer the Marital status table for allowed display values >"
    },
    "name": [{
            "family": "<Patient Last Name>",
            "prefix": [
                "< Please refer the salutation table for allowed code values >"
            ],
            "given": [
                "<Patient given >",
                "<Patient middle name, if present>"
            ]
        }
    ],
    "photo": [{
            "contentType": "image/jpg",
            "data": "base64 encoded"
        }
    ],
    "telecom": [{
            "use": "home"
        }, {
            "system": "phone",
            "value": "< Mobile Number of the patient >",
            "use": "mobile",
            "rank": 1
        }, {
            "system": "phone",
            "value": "< Phone/Landline Number of the patient >",
            "use": "home",
            "rank": 2
        }, {
            "system": "email",
            "value": "<email-id of the patient>",
            "use": "",
            "rank": 3
        }
    ],
    "gender": " <Please refer the gender table for allowed code values>",
    "birthDate": "<DateofBirth yyyy-mm-dd>",
    "deceasedBoolean": false,
    "address": [{
            "use": "home",
            "text": "<Permanent address of patient>",
            "line": "<Permanent address street/area>",
            "city": "< Permanent address city /town>",
            "state": "< Permanent address state >",
            "postalCode": "< Permanent address pincode >",
            "district": "< Permanent address district>",
            "country": "< Permanent address country>"
        }, {
            "use": "temp",
            "text": "<Temporary address of patient>",
            "line": "<Temporary address street/area>",
            "city": "<Temporary address city / town>",
            "district": "<Temporary address district",
            "state": "<Temporary address state>",
            "postalCode": "<Temporary address pincode>",
            "country": "< Temporary address country>"
        }
    ],
    "contact": [{
            "relationship": [{
                    "coding": [{
                            "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
                            "code": ""
                        }
                    ]
                }
            ],
            "name": {
                "text": "<Next of Kin fullname>",
                "prefix": [
                    "<Next of Kin salutation>"
                ],
                "suffix": [{
                        "value": "< Next of Kin Last Name>"
                    }
                ],
                "given": [
                    "< Next of Kin First name>"
                ]
            },
            "telecom": [{
                    "system": "phone",
                    "value": "<This field value considered as Contact No. in case of emergency >"
                }
            ],
            "address": [{
                    "use": "home",
                    "text": "<Next of Kin address>",
                    "city": "<Next of Kin address city>",
                    "state": "<Next of Kin address state>",
                    "postalCode": "<Next of Kin address pincode>",
                    "district": "<Next of Kin address district>"
                }
            ],
            "gender": "<Next of Kin gender>>"
        }
    ],
    "communication": [{
            "language": {
                "coding": [{
                        "system": "urn:ietf:bcp:47",
                        "code": "en-IN",
                        "display": "English (India)"
                    }
                ],
                "text": "English (India)"
            }
        }
    ],
    "managingOrganization": {
        "type": "Organization",
        "identifier": {
            "value": "<Hospital_Name>"
        }
    }
}

Response


{
    "status": "SUCCESS",
    "message": "Patient data validated at Karkinos"
}

Masters

Service Request

Method Description
Post
Required to create a service request
Get
Required to get details of a service request
Put
Required to update a service request

Mandatory parameters

Field FieldDescription Example Comments
root.resourceType resourceType Bundle This is a constant value
root.id Service Request bundle order unique id Transaction id This is the common transaction id for a bundle request
root.type Service request type collection This is a constant value
root.entry.resource.resourceType resourceType ServiceRequest This is a constant value
root.entry.resource.id Service request order item transaction uniqueid Item transaction id
root.entry.resource.code.coding Service Request Item identifier Refer the service codes table for code values
root.entry.resourceType.subject Patient MR No MRN00001 Patient MRN from Hospital

Conditional Parameters

Field FieldDescription Example Comments
root.entry.resource.identifier Service request order item transaction uniqueid Item transaction id Item transaction id from the requesting application.

Request Body:


{
"resourceType": "Bundle",
"id": "<Order ID - This id is generated from requesting application >",  
"type": "collection",
"entry": [
	{
	"resource": {
	"resourceType": "ServiceRequest",
	"id": "<service order ID - This id is generated from requesting application>",
	"status": "active",
	"identifier": 	[
		{
		"system": "<Karkinos>",
		"value": "<Service item Request ID>"
		},
		{
		"system": "<Partner Hospital>",
		"value": "<Service item Request ID>"
		}
			],
	"intent": "order",   
	"code": {
		"coding": [
				{
				"system": "Partner hospital Name", 
				"code": "< Service Item id from Hospital services master >",
				"display" : "< Service Item name from Hospital services master > " 
				},
				{
				"system": "Karkinos",
				"code": "<KH_SER_001>",
				"display" : "<Test Name> " 
				}
					],
			"text": "<Service Item name from Hospital services master >"
					},
	"subject": 	{
		"type" : "Patient",
		"identifier": 	{
			"value": "< Patient MR No or UHID from Hospital >"     
				}
			},
	"encounter": {
		"type" : "Encounter",
		"identifier": 	{
			"value": "< Patient Visit ID/Encounter ID  from Hospital >" 
				}
			},
	"requester": {
		"type" : "Organization",
		"identifier": 	{
			"value": "<Service request sending organization name>"
				}
			},
	"performer": [
			{
		"type" : "Organization",
		"identifier": 		{
			"value": "<Service request receiving or performing organization name>"
					}
			}
						],
	"reasonCode": [
			{
		"coding": 	[
				{
			"system": "http://hl7.org/fhir/sid/icd-9",  
			"code": "SCREENING",
			"display": "SCREENING"
				}
				]
			}
							],
	"specimen": [
		{
		"reference": "<Specimen ID>",
		"display": "<Specimen Name>"
			}
			],
	"note": [
		{
	"text": "<Any other notes and comments made about the service request. For example, internal billing notes.>"
		}
		],
"patientInstruction": "<Instructions in terms that are understood by the patient or consumer>"
 
		}
	}
   ]
}

Response

Code Display
hosp_order_id Unique id generated in Hospital against the Bundle request
{
  "resourceType": "Bundle",
  "status" : "success",
  "message" : "Service Request Saved Successfully",
  "order_id" : "<hosp_order_id>", //R!
  "visit_id" : "<hosp_visit_id>",
  "MRN" : "<hosp_UHID>",
  "request_id" : "<requested id from sending location>",
  "entry": [
	{
	"item_request_id": "<Service item Request id >",
	"received_id": "<Service item received response id>",
	"received_status" : "<accepted/rejected>",
"reject_reason" : "<error details - service is disabled>"
	}
	],
} 

Masters

Masters Mapping format – Hospital services mapping with Karkinos services

Service Code (Example)

Service Item ID Karkinos Service Item Name in Karkinos Service Item ID in Hospital Service Item name in Hospital
KH_SER_001 Complete Blood Count HOSP_SER_001 COMPLETE BLOOD COUNT
KH_SER_002 X-Ray HOSP_SER_002 X-RAY
KH_SER_003 Chemotherapy HOSP_SER_003 CHEMOTHERAPY

Reason Code (Example)

Code Display
SCREENING SCREENING

Diagnostic Report

MethodDescription
Post
Required to create a Diagnostic Report

Diagnostic Report key attributes

Mandatory parameters

Field Field Description Example Comments
root.resourceType resourceType Bundle This is a constant value
root.resourceType.id Hospital Order No Hospital order Number generated against the service request
root.resourceType.type collection This is a constant value
Mandatory fields under the resourceType of DiagnosticsReport
root.entry.resource.resourceType Report type  identification DiagnosticReport This is a constant value
root.entry.resource..id Report  identification Report id generated in Hospital HIS
root.entry.resource.status Report status final/amended
root.entry.resource.category.code. coding Test Identification Refer the Services codes master
root.entry.resource.text Service/Test Name Service/Test name from hospital masters
root.entry.resource.subject Patient Hospital MRN MRN00001
root.entry.resource.result Result parameters/observations Observations name
Mandatory fields under the resourceType of Observation
root.entry.resource.resourceType resourceType Observation
root.entry.resource.id Observation id Observations id from result list
root.entry.resource.code.coding Observation identification
root.entry.resource.text Parameter name Parameter name
root.entry.resource.valueQuantity Parameter values
root.entry.resource.valueString Text based report

Conditional parameters

Field Field Name Example Comments
root.entry.resource.identifier Service request order item transaction uniqueid Item transaction id Item transaction id from the requesting application.
root.entry.resource. presentedForm PDF Report This is a Base64data field required when individual PDF reports are available against tests
root.entry.resource.resourceType Binary This is a Base64data field required when consolidated  PDF reports are available against tests in the bundle.

Request Body:

Value in quantity based Result :

{
  "resourceType": "Bundle",  
  "id": "<hosp_order_id>", 
  "type": "collection", 
  "entry": [
    {
      "resource": {
        "resourceType": "DiagnosticReport", 
        "id": "<Report_id_hosp>", 
        "status": "final", 
        "identifier": [
		{
		"system": "<Karkinos>", 
		"value": "<Service item Request ID>"  
		},
		{
		"system": "<Partner Hospital>", 
		"value": "<Service item Request ID>" 
		}
		],
"category": [
          		{
           		 "coding": [
              		{
               		 "system": "http://terminology.hl7.org/CodeSystem/v2-0074",
               		 "code": "<HM>"   
              		}
           			 ]
          		}
        		],
       	 "code": {
         		 "coding": [
            		{
              		"system": "<Partner Hospital Name>", 
"code": "<Service Item id from Hospital services master>", 
"display": "< Service Item name from Hospital services master >"  
           			 },
{
       			 "system": "Karkinos", 
        			"code": "<Service Item id from Karkinos>",
 			"display" : "<Service Item name from Karkinos >
      			}
          			],
"text": "<Test Name>" 
        },
"subject": {
          	"type" : "Patient", 
   	 "identifier": {
    		"value": "<MRN_No>" 
			}
       	 },
 "encounter": {
         	 "type" : "Encounter",
  	 "identifier": {
    		"value": "<Visit_id>"
		}
       	 },
 "effectiveDateTime": "<Date and Time of Result>",
 "issued": "<Date and Time of report issued>",
 "performer": [
          {
         	 "type" : "Organization",
   	 "identifier": 	{
   		 "value": "<Hospital_Name>"   
   			 }
		  }
        		],
"result": [
          {
            "reference": "Observation/<r1>"  
          }
        ],
"conclusion" : "<text>",
"presentedForm": [
          {
            "contentType": "application/pdf",
            "language": "en-AU",
            "data": "<Base64encoded PDF data>", 
            "title": "<Report title>"
          }
        ]
      }
    },
    {
      "fullUrl": "<https://example.com/base/Observation/r1>",
      "resource": {
        "resourceType": "Observation", 
        "id": "<r1>", 
        "status": "final", 
        "code": {
          "coding": [
            {
              "system": "http://loinc.org", 
              "code": "<LOINC Code>",
              "display": "<Observation Name>" 
            }
          ],
          "text": "<Observation Name>" 
        },

        "valueQuantity": {
          "value": "<value>", 
          "unit": "<UOM>", 
          "system": "http://unitsofmeasure.org",
          "code": "<UOM code>"
        },
        "referenceRange": [
          {
            "low": {
              "value": "<value>",
              "unit": "<UOM>",
              "system": "http://unitsofmeasure.org",
              "code": "<UOM code>"
            },
            "high": {
              "value": "<value>",
              "unit": "<UOM>",
              "system": "http://unitsofmeasure.org",
              "code": "<UOM code>"
            }
          }
        ]
      }
    },
    {                    
   "resource": {
	"resourceType": "Binary",
	"contentType": "application/pdf",  
	"data": "<base64Binary>",
	"id": "<hosp_order_id>"
	    }
	}

  ]
}

Value in string based Result

 {
 "resourceType": "Bundle", 
 "id": "<hosp_order_id>", 
 "type": "collection", 
 "entry": [
    {
    "resource": {
    "resourceType": "DiagnosticReport", 
    "id": "<Report_id_hosp>", 
    "status": "final", 
    "identifier": [
        	{			
       	"system": "<Karkinos>", 
	"value": "<Service item Request ID>" 
	},
	{
	"system": "<Partner Hospital>", 
	"value": "<Service item Request ID>" 
	}
	],
      "category": [
	{
	"coding": 	[
			{
                	"system": "http://terminology.hl7.org/CodeSystem/v2-0074",
               	 "code": "<HM>"
			}
			]
	}
	],
        "code": {
	"coding": 	[
			{
		"system": "<Partner Hospital>", 
		"code": "<Service Item id from Hospital services master>",   
		"display": "<Service Item name from Hospital services master>" 
			},
			{
		"system": "Karkinos",
		"code": "<Service Item id from Karkinos>", 
		"display" : "<Service Item name from Karkinos>"
			}
			],
	"text": "< Service Item name from Hospital services master>" 
				},
     "subject": {
	"type" : "Patient",
	"identifier": 	{
		"value": "<MRN_No>" 
			}
		},
     "encounter":{
	"type" : "Encounter",
	"identifier": 	{
		"value": "<Visit_id>"
			}
		},
      "effectiveDateTime": "<Date and Time of Result>",
      "issued": "<Date and Time of report issued>",
      "performer":[
		{
	"type" : "Organization",
	"identifier": {
		"value": "<Hospital_Name>" 
		       }
		}
		],
      "result": 	[
		{
            "reference": "Observation/<r1>" 
		}
		],
      "conclusion" : "<text>",	
      "presentedForm": [
			{
            "contentType": "application/pdf",
            "language": "en-AU",
            "data": "<Base64encoded PDF data>", 
            "title": "<Report title>"
			}
			]
		}
	},
    {
      "fullUrl": "<https://example.com/base/Observation/r1>",
      "resource": {
       "resourceType": "Observation", 
       "id": "<r1>", 
       "status": "final", 
       "code": {
	"coding": 	[
			{
		"system": "http://loinc.org",
		"code": "<LOINC Code>",
		"display": "<Observation Name>"
			}
			],
	"text": "<Observation Name>" 
		},

        "valueString": {
		"value": "<textvalue>" 
		       },
"note" : "Note text"
	}
    },
    {                    
	"resource": {
	"resourceType": "Binary",
	"contentType": "application/pdf", 
	"data": "<base64Binary>",
	"id": "<hosp_order_id>"
			}
		}
	]
 }

Response

Attributes Description
Status Response status with code and description

Clinical Summary

Method Description
Post
Required to create Clinical summary documents

Request Body:

{
  "resourceType": "Bundle",
  "id": "<OPConsultNote_0001>",  
  "identifier": {
    "system": "<Hospital Name>", 
    "value": "<Document no>" 

  },
  "type": "document",
  "timestamp": "<2020-07-09T15:32:26.605+05:30>",
  "entry": [
    {
      "fullUrl": "Composition/<1>",
      "resource": {
        "resourceType": "Composition",
        "id": "<1>",
        "language": "en-IN",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "identifier": {
          "system": "<https://ndhm.in/phr>",
          "value": "<identifier_value>"
        },
        "status": "<final>",
        "type": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "371530004",
              "display": "Clinical consultation report"
            }
          ],
          "text": "Clinical Consultation report"
        },
        "subject": {
          "reference": "Patient/<1>", 
          "display": "<ABC>"
        },
        "encounter": {
          "reference": "Encounter/<1>"
        },
        "date": "<2020-07-09T15:32:26.605+05:30>",
        "author": [
          {
            "reference": "Practitioner/<1>",
            "display": "<Dr. DEF>"
          }
        ],
        "title": "<Consultation Report>",
        "custodian": {
          "reference": "Organization/<1>",
          "display": "<UVW Hospital>"
        },
        "section": [
          {
            "title": "Chief complaints",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "422843007",
                  "display": "Chief complaint section"
                }
              ]
            },
            "entry": [
              {
                "reference": "Condition/<1>"
              }
            ]
          },
          {
            "title": "Allergies",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "722446000",
                  "display": "Allergy record"
                }
              ]
            },
            "entry": [
              {
                "reference": "AllergyIntolerance/<1>"
              }
            ]
          },
          {
            "title": "Medical History",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "371529009",
                  "display": "History and physical report"
                }
              ]
            },
            "entry": [
              {
                "reference": "Condition/<2>"
              }
            ]
          },
          {
            "title": "Investigation Advice",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "721963009",
                  "display": "Order document"
                }
              ]
            },
            "entry": [
              {
                "reference": "ServiceRequest/<1>"
              }
            ]
          },
          {
            "title": "Medications",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "721912009",
                  "display": "Medication summary document"
                }
              ]
            },
            "entry": [
              {
                "reference": "MedicationStatement/<1>"
              },
              {
                "reference": "MedicationRequest/<1>"
              }
            ]
          },
          {
            "title": "Procedure",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "371525003",
                  "display": "Clinical procedure report"
                }
              ]
            },
            "entry": [
              {
                "reference": "Procedure/<1>"
              }
            ]
          },
          {
            "title": "Follow Up",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "736271009",
                  "display": "Outpatient care plan"
                }
              ]
            },
            "entry": [
              {
                "reference": "Appointment/<1>"
              }
            ]
          },
          {
            "title": "Document Reference",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "371530004",
                  "display": "Clinical consultation report"
                }
              ]
            },
            "entry": [
              {
                "reference": "DocumentReference/<1>"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "Practitioner/<1>",
      "resource": {
        "resourceType": "Practitioner",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MD",
                  "display": "Medical License number"
                }
              ]
            },
            "system": "<https://doctor.ndhm.gov.in>",
            "value": "<21-1521-3828-3227>"
          }
        ],
        "name": [
          {
            "text": "<Dr. DEF>"
          }
        ]
      }
    },
    {
      "fullUrl": "Organization/<1>",
      "resource": {
        "resourceType": "Organization",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text>"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "PRN",
                  "display": "Provider number"
                }
              ]
            },
            "system": "<https://facility.ndhm.gov.in>",
            "value": "<4567823>"
          }
        ],
        "name": "<UVW Hospital>",
        "telecom": [
          {
            "system": "phone",
            "value": "<Hospital phone>",
            "use": "work"
          },
          {
            "system": "email",
            "value": "<contact@facility.uvw.org>",
            "use": "work"
          }
        ]
      }
    },
    {
      "fullUrl": "Patient/<1>",
      "resource": {
        "resourceType": "Patient",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR",
                  "display": "Medical record number"
                }
              ]
            },
            "system": "<Partner Hospital>", 
            "value": "<MRN>" 
          }
        ],
        "name": [
          {
            "text": "<ABC>"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "<Phone>",
            "use": "home"
          }
        ],
        "gender": "<male>",
        "birthDate": "<1981-01-12>"
      }
    },
    {
      "fullUrl": "Encounter/<1>",
      "resource": {
        "resourceType": "Encounter",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": " <formatted text >"
        },
        "identifier": [
          {
            "system": "https://ndhm.in",
            "value": "S100"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB",
          "display": "ambulatory"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "period": {
          "start": "<2020-07-09T14:58:58.181+05:30>"
        },
        "diagnosis": [
          {
            "condition": {
              "reference": "Condition/<1>"
            },
            "use": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "33962009",
                  "display": "Chief complaint"
                }
              ]
            }
          },
          {
            "condition": {
              "reference": "Condition/<3>"
            },
            "use": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "148006",
                  "display": "Preliminary diagnosis"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "AllergyIntolerance/<1>",
      "resource": {
        "resourceType": "AllergyIntolerance",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
              "code": "confirmed",
              "display": "Confirmed"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "716186003",
              "display": "No known allergy"
            }
          ],
          "text": "NKA"
        },
        "patient": {
          "reference": "Patient/<1>"
        },
        "recordedDate": "2020-07-09T15:37:31-06:00",
        "recorder": {
          "reference": "Practitioner/<1>"
        },
        "note": [
          {
            "text": "<The patient reports no other known allergy.>"
          }
        ]
      }
    },
    {
      "fullUrl": "Appointment/<1>",
      "resource": {
        "resourceType": "Appointment",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "booked",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "408443003",
                "display": "General medical practice"
              }
            ]
          }
        ],
        "serviceType": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "11429006",
                "display": "Consultation"
              }
            ]
          }
        ],
        "appointmentType": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "185389009",
              "display": "Follow-up visit"
            }
          ]
        },
        "reasonReference": [
          {
            "reference": "Condition/<1>"
          }
        ],
        "description": "<Discussion on the results of your recent Lab Test and further consultation>",
        "start": "2020-07-12T09:00:00Z",
        "end": "2020-07-12T09:30:00Z",
        "created": "2020-07-09T14:58:58.181+05:30",
        "basedOn": [
          {
            "reference": "ServiceRequest/<1>"
          }
        ],
        "participant": [
          {
            "actor": {
              "reference": "Patient/<1>"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Practitioner/<1>"
            },
            "status": "accepted"
          }
        ]
      }
    },
    {
      "fullUrl": "Condition/<1>",
      "resource": {
        "resourceType": "Condition",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "297142003",
              "display": "Foot swelling"
            }
          ],
          "text": "<Foot swelling>"
        },
        "subject": {
          "reference": "Patient/<1>"
        }
      }
    },
    {
      "fullUrl": "Condition/<2>",
      "resource": {
        "resourceType": "Condition",
        "id": "<2>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "recurrence",
              "display": "Recurrence"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "46635009",
              "display": "Diabetes mellitus type 1"
            }
          ],
          "text": "<Diabetes mellitus type 1>"
        },
        "subject": {
          "reference": "Patient/<1>"
        }
      }
    },
    {
      "fullUrl": "Condition/<3>",
      "resource": {
        "resourceType": "Condition",
        "id": "<3>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "recurrence",
              "display": "Recurrence"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "44054006",
              "display": "Diabetes mellitus type 2"
            }
          ],
          "text": "<Diabetes mellitus type 2>"
        },
        "subject": {
          "reference": "Patient/<1>"
        }
      }
    },
    {
      "fullUrl": "Procedure/<1>",
      "resource": {
        "resourceType": "Procedure",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "713130008",
              "display": "Assessment of diabetic foot ulcer"
            }
          ],
          "text": "<Assessment of diabetic foot ulcer>"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "performedDateTime": "<2019-05-12>",
        "followUp": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "394725008",
                "display": "Diabetes medication review"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "ServiceRequest/<1>",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "active",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "108252007",
                "display": "Laboratory procedure"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "252150008",
              "display": "Fasting lipid profile"
            },
{
	"system": "<Partner Hospital>", 
	"code": "<Service Item id from Hospital services master>",  
	"display": "<Service Item name from Hospital services master>" 
	},
	{
	"system": "Karkinos",
	"code": "<Service Item id from Karkinos>", 
	"display" : "<Service Item name from Karkinos>"
	}
          ],
          "text": "Fasting lipid profile"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "authoredOn": "2020-07-09T15:32:26.605+05:30",
        "requester": {
          "reference": "Practitioner/<1>",
          "display": "<D>r. DEF"
        }
      }
    },
    {
      "fullUrl": "MedicationStatement/<1>",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "completed",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "134463001",
              "display": "Telmisartan 20 mg oral tablet"
            },
			{
              "system": "<Partner Hospital>",
              "code": "<drug Code from partner Hospital>",
              "display": "<drug Code from Partner Hospital>"
            },
			{
              "system": "<Karkinos>",
              "code": "<drug Code from Karkinos>",
              "display": "<drug name from Karkinos>"
            }
          ]
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "dateAsserted": "<2020-02-02T14:58:58.181+05:30>"
      }
    },
    {
      "fullUrl": "MedicationRequest/<1>",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "1",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "353231006",
              "display": "Neomycin 5 microgram/mg cutaneous ointment"
            },
			{
              "system": "<Partner Hospital>",
              "code": "<drug Code from partner Hospital>",
              "display": "<drug Code from Partner Hospital>"
            },
			{
              "system": "<Karkinos>",
              "code": "<drug Code from Karkinos>",
              "display": "<drug name from Karkinos>"
            }
          ]
        },
        "subject": {
          "reference": "Patient/<1>",
          "display": "<ABC>"
        },
        "authoredOn": "2020-07-09",
        "requester": {
          "reference": "Practitioner/<1>",
          "display": "<Dr. DEF>"
        },
        "reasonReference": [
          {
            "reference": "Condition/1"
          }
        ],
        "dosageInstruction": [
          {
            "additionalInstruction": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "229799001",
                    "display": "Twice a day"
                  },
	    {
	       "system": "<Partner Hospital>",
	       "code": "<Dosage code from Hospital master>",
	       "display": "<Dosage name from Hospital master>"
	     },
	     {
	       "system": "Karkinos",
	       "code": "<Dosage code from Karkinos master>", 
	       "display" : "<Dosage name from Karkinos master>"
	       }
                ]
              }
            ],
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "6064005",
                  "display": "Topical route"
                },
	  {
	    "system": "<Partner Hospital>",
	    "code": "<route code from Hospital master>",
	    "display": "<route name from Hospital master>"
	  },
	  {
	      "system": "Karkinos",
	      "code": "<route code from Karkinos master>", 
	      "display" : "<route name from Karkinos master>"
				}
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "DocumentReference/<1>",
      "resource": {
        "resourceType": "DocumentReference", 
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<formatted text >""
        },
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "371530004",
              "display": "Clinical consultation report"
            }
          ],
          "text": "Clinical Consultation report"
        },
        "subject": {
          "reference": "Patient/<1>" 
        },
        "content": [ 
          {
            "attachment": {
              "contentType": "application/pdf",
              "language": "en-IN",
              "data": ""            
	"title": "Clinical Consultation report",
              "creation": "<2019-05-29T14:58:58.181+05:30>"
            }
          }
        ]
      }
    }
  ],
 }

Response

Attributes Description
Status Response status with code and description

Discharge Summary

MethodDescription
Post
Required to create Discharge summary documents

Request Body:

{
  "resourceType": "Bundle",
  "id": "<DischargeSummary_0001>",
  "identifier": {
    "system": "<Hospital Name>", 
    "value": "<Document no>" 
  },
  "type": "document",
  "timestamp": "<2020-07-09T15:32:26.605+05:30>",
  "entry": [
    {
      "fullUrl": "Composition/<1>",
      "resource": {
        "resourceType": "Composition",
        "id": "<1>",
        "language": "en-IN",
        "text": {
          "status": "generated",
          "div": "<Formatted Text>"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "373942005",
              "display": "Discharge summary"
            }
          ],
          "text": "Discharge Summary"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "encounter": {
          "reference": "Encounter/<1>"
        },
        "date": "<2020-07-09T15:32:26.605+05:30>",
        "author": [
          {
            "reference": "Practitioner/<1>"
          }
        ],
        "title": "Discharge Summary",
        "confidentiality": "N",
        "custodian": {
          "reference": "Organization/<1>"
        },
        "section": [
          {
            "title": "Chief complaints",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "422843007",
                  "display": "Chief complaint section"
                }
              ]
            },
            "entry": [
              {
                "reference": "Condition/<2>"
              }
            ]
          },
          {
            "title": "Medical History",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "1003642006",
                  "display": "Past medical history section"
                }
              ]
            },
            "entry": [
              {
                "reference": "Procedure/<1>"
              },
              {
                "reference": "Condition/<1>"
              }
            ]
          },
          {
            "title": "Investigations",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "721981007",
                  "display": "Diagnostic studies report"
                }
              ]
            },
            "entry": [
              {
                "reference": "DiagnosticReport/<1>"
              }
            ]
          },
          {
            "title": "Procedures",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "1003640003",
                  "display": "History of past procedure section"
                }
              ]
            },
            "entry": [
              {
                "reference": "Procedure/<2>"
              }
            ]
          },
          {
            "title": "Medications",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "1003606003",
                  "display": "Medication history section"
                }
              ]
            },
            "entry": [
              {
                "reference": "MedicationRequest/<1>"
              }
            ]
          },
          {
            "title": "Care Plan",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "734163000",
                  "display": "Care plan"
                }
              ]
            },
            "entry": [
              {
                "reference": "CarePlan/<1>"
              }
            ]
          },
          {
            "title": "Document Reference",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "373942005",
                  "display": "Discharge summary"
                }
              ]
            },
            "entry": [
              {
                "reference": "DocumentReference/<1>"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "Practitioner/<1>",
      "resource": {
        "resourceType": "Practitioner",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "<Formatted Text>"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MD",
                  "display": "Medical License number"
                }
              ]
            },
            "system": "<https://doctor.ndhm.gov.in>",
            "value": "<21-1521-3828-3227>"
          }
        ],
        "name": [
          {
            "text": "<DEF>"
          }
        ]
      }
    },
    {
      "fullUrl": "Organization/<1>",
      "resource": {
        "resourceType": "Organization",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "PRN",
                  "display": "Provider number"
                }
              ]
            },
            "system": "https://facility.ndhm.gov.in",
            "value": "4567823"
          }
        ],
        "name": "<UVW Hospital>",
        "telecom": [
          {
            "system": "phone",
            "value": "<phone number>",
            "use": "work"
          },
          {
            "system": "email",
            "value": "<email>",
            "use": "work"
          }
        ]
      }
    },
    {
      "fullUrl": "Organization/<2>",
      "resource": {
        "resourceType": "Organization",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": ""
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "PRN",
                  "display": "Provider number"
                }
              ]
            },
            "system": "<https://facility.ndhm.gov.in>",
            "value": "<4567878>"
          }
        ],
        "name": "<XYZ Lab Pvt.Ltd.>",
        "telecom": [
          {
            "system": "phone",
            "value": "<Lab Phone Number>",
            "use": "work"
          },
          {
            "system": "email",
            "value": "<Lab email id>",
            "use": "work"
          }
        ]
      }
    },
    {
      "fullUrl": "Patient/<1>",
      "resource": {
        "resourceType": "Patient",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR",
                  "display": "Medical record number"
                }
              ]
            },
            "system": "<https://healthid.ndhm.gov.in>",
            "value": "<22-7225-4829-5255>"
          }
        ],
        "name": [
          {
            "text": "<ABC>"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "<Mobile Number>",
            "use": "home"
          }
        ],
        "gender": "<male>",
        "birthDate": "<1981-01-12>"
      }
    },
    {
      "fullUrl": "Encounter/<1>",
      "resource": {
        "resourceType": "Encounter",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "identifier": [
          {
            "system": "https://ndhm.in",
            "value": "S100"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "IMP",
          "display": "inpatient encounter"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "period": {
          "start": "<2020-04-20T15:32:26.605+05:30>",
          "end": "<2020-05-01T15:32:26.605+05:30>"
        },
        "hospitalization": {
          "dischargeDisposition": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/discharge-disposition",
                "code": "home",
                "display": "Home"
              }
            ],
            "text": "Discharged to Home Care"
          }
        }
      }
    },
    {
      "fullUrl": "Appointment/<1>",
      "resource": {
        "resourceType": "Appointment",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "booked",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "408443003",
                "display": "General medical practice"
              }
            ]
          }
        ],
        "serviceType": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "11429006",
                "display": "Consultation"
              }
            ]
          }
        ],
        "appointmentType": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "185389009",
              "display": "Follow-up visit"
            }
          ]
        },
        "reasonReference": [
          {
            "reference": "Condition/<1>"
          }
        ],
        "description": "<Discussion on the results of your recent Lab Test and further consultation>",
        "start": "<2020-07-12T09:00:00Z>",
        "end": "<2020-07-12T09:30:00Z>",
        "created": "<2020-07-09T14:58:58.181+05:30>",
        "participant": [
          {
            "actor": {
              "reference": "Patient/<1>"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Practitioner/<1>"
            },
            "status": "accepted"
          }
        ]
      }
    },
    {
      "fullUrl": "Condition/<1>",
      "resource": {
        "resourceType": "Condition",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "recurrence",
              "display": "Recurrence"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "440700005",
              "display": "History of aortoiliac atherosclerosis"
            }
          ],
          "text": "Patient complained about pain in left arm"
        },
        "subject": {
          "reference": "Patient/<1>"
        }
      }
    },
    {
      "fullUrl": "Condition/<2>",
      "resource": {
        "resourceType": "Condition",
        "id": "<2>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "22298006",
              "display": "Myocardial infarction"
            }
          ],
          "text": "<pain in the chest, neck, back or arms, as well as fatigue, lightheadedness, abnormal heartbeat and anxiety.>"
        },
        "subject": {
          "reference": "Patient/<1>"
        }
      }
    },
    {
      "fullUrl": "Specimen/<1>",
      "resource": {
        "resourceType": "Specimen",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "type": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "119364003",
              "display": "Serum specimen"
            }
          ]
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "receivedTime": "<2015-07-08T06:40:17Z>",
        "collection": {
          "collectedDateTime": "<2020-07-08T06:40:17Z>"
        }
      }
    },
    {
      "fullUrl": "DiagnosticReport/<1>",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "1",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "identifier": [
          {
            "system": "https://xyz.com/lab/reports",
            "value": "5234342"
          }
        ],
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "708196005",
                "display": "Hematology service"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "<http://loinc.org>",
              "code": "<24331-1>",
              "display": "<Lipid 1996 panel - Serum or Plasma>"
            }
          ],
          "text": "<Lipid 1996 panel>"
        },
        "subject": {
          "reference": "Patient/<1>",
          "display": "<ABC>"
        },
        "issued": "<2020-07-10T11:45:33+11:00>",
        "performer": [
          {
            "reference": "Organization/<2>",
            "display": "<XYZ Lab Pvt.Ltd.>"
          }
        ],
        "resultsInterpreter": [
          {
            "reference": "Practitioner/<1>",
            "display": "<Dr. DEF>"
          }
        ],
        "specimen": [
          {
            "reference": "Specimen/<1>"
          }
        ],
        "result": [
          {
            "reference": "Observation/<cholesterol>"
          },
          {
            "reference": "Observation/<triglyceride>"
          }
        ],
        "conclusion": "<Elevated cholesterol/high density lipoprotein ratio>",
        "conclusionCode": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "439953004",
                "display": "Elevated cholesterol/high density lipoprotein ratio"
              }
            ]
          }
        ],
        "presentedForm": [
          {
            "contentType": "application/pdf",
            "language": "en-IN",
            "data": ""         
            "title": "Diagnostic Report"
          }
        ]
      }
    },
    {
      "fullUrl": "Observation/<cholesterol>",
      "resource": {
        "resourceType": "Observation",
        "id": "<cholesterol>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "<http://loinc.org>",
              "code": "<35200-5>",
              "display": "<Cholesterol [Mass or Moles/volume] in Serum or Plasma>"
            }
          ],
          "text": "<Cholesterol [Mass or moles/Vol]>"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "performer": [
          {
            "reference": "Organization/<2>"
          }
        ],
        "valueQuantity": {
          "value": 6.3,
          "unit": "mmol/L",
          "system": "http://snomed.info/sct",
          "code": "258813002"
        },
        "referenceRange": [
          {
            "high": {
              "value": 4.5,
              "unit": "mmol/L",
              "system": "http://snomed.info/sct",
              "code": "258813002"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "Observation/<triglyceride>",
      "resource": {
        "resourceType": "Observation",
        "id": "<triglyceride>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "<http://loinc.org>",
              "code": "<35217-9>",
              "display": "<>"
            }
          ],
          "text": "<>"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "performer": [
          {
            "reference": "Organization/<2>"
          }
        ],
        "valueQuantity": {
          "value": 1.3,
          "unit": "mmol/L",
          "system": "http://snomed.info/sct",
          "code": "258813002"
        },
        "referenceRange": [
          {
            "high": {
              "value": 2.0,
              "unit": "mmol/L",
              "system": "http://snomed.info/sct",
              "code": "258813002"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "Procedure/<1>",
      "resource": {
        "resourceType": "Procedure",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "<http://snomed.info/sct>",
              "code": "<36969009>",
              "display": "<Placement of stent in coronary artery>"
            }
          ],
          "text": "<Placement of stent in coronary artery>"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "performedDateTime": "<2019-05-12>",
        "complication": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "131148009",
                "display": "Bleeding"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "Procedure/<2>",
      "resource": {
        "resourceType": "Procedure",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "<http://snomed.info/sct>",
              "code": "<232717009>",
              "display": "<Coronary artery bypass grafting>"
            }
          ],
          "text": "<Coronary artery bypass grafting>"
        },
        "subject": {
          "reference": "Patient/<1>"
        },
        "performedDateTime": "<2020-07-05>"
      }
    },
    {
      "fullUrl": "MedicationRequest/<1>",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": ""
        },
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "765082007",
              "display": "Nitroglycerin 5 mg buccal tablet"
            },
            {
              "system": "<Partner Hospital>",
              "code": "<drug Code from partner Hospital>",
              "display": "<drug Code from Partner Hospital>"
            },
           {
              "system": "<Karkinos>",
              "code": "<drug Code from Karkinos>",
              "display": "<drug name from Karkinos>"
            }
          ]
        },
        "subject": {
          "reference": "Patient/<1>",
          "display": "<ABC>"
        },
        "authoredOn": "<2020-07-09>",
        "requester": {
          "reference": "Practitioner/<1>",
          "display": "<DEF>"
        },
        "reasonReference": [
          {
            "reference": "Condition/<2>"
          }
        ],
        "dosageInstruction": [
          {
            "text": "One tablet at once",
            "additionalInstruction": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "311504000",
                    "display": "With or after food"
                  },
                 {
                    "system": "<Partner Hospital>",
                    "code": "<Dosage code from Hospital master>",
                     "display": "<Dosage name from Hospital master>"
                   },
                  {
                    "system": "Karkinos",
                    "code": "<Dosage code from Karkinos master>", 
                    "display" : "<Dosage name from Karkinos master>"
                    }
                ]
              }
            ],
            "timing": {
              "repeat": {
                "frequency": 1,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "26643006",
                  "display": "Oral Route"
                },
               {
                  "system": "<Partner Hospital>",
                  "code": "<route code from Hospital master>",
                  "display": "<route name from Hospital master>"
                },
                {
                  "system": "Karkinos",
                  "code": "<route code from Karkinos master>", 
                  "display" : "<route name from Karkinos master>"
                }
              ]
            },
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "421521009",
                  "display": "Swallow"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "CarePlan/<1>",
      "resource": {
        "resourceType": "CarePlan",
        "id": "<1>",
        "text": {
          "status": "additional",
          "div": "< Formatted Text >"
        },
        "status": "active",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "<http://snomed.info/sct>",
                "code": "<736368003>",
                "display": "<Coronary heart disease care plan>"
              }
            ]
          }
        ],
        "title": "<Coronary heart disease care plan>",
        "description": "<Treatment of coronary artery and related disease problems>",
        "subject": {
          "reference": "Patient/<1>",
          "display": "<ABC>"
        },
        "activity": [
          {
            "outcomeReference": [
              {
                "reference": "Appointment/<1>"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "DocumentReference/<1>",
      "resource": {
        "resourceType": "DocumentReference",
        "id": "<1>",
        "text": {
          "status": "generated",
          "div": "< Formatted Text >"
        },
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "373942005",
              "display": "Discharge Summary"
            }
          ],
          "text": "Discharge Summary"
        },
        "subject": {
          "reference": "Patient/<1>" 
        },
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "language": "en-IN",
              "data": "" 
              "title": "Discharge Summary",
              "creation": "2020-07-09T11:46:09+05:30"
            }
          }
        ]
      }
    }
  ]
}

Response

Attributes Description
Status Response status with code and description

Financial Report Format

Method Description
Get
Required to create Financial Report documents
Fields Description
Created Timestamp Bill created timestamp
Modified Timestamp Bill modified timestamp
Sl.No Billed Items SL No. in the report
Uhid Hospital UHID
Khid Karkinos UHID
Patient Name Patient Full Name
Bill No Hospital Bill No
Bill Date Hospital Bill Date
Visit ID OP/IP Encounter ID
Visit Date Encounter date
Visit Status OutPatient / InPatient Encounter
Discharge Date Discharge date of IP Encounter
Doctor Name Prescribed / Performed Doctor Name
Dept Name Services department
Service Category Services category
Service Name (Test/service/Item Name)
Gross Amount Item Gross Amount
Refund Refund amount
Net Amount Net Amount after refunds

Risk Assessment

 

MethodDescription
Post
Required to generate the risk assessment score for a patient

Below is an example of the Request and Response for the Questionnaire response. Please reach out to us to get the entire set questions for Questionnaire Response.

 

Request Body:

{
	"resourceType": "QuestionnaireResponse",
	"id": "CRA_0001",
	"status": "completed",
	"subject": "Patient/KH123456",
	"authored": "2022-04-21T12:24:10.729Z",
	"questionnaire": "Questionnaire/CancerRiskAssessment",
	"item": [
		{
			"linkId": "gender",
			"text": "Gender",
			"answer": [
				{
					"valueCoding": {
						"code": "male",
						"display": "Male"
					}
				}
			]
		},
		{
			"linkId": "age",
			"text": "Age",
			"answer": [
				{
					"valueInteger": 73
				}
			]
		},
		{
			"linkId": "pastHistoryOfCancer",
			"text": "Do you have past history of cancer?",
			"answer": [
				{
					"valueCoding": {
						"code": "no",
						"display": "No"
					}
				}
			]
		},
		{
			"linkId": "pastHistoryCancerTypeList",
			"text": "If yes, specify cancer type",
			"answer": [
				{
					"valueCoding": {
						"code": "colon",
						"display": "Colon cancer"
					}
				},
				{
					"valueCoding": {
						"code": "oral",
						"display": "Oral cancer"
					}
				}
			]
		}
	]
}

Response

{
	"resourceType": "MeasureReport",
	"status": "complete",
	"type": "individual",
	"measure": "Measure/CancerRiskAssessment",
	"group": [
		{
			"code": {
				"text": "lung"
			},
			"measureScore": "1"
		}
	]
}
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.