Maintain your Redox repository for Carequality

Last updated: Jun 10, 2026
HEALTH TECH VENDOR
HCO
Who can use this how-to
  • Existing customers using Network Onramps

All Carequality participants—including those who join via Redox—must respond to requests they receive from other Carequality participants. In some cases, you may receive up to 200K requests per day.

With Redox as your Carequality responder, we can respond to incoming patient requests on your behalf. But you must push patient records and documents to your Redox repository so that we can maintain an accurate representation of each of your patients.

For direct responders

If you are your own responder, you must build an infrastructure capable of supporting a large volume of incoming requests. And you must still maintain your own patient and document database so that you can respond to incoming requests with the most accurate data.

Use curl for technical validation

You can copy our code examples and send the test requests with curl (learn more about curl) instead of Postman. If you do, remember to:

  • Replace any variables with your specific data (e.g., your organization's OID) before sending the request.
    • $VARIABLE: An environment variable you can set in your terminal before running the command.
    • {{variable here}}: A placeholder for your specific data.
  • Add the source-id if you have multiple sources. We don’t include {{source-id}} in the code examples, so you’ll have to add them yourself. Learn about including source details.
  • Make sure you have a full request for your own use since some of the code examples are abbreviated.

Check out these troubleshooting guides if you run into errors:

Maintain your patient database

As you create and update patient records in your system, you must make sure that they stay current in your data on demand repository.

API reference

Review the PatientAdmin data model schema for full requirements.

Create a new patient record

Send a PatientAdmin.NewPatient request with the new patient’s details:

  • For production queries, set the Test value to false.
  • The destination ID should be the one provided by Redox for your data on demand repository.
  • For PatientIdentifiers.ID, use the MRN or primary ID of the patient in your system.
  • For PatientIdentifiers.IDType, use the value Redox provides. Typically, this means mapping a value like MR to this OID. This OID is linked to the data on demand repository and is required to associate the patient.
  • For supported patient demographics, review the PatientAdmin schema. The values below are examples only and should change for your individual queries.
Example: Create a new patient in Carequality
bash
1
curl \
2
-X POST https://api.redoxengine.com/endpoint \
3
-H "Content-Type: application/json" \
4
-H "Authorization: Bearer $API_TOKEN" \
5
-d '{
6
"Meta": {
7
"Extensions": {
8
"sender-organization-id": {
9
"url": "https://api.redoxengine.com/extensions/sender-organization-id",
10
"string": "{{ORGANIZATION-OID}}"
11
},
12
"user-id": {
13
"url": "https://api.redoxengine.com/extensions/user-id",
14
"string": "{{SENDING-USER-NAME}}"
15
},
16
"user-role": {
17
"url": "https://api.redoxengine.com/extensions/user-role",
18
// The role of the user identified above. This must be a SNOMED CT code.
19
"coding": {
20
"code": "112247003",
21
"display": "Medical Doctor"
22
}
23
},
24
"purpose-of-use": {
25
"url": "https://api.redoxengine.com/extensions/purpose-of-use",
26
"coding": {
27
"code": "TREATMENT",
28
"display": "Treatment"
29
}
30
}
31
},
32
"DataModel": "PatientAdmin",
33
"EventType": "NewPatient",
34
"Test": true,
35
"Destinations": [
36
{
37
"ID": "{{DATA-ON-DEMAND-REPOSITORY-ID}}"
38
}
39
]
40
},
41
"Patient": {
42
"Identifiers": [
43
{
44
"ID": "1234",
45
"IDType": "MR"
46
}
47
],
48
"Demographics": {
49
"FirstName": "Timothy",
50
"MiddleName": "Paul",
51
"LastName": "Bixby",
52
"DOB": "2008-01-06",
53
"SSN": "101-01-0001",
54
"Sex": "Male",
55
"Race": "White",
56
"IsHispanic": null,
57
"MaritalStatus": "Married",
58
"IsDeceased": null,
59
"DeathDateTime": null,
60
"PhoneNumber": {
61
"Home": "+18088675301",
62
"Office": null,
63
"Mobile": null
64
},
65
"EmailAddresses": [],
66
"Language": "en",
67
"Citizenship": [],
68
"Address": {
69
"StreetAddress": "4762 Hickory Street",
70
"City": "Monroe",
71
"State": "WI",
72
"ZIP": "53566",
73
"County": "Green",
74
"Country": "US"
75
}
76
},
77
"Notes": [],
78
"Contacts": [
79
{
80
"FirstName": "Barbara",
81
"MiddleName": null,
82
"LastName": "Bixby",
83
"Address": {
84
"StreetAddress": "4762 Hickory Street",
85
"City": "Monroe",
86
"State": "WI",
87
"ZIP": "53566",
88
"County": "Green",
89
"Country": "US"
90
},
91
"PhoneNumber": {
92
"Home": "+18088675303",
93
"Office": "+17077543758",
94
"Mobile": "+19189368865"
95
},
96
"RelationToPatient": "Mother",
97
"EmailAddresses": [
98
"barb.bixby@test.net"
99
],
100
"Roles": [
101
"Emergency Contact"
102
]
103
}
104
],
105
"Allergies": [
106
{
107
"Code": "7982",
108
"Codeset": "RxNorm",
109
"Name": "Penicillin",
110
"Type": {
111
"Code": null,
112
"Codeset": null,
113
"Name": null
114
},
115
"OnsetDateTime": null,
116
"Reaction": [
117
{
118
"Code": "28926001",
119
"Codeset": "SNOMED CT",
120
"Name": "Rash"
121
},
122
{
123
"Code": "247472004",
124
"Codeset": "SNOMED CT",
125
"Name": "Hives"
126
}
127
],
128
"Severity": {
129
"Code": null,
130
"Codeset": null,
131
"Name": null
132
},
133
"Status": null
134
}
135
],
136
"PCP": {
137
"NPI": "4356789876",
138
"ID": "4356789876",
139
"IDType": "NPI",
140
"FirstName": "Pat",
141
"LastName": "Granite",
142
"Credentials": [
143
"MD"
144
],
145
"Address": {
146
"StreetAddress": "123 Main St.",
147
"City": "Madison",
148
"State": "WI",
149
"ZIP": "53703",
150
"County": "Dane",
151
"Country": "USA"
152
},
153
"EmailAddresses": [],
154
"PhoneNumber": {
155
"Office": "+16085551234"
156
},
157
"Location": {
158
"Type": null,
159
"Facility": null,
160
"Department": null,
161
"Room": null
162
}
163
},
164
"Guarantor": {
165
"Number": "10001910",
166
"FirstName": "Kent",
167
"MiddleName": null,
168
"LastName": "Bixby",
169
"SSN": null,
170
"DOB": null,
171
"Sex": null,
172
"Spouse": {
173
"FirstName": "Barbara",
174
"LastName": "Bixby"
175
},
176
"Address": {
177
"StreetAddress": "4762 Hickory Street",
178
"City": "Monroe",
179
"State": "WI",
180
"ZIP": "53566",
181
"County": "Green",
182
"Country": "USA"
183
},
184
"PhoneNumber": {
185
"Home": null,
186
"Business": null,
187
"Mobile": null
188
},
189
"EmailAddresses": [],
190
"Type": null,
191
"RelationToPatient": "Father",
192
"Employer": {
193
"Name": "Accelerator Labs",
194
"Address": {
195
"StreetAddress": "1456 Old Sauk Road",
196
"City": "Madison",
197
"State": "WI",
198
"ZIP": "53719",
199
"County": "Dane",
200
"Country": "USA"
201
},
202
"PhoneNumber": "+18083451121"
203
}
204
},
205
"Insurances": [
206
{
207
"Plan": {
208
"ID": "31572",
209
"IDType": "Payor ID",
210
"Name": "HMO Deductable Plan",
211
"Type": null
212
},
213
"MemberNumber": null,
214
"Company": {
215
"ID": "60054",
216
"IDType": null,
217
"Name": "aetna (60054 0131)",
218
"Address": {
219
"StreetAddress": "PO Box 14080",
220
"City": "Lexington",
221
"State": "KY",
222
"ZIP": "40512-4079",
223
"County": "Fayette",
224
"Country": "US"
225
},
226
"PhoneNumber": "+18089541123"
227
},
228
"GroupNumber": "847025-024-0009",
229
"GroupName": "Accelerator Labs",
230
"EffectiveDate": "2015-01-01",
231
"ExpirationDate": "2020-12-31",
232
"PolicyNumber": "9140860055",
233
"AgreementType": null,
234
"CoverageType": null,
235
"Insured": {
236
"Identifiers": [],
237
"LastName": null,
238
"MiddleName": null,
239
"FirstName": null,
240
"SSN": null,
241
"Relationship": null,
242
"DOB": null,
243
"Sex": null,
244
"Address": {
245
"StreetAddress": null,
246
"City": null,
247
"State": null,
248
"ZIP": null,
249
"County": null,
250
"Country": null
251
}
252
}
253
}
254
]
255
}
256
}

