API Example Clinical Data Exchange
{
"resourceType": "Parameters",
"parameter": [
{
"name": "TrackingId",
"valueIdentifier": {
"system": "http://example.org/tracking",
"value": "TRACK-E2E-002"
}
},
{
"name": "AttachTo",
"valueCode": "prior-auth"
},
{
"name": "RequestId",
"valueString": "REQ-E2E-002"
},
{
"name": "PayerId",
"valueIdentifier": {
"system": "http://example.org/payer",
"value": "PAYER-99"
}
},
{
"name": "ProviderId",
"valueIdentifier": {
"system": "http://example.org/provider",
"value": "PROV-77"
}
},
{
"name": "MemberId",
"valueIdentifier": {
"system": "http://example.org/member",
"value": "MBR-55"
}
},
{
"name": "ServiceDate",
"valueDate": "2026-07-01"
},
{
"name": "Attachment",
"part": [
{
"name": "LineItem",
"valueString": "1"
},
{
"name": "Code",
"valueCodeableConcept": {
"coding": [
{
"system": "http://loinc.org",
"code": "18748-4",
"display": "Diagnostic imaging study"
}
]
}
},
{
"name": "Content",
"resource": {
"resourceType": "DocumentReference",
"status": "current",
"content": [
{
"attachment": {
"contentType": "text/plain",
"title": "e2e-attachment-one.txt",
"creation": "2026-07-01T10:00:00Z",
"data": "VGhpcyBpcyBhdHRhY2htZW50IE9ORSAtIGxpbmUgaXRlbSAxLg=="
}
}
]
}
}
]
},
{
"name": "Attachment",
"part": [
{
"name": "LineItem",
"valueString": "2"
},
{
"name": "Code",
"valueCodeableConcept": {
"coding": [
{
"system": "http://loinc.org",
"code": "28570-0",
"display": "Procedure note"
}
]
}
},
{
"name": "Content",
"resource": {
"resourceType": "DocumentReference",
"status": "current",
"content": [
{
"attachment": {
"contentType": "text/plain",
"title": "e2e-attachment-two.txt",
"creation": "2026-07-01T10:05:00Z",
"data": "VGhpcyBpcyBhdHRhY2htZW50IFRXTyAtIGxpbmUgaXRlbSAyLg=="
}
}
]
}
}
]
}
]
}
{
"resourceType": "OperationOutcome",
"language": "en-US",
"issue": [
{
"severity": "success",
"code": "success",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/R4/valueset-operation-outcome.html",
"code": "MSG_CREATED",
"display": "Acknowledgement message"
}
],
"text": "Acknowledgement for Attachment is received"
}
}
]
}
Updated about 2 hours ago
Did this page help you?