curl --request POST \
--url https://processing-request-staging.connectivehealth.io/v1/encounter-summary \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '{
"patient": {
"mrn": {
"root": "1.2.3.4",
"extension": "ABC123"
},
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
},
"gender": "MALE",
"birthDate": "1992-04-09",
"address": {
"lines": [
"123 Main St",
"Suite 517"
],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
},
"contactPoints": [
{
"value": "9525551234",
"contactPointSystem": "PHONE",
"contactPointUse": "HOME"
}
]
},
"provider": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"facility": {
"name": "ABC Clinic",
"address": {
"lines": [
"123 Main St",
"Suite 517"
],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
}
},
"encounter": {
"id": "09b21748-39f6-4c9b-9649-8d7642a19f0f",
"period": {
"startDate": "2022-12-12",
"endDate": "2022-12-14"
},
"careSetting": "AMBULATORY",
"type": {
"code": "99204",
"codeSystem": "2.16.840.1.113883.6.12",
"codeSystemName": "CPT",
"displayName": "OFFICE/OUTPATIENT NEW MODERATE MDM 45 MINUTES"
},
"diagnoses": [
{
"code": "E11.9",
"codeSystem": "2.16.840.1.113883.6.90",
"codeSystemName": "ICD10",
"displayName": "Type 2 diabetes mellitus without complications"
}
],
"clinicalNote": {
"author": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"date": "2022-12-12",
"code": {
"code": "11506-3",
"codeSystem": "2.16.840.1.113883.6.1",
"codeSystemName": "LOINC",
"displayName": "Progress Note"
},
"lines": [
"The patient was pleasant",
"Recommend following up in 2 weeks"
]
}
}
}'
{
"correlationId": "9e923da0-f3cb-4d2b-9fbb-17417104ffd0"
}
Populate all known data. It is required for processing that as much information as possible is supplied.
Details of a patient encounter. These details are used to generate an Encounter Summary (Progress Note) CCDA document. Each encounter with a patient should generate a request to this endpoint.
curl --request POST \
--url https://processing-request-staging.connectivehealth.io/v1/encounter-summary \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '{
"patient": {
"mrn": {
"root": "1.2.3.4",
"extension": "ABC123"
},
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
},
"gender": "MALE",
"birthDate": "1992-04-09",
"address": {
"lines": [
"123 Main St",
"Suite 517"
],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
},
"contactPoints": [
{
"value": "9525551234",
"contactPointSystem": "PHONE",
"contactPointUse": "HOME"
}
]
},
"provider": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"facility": {
"name": "ABC Clinic",
"address": {
"lines": [
"123 Main St",
"Suite 517"
],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
}
},
"encounter": {
"id": "09b21748-39f6-4c9b-9649-8d7642a19f0f",
"period": {
"startDate": "2022-12-12",
"endDate": "2022-12-14"
},
"careSetting": "AMBULATORY",
"type": {
"code": "99204",
"codeSystem": "2.16.840.1.113883.6.12",
"codeSystemName": "CPT",
"displayName": "OFFICE/OUTPATIENT NEW MODERATE MDM 45 MINUTES"
},
"diagnoses": [
{
"code": "E11.9",
"codeSystem": "2.16.840.1.113883.6.90",
"codeSystemName": "ICD10",
"displayName": "Type 2 diabetes mellitus without complications"
}
],
"clinicalNote": {
"author": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"date": "2022-12-12",
"code": {
"code": "11506-3",
"codeSystem": "2.16.840.1.113883.6.1",
"codeSystemName": "LOINC",
"displayName": "Progress Note"
},
"lines": [
"The patient was pleasant",
"Recommend following up in 2 weeks"
]
}
}
}'
{
"correlationId": "9e923da0-f3cb-4d2b-9fbb-17417104ffd0"
}
API Key
Full details of an encounter
Success
The response is of type object
.