Update an existing patient record

Send a PatientAdmin.PatientUpdate request with the updated details:

  • For production queries, set the Test value to false.
  • The destination ID should be the one provided by Redox for your data on demand repository.
  • For PatientIdentifiers.ID, use the MRN or primary ID of the patient in your system.
  • For PatientIdentifiers.IDType, use the value Redox provides. Typically, this means mapping a value like MR to this OID. This OID is linked to the data on demand repository and is required to associate the patient.
  • For supported patient demographics, review the PatientAdmin schema. The values below are examples only and should change for your individual queries.
Example: Update an existing patient in Carequality
bash
1
curl \
2
-X POST https://api.redoxengine.com/endpoint \
3
-H "Content-Type: application/json" \
4
-H "Authorization: Bearer $API_TOKEN" \
5
-d '{
6
"Meta": {
7
"Extensions": {
8
"sender-organization-id": {
9
"url": "https://api.redoxengine.com/extensions/sender-organization-id",
10
"string": "{{ORGANIZATION-OID}}"
11
},
12
"user-id": {
13
"url": "https://api.redoxengine.com/extensions/user-id",
14
"string": "{{SENDING-USER-NAME}}"
15
},
16
"user-role": {
17
"url": "https://api.redoxengine.com/extensions/user-role",
18
"coding": {
19
"code": "112247003",
20
"display": "Medical Doctor"
21
}
22
},
23
"purpose-of-use": {
24
"url": "https://api.redoxengine.com/extensions/purpose-of-use",
25
"coding": {
26
"code": "TREATMENT",
27
"display": "Treatment"
28
}
29
}
30
},
31
"DataModel": "PatientAdmin",
32
"EventType": "PatientUpdate",
33
"Test": true,
34
"Destinations": [
35
{
36
"ID": "{{DATA-ON-DEMAND-REPOSITORY-ID}}"
37
}
38
]
39
},
40
"Patient": {
41
"Identifiers": [
42
{
43
"ID": "1234",
44
"IDType": "MR"
45
}
46
],
47
"Demographics": {
48
"FirstName": "Timothy",
49
"MiddleName": "Paul",
50
"LastName": "Bixby",
51
"DOB": "2008-01-06",
52
"SSN": "101-01-0001",
53
"Sex": "Male",
54
"Race": "White",
55
"IsHispanic": null,
56
"MaritalStatus": "Married",
57
"IsDeceased": null,
58
"DeathDateTime": null,
59
"PhoneNumber": {
60
"Home": "+18088675301",
61
"Office": null,
62
"Mobile": null
63
},
64
"EmailAddresses": [],
65
"Language": "en",
66
"Citizenship": [],
67
"Address": {
68
"StreetAddress": "4435 Victoria Ln",
69
"City": "Madison",
70
"State": "WI",
71
"ZIP": "53719",
72
"County": "Dane",
73
"Country": "US"
74
}
75
},
76
"Notes": [],
77
"Contacts": [
78
{
79
"FirstName": "Barbara",
80
"MiddleName": null,
81
"LastName": "Bixby",
82
"Address": {
83
"StreetAddress": "4762 Hickory Street",
84
"City": "Monroe",
85
"State": "WI",
86
"ZIP": "53566",
87
"County": "Green",
88
"Country": "US"
89
},
90
"PhoneNumber": {
91
"Home": "+18088675303",
92
"Office": "+17077543758",
93
"Mobile": "+19189368865"
94
},
95
"RelationToPatient": "Mother",
96
"EmailAddresses": [
97
"barb.bixby@test.net"
98
],
99
"Roles": [
100
"Emergency Contact"
101
]
102
}
103
],
104
"Diagnoses": [
105
{
106
"Code": "R07.0",
107
"Codeset": "ICD-10",
108
"Name": "Pain in throat",
109
"Type": null,
110
"DocumentedDateTime": null
111
}
112
],
113
"Allergies": [
114
{
115
"Code": "7982",
116
"Codeset": "RxNorm",
117
"Name": "Penicillin",
118
"Type": {
119
"Code": null,
120
"Codeset": null,
121
"Name": null
122
},
123
"OnsetDateTime": null,
124
"Reaction": [
125
{
126
"Code": "28926001",
127
"Codeset": "SNOMED CT",
128
"Name": "Rash"
129
},
130
{
131
"Code": "247472004",
132
"Codeset": "SNOMED CT",
133
"Name": "Hives"
134
}
135
],
136
"Severity": {
137
"Code": null,
138
"Codeset": null,
139
"Name": null
140
},
141
"Status": null
142
}
143
],
144
"PCP": {
145
"NPI": "4356789876",
146
"ID": "4356789876",
147
"IDType": "NPI",
148
"FirstName": "Pat",
149
"LastName": "Granite",
150
"Credentials": [
151
"MD"
152
],
153
"Address": {
154
"StreetAddress": "123 Main St.",
155
"City": "Madison",
156
"State": "WI",
157
"ZIP": "53703",
158
"County": "Dane",
159
"Country": "USA"
160
},
161
"EmailAddresses": [],
162
"PhoneNumber": {
163
"Office": "+16085551234"
164
},
165
"Location": {
166
"Type": null,
167
"Facility": null,
168
"Department": null,
169
"Room": null
170
}
171
},
172
"Insurances": [
173
{
174
"Plan": {
175
"ID": "31572",
176
"IDType": "Payor ID",
177
"Name": "HMO Deductable Plan",
178
"Type": null
179
},
180
"MemberNumber": null,
181
"Company": {
182
"ID": "60054",
183
"IDType": null,
184
"Name": "aetna (60054 0131)",
185
"Address": {
186
"StreetAddress": "PO Box 14080",
187
"City": "Lexington",
188
"State": "KY",
189
"ZIP": "40512-4079",
190
"County": "Fayette",
191
"Country": "US"
192
},
193
"PhoneNumber": "+18089541123"
194
},
195
"GroupNumber": "847025-024-0009",
196
"GroupName": "Accelerator Labs",
197
"EffectiveDate": "2015-01-01",
198
"ExpirationDate": "2020-12-31",
199
"PolicyNumber": "9140860055",
200
"AgreementType": null,
201
"CoverageType": null,
202
"Insured": {
203
"Identifiers": [],
204
"LastName": null,
205
"MiddleName": null,
206
"FirstName": null,
207
"SSN": null,
208
"Relationship": null,
209
"DOB": null,
210
"Sex": null,
211
"Address": {
212
"StreetAddress": null,
213
"City": null,
214
"State": null,
215
"ZIP": null,
216
"County": null,
217
"Country": null
218
}
219
}
220
}
221
],
222
"Guarantor": {
223
"Number": "10001910",
224
"FirstName": "Kent",
225
"MiddleName": null,
226
"LastName": "Bixby",
227
"SSN": null,
228
"DOB": null,
229
"Sex": null,
230
"Spouse": {
231
"FirstName": "Barbara",
232
"LastName": "Bixby"
233
},
234
"Address": {
235
"StreetAddress": "4762 Hickory Street",
236
"City": "Monroe",
237
"State": "WI",
238
"ZIP": "53566",
239
"County": "Green",
240
"Country": "USA"
241
},
242
"PhoneNumber": {
243
"Home": null,
244
"Business": null,
245
"Mobile": null
246
},
247
"EmailAddresses": [],
248
"Type": null,
249
"RelationToPatient": "Father",
250
"Employer": {
251
"Name": "Accelerator Labs",
252
"Address": {
253
"StreetAddress": "1456 Old Sauk Road",
254
"City": "Madison",
255
"State": "WI",
256
"ZIP": "53719",
257
"County": "Dane",
258
"Country": "USA"
259
},
260
"PhoneNumber": "+18083451121"
261
}
262
}
263
}
264
}

