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": {
"lines": [
"The patient was pleasant",
"Recommend following up in 2 weeks"
],
"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"
}
}
},
"clinicalMessageRecipients": [
{
"directAddress": "[email protected]",
"friendlyName": "Dr. John Smith"
}
]
}
'{
"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": {
"lines": [
"The patient was pleasant",
"Recommend following up in 2 weeks"
],
"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"
}
}
},
"clinicalMessageRecipients": [
{
"directAddress": "[email protected]",
"friendlyName": "Dr. John Smith"
}
]
}
'{
"correlationId": "9e923da0-f3cb-4d2b-9fbb-17417104ffd0"
}API Key
Full details of an encounter
Patient to be processed
Show child attributes
Patient's Medical Record Number. Populated with the clinic HL7 OID home community ID and the local patient ID. Must be unique per patient
Show child attributes
Family name (last name)
1"Johnson"
First and middle names. First name (at least) is required
1Name prefix
"Mr."
Name suffix
"Jr."
{
"family": "Johnson",
"given": ["John", "Aaron"],
"prefix": "Mr.",
"suffix": "Jr."
}MALE, FEMALE, OTHER, UNKNOWN Birth date of the patient in ISO-8601 format yyyy-MM-dd
"1992-04-09"
{
"lines": ["123 Main St", "Suite 517"],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
}Show child attributes
Phone number or email address
1"9525551234"
Type of contact
PHONE, EMAIL "PHONE"
Use for the contact
HOME, WORK, MOBILE "HOME"
Main provider for the encounter
Show child attributes
NPI value
10"1414912117"
Show child attributes
Family name (last name)
1"Johnson"
First and middle names. First name (at least) is required
1Name prefix
"Mr."
Name suffix
"Jr."
{
"family": "Johnson",
"given": ["John", "Aaron"],
"prefix": "Mr.",
"suffix": "Jr."
}Facility where this encounter took place
Show child attributes
Facility Name
1"ABC Clinic"
Facility Address
{
"lines": ["123 Main St", "Suite 517"],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
}Completed encounter by a provider with a patient
Show child attributes
Unique ID for this particular encounter. This value to deduplicate encounters if necessary
1"09b21748-39f6-4c9b-9649-8d7642a19f0f"
Period of time this encounter took place. If end date is not specified then it will be defaulted to the start date
Classification for where the care took place
AMBULATORY, EMERGENCY, FIELD, HOME_HEALTH, INPATIENT, VIRTUAL "AMBULATORY"
Type of the encounter. Should come from https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.80.32/expansion
Show child attributes
The specific code from a code system
1"N0000175497"
Code system OID. Must be populated if known
1"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
1"MED-RT"
Human-readable description of the code
1"Penicillin-class Antibacterial"
{
"code": "99204",
"codeSystem": "2.16.840.1.113883.6.12",
"codeSystemName": "CPT",
"displayName": "OFFICE/OUTPATIENT NEW MODERATE MDM 45 MINUTES"
}Diagnoses determined at the encounter. Should be ICD10 or SNOMED codes.
Show child attributes
The specific code from a code system
1"N0000175497"
Code system OID. Must be populated if known
1"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
1"MED-RT"
Human-readable description of the code
1"Penicillin-class Antibacterial"
[
{
"code": "E11.9",
"codeSystem": "2.16.840.1.113883.6.90",
"codeSystemName": "ICD10",
"displayName": "Type 2 diabetes mellitus without complications"
}
]Additional information provided about the encounter
Show child attributes
text of the clinical note, each line will be distinctly separated on CCDA output
11[
"The patient was pleasant",
"Recommend following up in 2 weeks"
]A medical provider
Show child attributes
NPI value
10"1414912117"
Show child attributes
Family name (last name)
1"Johnson"
First and middle names. First name (at least) is required
1Name prefix
"Mr."
Name suffix
"Jr."
{
"family": "Johnson",
"given": ["John", "Aaron"],
"prefix": "Mr.",
"suffix": "Jr."
}Date the note was recorded or written.
"2022-12-12"
Type of note content. Should come from https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.68/expansion/Latest
Show child attributes
The specific code from a code system
1"N0000175497"
Code system OID. Must be populated if known
1"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
1"MED-RT"
Human-readable description of the code
1"Penicillin-class Antibacterial"
{
"code": "11506-3",
"codeSystem": "2.16.840.1.113883.6.1",
"codeSystemName": "LOINC",
"displayName": "Progress Note"
}Recipients who should receive a copy of the generated encounter summary
10Show child attributes
Clinical message recipient address. Should be formatted like an email.
1Human readable version of the recipient.
"Dr. John Smith"
Success
Unique Connective Health identifier to correlate subsequent processing or troubleshooting
"9e923da0-f3cb-4d2b-9fbb-17417104ffd0"