Example Response
On successful creation of Patient through API will return HTTP 200 Status Code and Roche internal ID is returned for Bundle ID and Patient ID in the response body.
{
"resourceType": "Bundle",
"id": "AAAA1234567890",
"type": "message",
"entry": [
{
"resource": {
"resourceType": "MessageHeader",
"id": "88a37162-3d7c-41c3-89ab-6e25fd68ba00",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/message-header"
]
},
"event": {
"system": "http://roche.com/fhir/rdc/message-type",
"code": "new-bundle",
"display": "New bundle generated"
},
"timestamp": "2020-03-27T12:21:39.471Z",
"source": {
"name": "",
"software": "IDI_middleware",
"version": "1.0.0",
"endpoint": ""
}
}
},
{
"resource": {
"resourceType": "Patient",
"id": "AAAA1234567890",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/patient-v2"
]
},
"identifier": [
{
"system": "urn:oid:2.16.724.4.41",
"value": "AAAA1234567890"
}
],
"active": true,
"name": [
{
"family": "PĂ©rez Fuster",
"given": [
"Manolo"
]
}
],
"telecom": [
{
"system": "phone",
"value": "123456789",
"use": "home"
}
],
"gender": "male",
"birthDate": "1975-06-16"
}
},
{
"resource": {
"resourceType": "Condition",
"id": "abdca832-a616-454b-b5c7-f1ed1fb4ght",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/condition"
]
},
"clinicalStatus": "active",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "46635009",
"display": "Diabetes mellitus type 1"
}
]
},
"subject": {
"reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e"
}
}
}
]
}