Merge duplicate patient records

Send a PatientAdmin.PatientMerge request to merge the patient records in your data on demand repository and replace the previous identifiers with the new one.

  • For production queries, set the Test value to false.
  • The destination ID should be the one provided by Redox for your data on demand repository.
  • For PatientIdentifiers.ID, include a new MRN or primary ID of the patient in your system. Also use the corresponding PatientIdentifiers.IDType.
  • For PreviousIdentifiers, include the the former patient ID and ID type values for the duplicate records.
  • For supported patient demographics, review the PatientAdmin schema. The values below are examples only and should change for your individual queries.
Example: Merge patient records in Carequality
bash
1
curl \
2
-X POST https://api.redoxengine.com/endpoint \
3
-H "Content-Type: application/json" \
4
-H "Authorization: Bearer $API_TOKEN" \
5
-d '{
6
"Meta": {
7
"Extensions": {
8
"sender-organization-id": {
9
"url": "https://api.redoxengine.com/extensions/sender-organization-id",
10
"string": "{{ORGANIZATION-OID}}"
11
},
12
"user-id": {
13
"url": "https://api.redoxengine.com/extensions/user-id",
14
"string": "{{SENDING-USER-NAME}}"
15
},
16
"user-role": {
17
"url": "https://api.redoxengine.com/extensions/user-role",
18
"coding": {
19
"code": "112247003",
20
"display": "Medical Doctor"
21
}
22
},
23
"purpose-of-use": {
24
"url": "https://api.redoxengine.com/extensions/purpose-of-use",
25
"coding": {
26
"code": "TREATMENT",
27
"display": "Treatment"
28
}
29
}
30
},
31
"DataModel": "PatientAdmin",
32
"EventType": "PatientMerge",
33
"Test": true,
34
"Destinations": [
35
{
36
"ID": "{{DATA-ON-DEMAND-REPOSITORY-ID}}"
37
}
38
]
39
},
40
"Patient": {
41
"Identifiers": [
42
{
43
"ID": "1235",
44
"IDType": "MR"
45
}
46
],
47
"PreviousIdentifiers": [
48
{
49
"ID": "1234",
50
"IDType": "MR"
51
}
52
],
53
"Demographics": {
54
"FirstName": "Timothy",
55
"MiddleName": "Paul",
56
"LastName": "Bixby",
57
"DOB": "2008-01-06",
58
"SSN": "101-01-0001",
59
"Sex": "Male",
60
"Race": "White",
61
"IsHispanic": null,
62
"MaritalStatus": "Married",
63
"IsDeceased": null,
64
"DeathDateTime": null,
65
"PhoneNumber": {
66
"Home": "+18088675301",
67
"Office": null,
68
"Mobile": null
69
},
70
"EmailAddresses": [],
71
"Language": "en",
72
"Citizenship": [],
73
"Address": {
74
"StreetAddress": "4762 Hickory Street",
75
"City": "Monroe",
76
"State": "WI",
77
"ZIP": "53566",
78
"County": "Green",
79
"Country": "US"
80
}
81
},
82
"Notes": []
83
}
84
}

