curl --request POST \
--url https://processing-request-staging.connectivehealth.io/v1/patient-record \
--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"
}
]
},
"responsibleProvider": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"activeIcd10Diagnoses": [
{
"code": "E66.01",
"displayName": "Morbid (severe) obesity due to excess calories",
"date": "2022-12-12"
}
],
"activeIcd9Diagnoses": [
{
"code": "401.1",
"displayName": "Benign essential hypertension",
"date": "2023-12-12"
}
],
"activeSnomedDiagnoses": [
{
"code": "34713006",
"displayName": "Vitamin D deficiency",
"date": "2023-11-12"
}
],
"medications": [
{
"active": true,
"nameCode": {
"code": "6809",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN"
},
"classCode": {
"code": "N0000175565",
"codeSystem": "2.16.840.1.113883.6.345",
"codeSystemName": "MED-RT",
"displayName": "Biguanide"
},
"scheduleCode": {
"code": "IV",
"codeSystem": "2.16.840.1.113883.12.477",
"codeSystemName": "Controlled Substance Schedule",
"displayName": "Schedule IV"
},
"medicationRequests": [
{
"code": {
"code": "861007",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN hydrochloride 500 MG Oral Tablet"
},
"form": {
"code": "C42998",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "tablet"
},
"route": {
"code": "C38288",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "oral"
},
"prescribedDate": "2023-12-02",
"prescriber": {
"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"
}
},
"initialFillQuantity": 10,
"numberOfRefillsAllowed": 0,
"timingEvent": "QD",
"frequencyUnit": "d",
"frequencyValue": 1,
"dosageInstruction": {
"text": "take 1 tablet by mouth once daily",
"strengthUnit": "mg",
"strengthValue": 100,
"amountUnit": "puffs",
"amountValue": 2
}
}
]
}
],
"clinicalNotes": [
{
"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"
}
}
],
"batchId": "BATCH-123"
}
'{
"correlationId": "9e923da0-f3cb-4d2b-9fbb-17417104ffd0"
}Populate all known data. It is required for processing that as much information as possible is supplied.
All active clinical information for a patient should be supplied in every API request. That information is used to satisfy reciprocity requirements of the various health information exchanges that Connective Health participates in. Failure to populate known clinical information for a patient is a violation of health information exchange reciprocity rules, and may result in the termination of information exchange.
Clinical patient record to share with other providers on the network. This record will ONLY be shared if the patient has ALREADY been the subject of a patient search due to either a scheduled appointment or an incoming ADT event.
curl --request POST \
--url https://processing-request-staging.connectivehealth.io/v1/patient-record \
--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"
}
]
},
"responsibleProvider": {
"npi": "1414912117",
"name": {
"family": "Johnson",
"given": [
"John",
"Aaron"
],
"prefix": "Mr.",
"suffix": "Jr."
}
},
"activeIcd10Diagnoses": [
{
"code": "E66.01",
"displayName": "Morbid (severe) obesity due to excess calories",
"date": "2022-12-12"
}
],
"activeIcd9Diagnoses": [
{
"code": "401.1",
"displayName": "Benign essential hypertension",
"date": "2023-12-12"
}
],
"activeSnomedDiagnoses": [
{
"code": "34713006",
"displayName": "Vitamin D deficiency",
"date": "2023-11-12"
}
],
"medications": [
{
"active": true,
"nameCode": {
"code": "6809",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN"
},
"classCode": {
"code": "N0000175565",
"codeSystem": "2.16.840.1.113883.6.345",
"codeSystemName": "MED-RT",
"displayName": "Biguanide"
},
"scheduleCode": {
"code": "IV",
"codeSystem": "2.16.840.1.113883.12.477",
"codeSystemName": "Controlled Substance Schedule",
"displayName": "Schedule IV"
},
"medicationRequests": [
{
"code": {
"code": "861007",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN hydrochloride 500 MG Oral Tablet"
},
"form": {
"code": "C42998",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "tablet"
},
"route": {
"code": "C38288",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "oral"
},
"prescribedDate": "2023-12-02",
"prescriber": {
"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"
}
},
"initialFillQuantity": 10,
"numberOfRefillsAllowed": 0,
"timingEvent": "QD",
"frequencyUnit": "d",
"frequencyValue": 1,
"dosageInstruction": {
"text": "take 1 tablet by mouth once daily",
"strengthUnit": "mg",
"strengthValue": 100,
"amountUnit": "puffs",
"amountValue": 2
}
}
]
}
],
"clinicalNotes": [
{
"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"
}
}
],
"batchId": "BATCH-123"
}
'{
"correlationId": "9e923da0-f3cb-4d2b-9fbb-17417104ffd0"
}API Key
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"
Provider responsible for this patient's care. This can be the Primary Care Physician (PCP), most recent provider, or a provider assigned for future care.
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."
}All active diagnoses (problems) known about the patient. Must all be ICD-10 codes. If the patient is an existing patient then this list should be populated with all known diagnoses
Show child attributes
The diagnosis code including punctuation
1"E66.01"
The display value for the diagnosis
1"Morbid (severe) obesity due to excess calories"
Date of the problem (onset or diagnosed)
"2022-12-12"
All active diagnoses (problems) known about the patient. Must all be ICD-9 codes. If the patient is an existing patient then this list should be populated with all known diagnoses. ICD-10 should be greatly preferred if available.
Show child attributes
The diagnosis code including punctuation
1"E66.01"
The display value for the diagnosis
1"Morbid (severe) obesity due to excess calories"
Date of the problem (onset or diagnosed)
"2022-12-12"
[
{
"code": "401.1",
"displayName": "Benign essential hypertension",
"date": "2023-12-12"
}
]All active diagnoses (problems) known about the patient. Must all be SNOMED codes. If the patient is an existing patient then this list should be populated with all known diagnoses. ICD-10 should be greatly preferred if available.
Show child attributes
The diagnosis code including punctuation
1"E66.01"
The display value for the diagnosis
1"Morbid (severe) obesity due to excess calories"
Date of the problem (onset or diagnosed)
"2022-12-12"
[
{
"code": "34713006",
"displayName": "Vitamin D deficiency",
"date": "2023-11-12"
}
]All known medications about the patient
Show child attributes
Whether this medication is still being actively used by the patient
true
Medication name code. Code system should be RxNorm if possible
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "6809",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN"
}Medication class code. Code system should be MED-RT if possible
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "N0000175565",
"codeSystem": "2.16.840.1.113883.6.345",
"codeSystemName": "MED-RT",
"displayName": "Biguanide"
}Medication schedule code.
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "IV",
"codeSystem": "2.16.840.1.113883.12.477",
"codeSystemName": "Controlled Substance Schedule",
"displayName": "Schedule IV"
}Show child attributes
Medication code. This is the specific medication including form. Code system should be NDC or RxNorm if possible. NDC codes are strongly encouraged to be 11-digit if possible, otherwise 10-digit with dashes.
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "861007",
"codeSystem": "2.16.840.1.113883.6.88",
"codeSystemName": "RxNorm",
"displayName": "metFORMIN hydrochloride 500 MG Oral Tablet"
}Form the medication is in. Code system should be NCI Thesaurus if possible
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "C42998",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "tablet"
}Route by which the medication is administered
Show child attributes
Human-readable description of the code
1"Penicillin-class Antibacterial"
The specific code from a code system
"N0000175497"
Code system OID. Must be populated if known
"2.16.840.1.113883.6.345"
Human-readable name of the code system name if known
"MED-RT"
{
"code": "C38288",
"codeSystem": "2.16.840.1.113883.3.26.1.1",
"codeSystemName": "NCI Thesaurus",
"displayName": "oral"
}Date the medication was prescribed, in ISO-8601 format yyyy-MM-dd
"2023-12-02"
Prescriber of the medication
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 the medication was prescribed
Show child attributes
Facility Name
1"ABC Clinic"
Facility Address
Show child attributes
5-digit zip code
"55401"
Street lines of the address
The city
"Minneapolis"
State code abbreviation
"MN"
{
"lines": ["123 Main St", "Suite 517"],
"city": "Minneapolis",
"state": "MN",
"zip": "55401"
}Quantity initially filled for the medication
10
Number of refills allowed for this prescription
0
Timing of medication administration, taken from https://www.hl7.org/fhir/R4/valueset-timing-abbreviation.html (OID 2.16.840.1.113883.4.642.3.78). Should be consistent with frequency if both populated
BID, TID, QID, AM, PM, QD, QOD, Q1H, Q2H, Q3H, Q4H, Q6H, Q8H, BED, WK, MO "QD"
Unit of time as defined by http://hl7.org/fhir/ValueSet/units-of-time. Should be consistent with timingEvent if both populated
"d"
Frequency at which the medication should be taken. Should be consistent with timingEvent if both populated
1
Show child attributes
Prescriber's sig, or directions for taking the medication
"take 1 tablet by mouth once daily"
Unit of the dosage strength
"mg"
Value of the dosage strength
100
Unit of a single dose
"puffs"
Value of a single dose
2
All known clinical notes about the patient which are not related to a specific 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"
}Identifier which can be used to logically group requests together. Do not populate if you do not need to group requests together. Will default to a UUID if not populated
"BATCH-123"
Success
Unique Connective Health identifier to correlate subsequent processing or troubleshooting
"9e923da0-f3cb-4d2b-9fbb-17417104ffd0"