Save patient documents

Rules for returned data

As a clinical network participant, you must include certain data when you're returning data to the network. Check out the rules for returned data.

After providing care for a patient, save the patient summary documents to your data on demand repository so that we can respond to requests for documents.

We recommend using the ClinicalSummary.VisitPush request with all the available unique clinical information that you produce.

Be mindful of these requirements and best practices:

Field

Notes

Header.Patient.Identifiers[].IDType

At least one patient identifier should include an ID Type that matches the patient identification OID used in the PatientAdmin messages.

Header.Document.ID

This ID must be globally unique across Carequality as either a GUID or an internally unique ID prefixed with your organizational OID.

Our examples use the OID prefix.

Header.Document.Type

Header.Document.TypeCode

These values should be a LOINC code. Typically, you should use the code for a Continuity of Care Document (i.e., 34133-9).

When sending a document related to a single patient visit, you should use these codes:

Use Progress Notes (i.e., 11506-3) for outpatient/ambulatory visits.

Use discharge summary (i.e., 18842-5) for inpatient/hospital visits.

Header.Document.Custodian.Name

We recommend populating this value since it tells other Carequality participants where the data came from.

If this field isn’t populated, the value defaults to the Meta.Source.Name, which is set based on the source you’re sending the request from.

We encourage you to populate as much of the Header.Document.Custodian.Name object as possible. Most entries use the same data as their directory, but you may want more or less granularity.

Documents[].Author.Location

Some external systems use this to display the location the document originated from when viewing a list documents. When looking at an individual document, Custodian.Name is typically used instead.

Typically, the Author and Custodian values are the same, but they may differ. If not supplied, Redox sets this to the directory entry name you’ve saved to Carequality.

See the difference between Author and Custodian.

API reference

Review the Clinical Summary data model schema for more technical details.

Since ClinicalSummary.VisitPush is lengthy, we include an abbreviated example below. Check out an unabbreviated example or view the Postman package.

Example: Save a patient document (abbreviated)
bash
1
curl \
2
-X POST https://api.redoxengine.com/endpoint \
3
-H "Content-Type: application/json" \
4
-H "Authorization: Bearer $API_TOKEN" \
5
-d '{
6
"Meta": {
7
"DataModel": "Clinical Summary",
8
"EventType": "VisitPush",
9
"Test": true,
10
"Destinations": [
11
{
12
"ID": "{{DATA-ON-DEMAND-REPOSITORY-ID}}"
13
}
14
]
15
},
16
"Header": {
17
"DirectAddressFrom": null,
18
"DirectAddressTo": null,
19
"Document": {
20
"Author": {
21
"ID": "4356789876",
22
"IDType": "NPI",
23
"Type": null,
24
"FirstName": "Pat",
25
"LastName": "Granite",
26
"Credentials": [
27
"MD"
28
],
29
"Address": {
30
"StreetAddress": "123 Main St.",
31
"City": "Madison",
32
"State": "WI",
33
"ZIP": "53703",
34
"County": "Dane",
35
"Country": "USA"
36
},
37
"EmailAddresses": [],
38
"PhoneNumber": {
39
"Office": "+16085551234"
40
},
41
"Location": { ...
42
}
43
},
44
"ID": "{{REDOX-PARENT-OID}}^67890",
45
"Locale": "US",
46
"Title": "Community Health and Hospitals: Annual Physical",
47
"DateTime": "2012-09-12T00:00:00.000Z",
48
"Type": "Progress Note",
49
"TypeCode": {
50
"Code": "11506-3",
51
"CodeSystem": "2.16.840.1.113883.6.1",
52
"CodeSystemName": "LOINC",
53
"Name": "Progress Note"
54
},
55
"Visit": {
56
"Location": {
57
"Type": "Outpatient Clinic",
58
"Facility": "RHS Vista Oaks Clinic",
59
"Department": "Vista Oaks Clinic",
60
"Room": null
61
},
62
"StartDateTime": "2020-11-12T00:18:30.592Z",
63
"EndDateTime": "2020-11-12T00:18:30.592Z",
64
"Reason": "Annual Physical",
65
"VisitNumber": "30311442"
66
}
67
},
68
"Patient": {
69
"Identifiers": [
70
{
71
"ID": "1234",
72
"IDType": "MR"
73
}
74
],
75
"FirstName": "Timothy",
76
"MiddleName": "Paul",
77
"LastName": "Bixby",
78
"DOB": "2008-01-06",
79
"SSN": "101-01-0001",
80
"Sex": "Male",
81
"Race": "White",
82
"IsHispanic": null,
83
"MaritalStatus": "Married",
84
"IsDeceased": null,
85
"DeathDateTime": null,
86
"PhoneNumber": {
87
"Home": "+18088675301",
88
},
89
"EmailAddresses": [],
90
"Language": "en",
91
"Citizenship": [],
92
"Address": {
93
"StreetAddress": "4762 Hickory Street",
94
"City": "Monroe",
95
"State": "WI",
96
"ZIP": "53566",
97
"County": "Green",
98
"Country": "US"
99
}
100
},
101
"PCP": { ...
102
}
103
},
104
"AdvanceDirectivesText": "
105
Directive Description Verification Supporting Document(s)
106
Resuscitation status Do not resuscitate Dr. Robert Dolin, Nov 07, 1999 Advance directive
107
",
108
"AdvanceDirectives": [
109
{
110
"Type": {
111
"Code": "304251008",
112
"CodeSystem": "2.16.840.1.113883.6.96",
113
"CodeSystemName": "SNOMED CT",
114
"Name": "Resuscitation",
115
"AltCodes": []
116
},
117
"Code": "304253006",
118
"CodeSystem": "2.16.840.1.113883.6.96",
119
"CodeSystemName": "SNOMED CT",
120
"Name": "Do not resuscitate",
121
"AltCodes": [],
122
"StartDate": "2011-02-13T05:00:00.000Z",
123
"EndDate": null,
124
"ExternalReference": "AdvanceDirective.b50b7910-7ffb-4f4c-bbe4-177ed68cbbf3.pdf",
125
"VerifiedBy": [
126
{
127
"FirstName": "Robert",
128
"LastName": "Dolin",
129
"Credentials": "Dr.",
130
"DateTime": null
131
}
132
],
133
"Custodians": [
134
{
135
"FirstName": "Robert",
136
"LastName": "Dolin",
137
"Credentials": "Dr.",
138
"Address": { ...
139
}
140
}
141
]
142
}
143
],
144
"AllergyText": "
145
Substance Reaction Severity Status
146
Penicillin G benzathine Hives Moderate to severe Inactive
147
Codeine Shortness of Breath Moderate Active
148
Aspirin Hives Mild to moderate Active
149
",
150
"Allergies": [ ...
151
] ...
152
}
153
],
154
"AssessmentText": "Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.Acute on chronic anemia secondary to #1.Azotemia, acute renal failure with volume loss secondary to #1.Hyperkalemia secondary to #3 and on ACE and K+ supplement.Other chronic diagnoses as noted above, currently stable.Also, this person has back problems.",
155
"Assessment": {
156
"Diagnoses": [
157
{
158
"Value": "Displacement of lumbar intervertebral disc without myelopathy",
159
"DateTime": "2009-11-01T05:00:00.000Z",
160
"IsNegativeIndicator": false,
161
"Codes": [
162
{
163
"Code": "202708005",
164
"CodeSystem": "2.16.840.1.113883.6.96",
165
"CodeSystemName": "SNOMED-CT",
166
"Name": "Herniated lumbar intervertebral disc"
167
},
168
{ ...
169
}
170
]
171
},
172
{
173
"Value": "Thoracic or lumbosacral neuritis or radiculitis, unspecified",
174
"DateTime": "2009-11-01T05:00:00.000Z",
175
"IsNegativeIndicator": false,
176
"Codes": [
177
{
178
"Code": "M54.16",
179
"CodeSystem": "2.16.840.1.113883.6.90",
180
"CodeSystemName": "ICD-10",
181
"Name": "Right lumbar radiculopathy"
182
}
183
]
184
}
185
]
186
},
187
"ChiefComplaintText": "Dark stools.",
188
"EncountersText": "
189
Encounter Performer Location Date
190
Pnuemonia Dr Henry Seven Community Health and Hospitals 20120806
191
",
192
"Encounters": [
193
{
194
"Identifiers": [
195
{
196
"ID": "2376492",
197
"IDType": "URMC Epic CSN"
198
}, ...
199
],
200
"Type": {
201
"Code": "99222",
202
"CodeSystem": "2.16.840.1.113883.6.12",
203
"CodeSystemName": "CPT",
204
"Name": "InPatient Admission",
205
"AltCodes": []
206
},
207
"DateTime": "2012-08-06T04:00:00.000Z",
208
"EndDateTime": null,
209
"Providers": [ ...
210
],
211
"Diagnosis": [
212
{
213
"Code": "233604007",
214
"CodeSystem": "2.16.840.1.113883.6.96",
215
"CodeSystemName": "SNOMED CT",
216
"Name": "Pneumonia",
217
"AltCodes": []
218
}
219
],
220
"ReasonForVisit": [
221
{
222
"Code": "233604007",
223
"CodeSystem": "2.16.840.1.113883.6.96",
224
"CodeSystemName": "SNOMED CT",
225
"Name": "Pneumonia",
226
"AltCodes": []
227
}
228
]
229
}
230
],
231
"FamilyHistoryText": "Father (deceased)
232
Diagnosis Age At Onset
233
Myocardial Infarction (cause of death) 57
234
Diabetes 40
235
",
236
"FamilyHistory": [ ...
237
],
238
"HistoryOfPresentIllnessText": "Kelp, Lonnie Ray Sr., MD PHD - 10/21/2014 8:07 PM PSTDate: 10/21/2014
239
240
Pre-procedure diagnosis: L5 S1 Acute Lumbar Radiculopathy (Right)
241
242
Post-procedure diagnosis: Same
243
244
Procedure: 1) L5S1 Transforaminal Epidural Steroid injection(Right)
245
2) Fluoroscopic Guidance for needle placement
246
247
Complications: None
248
249
CONSENT: Today's procedure, its potential benefits as well as its risks and potential side effects were reviewed. Discussed risks of the procedure include bleeding, infection, nerve irritation or damage, reactions to the medications, headache, failure of the pain to improve, and exacerbation of the pain were explained to the patient, who verbalized understanding and who wished to proceed. Informed consent was signed.
250
251
DESCRIPTION OF PROCEDURES: After written informed consent was obtained, the patient was taken to the fluoroscopy suite. Anatomical landmarks were identified by way of fluoroscopy in multiple views. Strict aseptic technique was utilized.
252
253
A 22-gauge 3-1/2-inch needle was then incrementally advanced using multiple fluoroscopic views from an oblique approach into the Right L5S1 lumbar intervertebral space. Both AP and lateral views were used to confirm final needle placement. After negative aspiration, Omniopaque 240 contrast was injected which delineated epidural without vascular flow and a normal epidurogram under fluoroscopy in the lateral and AP view. After negative aspiration was reconfirmed, a 1.0 mL of 0.25% Bupivicaine and 1mL of 40 mg/mL of Kenalog was slowly injected into the epidural space.
254
255
All needles were removed intact. Hemostasis was maintained. There were no complications. The area was cleaned and a Band-Aid placed as necessary. The patient tolerated the procedure well and all needles were removed intact. After a period of observation, the patient was noted to be hemodynamically stable and neurovascularly intact following the procedure as prior to the procedure, and was ultimately discharged to home with supervision in good condition. The patient was instructed to schedule an appointment in the office within 2 weeks.
256
Lonnie Ray Kelp Sr., MD PHD
257
258
",
259
"ImmunizationText": "
260
Vaccine Date Status
261
Influenza virus vaccine, IM May 2012 Completed
262
Tetanus and diphtheria toxoids, IM Apr 2012 Completed
263
",
264
"Immunizations": [ ...
265
],
266
"InstructionsText": "Please carefully follow the subsequent instructions and patient education:
267
268
FlossBrush teeth twice daily
269
270
Scarf tying instructions may be found online.",
271
"InsurancesText": null,
272
"Insurances": [
273
{
274
"Plan": { ...
275
}
276
}
277
],
278
"InterventionsText": "Patient practiced use of novel prosthesis including movements formerly neglected including distal extension and retroflexive hyperextension.",
279
"MedicalEquipmentText": "
280
Supply/Device Date Supplied
281
Automatic implantable cardioverter/defibrillator Nov 1999
282
Total hip replacement prosthesis 1998
283
Wheelchair 1999
284
",
285
"MedicalEquipment": [ ...
286
],
287
"MedicationsText": "
288
Medication Directions Start Date Status Indications Fill Instructions
289
Albuterol 0.09 MG/ACTUAT inhalant solution 0.09 MG/ACTUAT inhalant solution, 2 puffs once 20120806 Active Pneumonia (233604007 SNOMED CT) Generic Substitition Allowed
290
",
291
"Medications": [ ...
292
],
293
"MedicationsAdministeredText": "
294
Medication Start Date Status
295
Albuterol 0.09 MG/ACTUAT inhalant solution 0.09 MG/ACTUAT inhalant solution, 2 puffs once 20120806 Active
296
",
297
"MedicationsAdministered": [ ...
298
],
299
"ObjectiveText": "Chest: clear to ausc. No rales, normal breath soundsHeart: RR, PMI in normal location and no heave or evidence ofcardiomegaly,normal heart sounds, no murm or gallop",
300
"PhysicalExamText": "All examinations performed within normal limits.
301
302
WNL
303
304
Nothing to report here.",
305
"PlanOfCareText": "
306
Planned Activity Planned Date
307
Consultation with Dr George Potomac for Asthma 20120820
308
Chest X-ray 20120826
309
Sputum Culture 20120820
310
",
311
"PlanOfCare": { ...
312
},
313
"ProblemsText": "Pneumonia : Status - ResolvedAsthma : Status - Active",
314
"Problems": [ ...
315
],
316
"ProceduresText": "
317
Procedure Date
318
Chest X-Ray 8/7/2012
319
",
320
"Procedures": { ...
321
},
322
"ReasonForReferralText": "
323
Incoming Referral Reason Specialty Diagnoses / Procedures Referred By Contact Referred To Contact
324
Consult, Test & Treat (Routine) BA-Physical Medicine / Physical Medicine and Rehab DiagnosesRadiculopathy, lumbar regionL5S1 TTRANSFORMINAL ESIL5S1 TTRANSFORMINAL ESIProceduresPR INJECT ANES/STEROID FORAMEN LUMBAR/SACRAL W IMG GUIDE ,1 LEVELINJECTION Kelp, Lonnie Ray Sr., MD PHD Kelp, Lonnie Ray Sr., MD PHD
325
",
326
"ReasonForVisitText": "Light stools.",
327
"ResultText": "
328
LABORATORY INFORMATION
329
Chemistries and drug levels
330
HGB (M 13-18 g/dl; F 12-16 g/dl) 13.2
331
WBC (4.3-10.8 10+3/ul) 6.7
332
PLT (135-145 meq/l) 123 (L)
333
",
334
"Results": [ ...
335
],
336
"ReviewOfSystemsText": "Patient denies recent history of fever or malaise. Positive for weakness and shortness of breath. One episode of melena. No recent headaches. Positive for osteoarthritis in hips, knees and hands.",
337
"SocialHistoryText": "
338
Social History Element Description Effective Dates
339
smoking Former Smoker (1 pack per day 20050501 to 20110227
340
smoking Current Everyday Smoker 2 packs per day 20110227 - today
341
",
342
"SocialHistory": { ...
343
},
344
"SubjectiveText": " Complaints of rectal bleeding, fatigue and a change in bowel patterns. Has several days of constipation alternating with diarrhea. ",
345
"VitalSignsText": "
346
Date / Time: Nov 1, 2011 August 6, 2012
347
Height 69 inches 69 inches
348
Weight 189 lbs 194 lbs
349
Blood Pressure 132/86 mmHg 145/88 mmHg
350
",
351
"VitalSigns": [ ...
352
]
353
}

By default, we treat each patient as consentedif their data is saved into a Redox repository. If a patient declines consent, however, you can send a PatientAdmin.PatientUpdate with the Consent extension (learn about extensions or review available Redox extensions). You can toggle the patient’s consent status to declined by sending an empty codeableConcept with the Consent extension.

Example: Declined patient consent in Consent extension
json
1
curl \
2
-X POST https://api.redoxengine.com/endpoint \
3
-H "Content-Type: application/json" \
4
-H "Authorization: Bearer $API_TOKEN" \
5
-d '{
6
"Meta": {
7
"Extensions": {
8
"sender-organization-id": {
9
"url": "https://api.redoxengine.com/extensions/sender-organization-id",
10
"string": "{{ORGANIZATION-OID}}"
11
},
12
"user-id": {
13
"url": "https://api.redoxengine.com/extensions/user-id",
14
"string": "{{SENDING-USER-NAME}}"
15
},
16
"user-role": {
17
"url": "https://api.redoxengine.com/extensions/user-role",
18
"coding": {
19
"code": "112247003",
20
"display": "Medical Doctor"
21
}
22
},
23
"purpose-of-use": {
24
"url": "https://api.redoxengine.com/extensions/purpose-of-use",
25
"coding": {
26
"code": "TREATMENT",
27
"display": "Treatment"
28
}
29
}
30
},
31
"DataModel": "PatientAdmin",
32
"EventType": "PatientUpdate",
33
"Test": true,
34
"Destinations": [
35
{
36
"ID": "{{DATA-ON-DEMAND-REPOSITORY-ID}}"
37
}
38
]
39
},
40
"Patient": {
41
"Identifiers": [
42
{
43
"ID": "1234",
44
"IDType": "MR"
45
}
46
],
47
"Demographics": {
48
{
49
...
50
}
51
},
52
"Notes": [],
53
"Contacts": [
54
{
55
...
56
}
57
],
58
"Diagnoses": [
59
{
60
...
61
}
62
],
63
"Allergies": [
64
{
65
...
66
}
67
],
68
"PCP": {
69
{
70
...
71
}
72
},
73
"Insurances": [
74
{
75
...
76
}
77
],
78
"Guarantor": {
79
...
80
},
81
"Extensions": {
82
"consent-type": {
83
"url": "https://api.redoxengine.com/extensions/consent-type",
84
"codeableConcept": []
85
},
86
}
87
}
88
}
API reference

Review the PatientAdmin data model schema for full requirements.

When a patients consent status changes, any of their existing data in the repository will no longer be returned in query responses.

To update a patient’s consent, you must send a PatientAdmin.PatientUpdate with codeableConcept populated as it is in the example below. This text toggles a patient’s consent status again so that data can be returned in query responses.

Example: Toggle a patient’s consent with the Consent extension
json
1
{
2
"url": "https://api.redoxengine.com/extensions/consent-type",
3
"codeableConcept": [
4
{
5
"text": "Treatment",
6
"coding": [
7
{
8
"system": "2.16.840.1.113883.3.18.7.1",
9
"code": "TREATMENT",
10
"display": "Treatment"
11
}
12
]
13
},
14
{
15
"text": "Request of the Individual",
16
"coding": [
17
{
18
"system": "2.16.840.1.113883.3.18.7.1",
19
"code": "REQUEST",
20
"display": "Request of the Individual"
21
}
22
]
23
},
24
]
25
}

FHIR® is a registered trademark of Health Level Seven International (HL7) and is used with the permission of HL7. Use of this trademark does not constitute an endorsement of products/services by HL7®.