Difference between revisions of "Example JSON Post PDF"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) |
|||
| Line 6: | Line 6: | ||
"entry": [ | "entry": [ | ||
{ | { | ||
| + | "fullUrl": "urn:uuid:857611e1-d68a-4b1e-b6f4-0e5ccf06b7cd", | ||
| + | "resource": { | ||
| + | "resourceType": "Organization", | ||
| + | "id": "857611e1-d68a-4b1e-b6f4-0e5ccf06b7cd", | ||
| + | "name": "Return to Work South Australia" | ||
| + | } | ||
| + | }, | ||
| + | { | ||
| + | "fullUrl": "urn:uuid:7e21ab8f-c98c-4e65-8780-116a63faefb3", | ||
| + | "resource": { | ||
| + | "resourceType": "Binary", | ||
| + | "id": "7e21ab8f-c98c-4e65-8780-116a63faefb3", | ||
| + | "contentType": "application/pdf", | ||
| + | "content": "JVBERi0.......2IJSVFT0Y=" | ||
| + | } | ||
| + | }, | ||
| + | { | ||
"fullUrl": "urn:uuid:0eb3c16d-9f30-4164-b29f-e4ccd58522f1", | "fullUrl": "urn:uuid:0eb3c16d-9f30-4164-b29f-e4ccd58522f1", | ||
"resource": { | "resource": { | ||
| Line 14: | Line 31: | ||
}, | }, | ||
"sender": { | "sender": { | ||
| − | "reference": " | + | "reference": "Practitioner/2" |
}, | }, | ||
"recipient": [ | "recipient": [ | ||
| Line 31: | Line 48: | ||
"sent":"2016-04-02T02:10:52+11:00", | "sent":"2016-04-02T02:10:52+11:00", | ||
"subject": { | "subject": { | ||
| − | "reference": " | + | "reference": "Patient/35" |
} | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
} | } | ||
Revision as of 17:36, 18 April 2016
{
"resourceType": "Bundle",
"id": "5ae6db5e-1013-4a26-b3f9-79b624c9d1e2",
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:857611e1-d68a-4b1e-b6f4-0e5ccf06b7cd",
"resource": {
"resourceType": "Organization",
"id": "857611e1-d68a-4b1e-b6f4-0e5ccf06b7cd",
"name": "Return to Work South Australia"
}
},
{
"fullUrl": "urn:uuid:7e21ab8f-c98c-4e65-8780-116a63faefb3",
"resource": {
"resourceType": "Binary",
"id": "7e21ab8f-c98c-4e65-8780-116a63faefb3",
"contentType": "application/pdf",
"content": "JVBERi0.......2IJSVFT0Y="
}
},
{
"fullUrl": "urn:uuid:0eb3c16d-9f30-4164-b29f-e4ccd58522f1",
"resource": {
"resourceType": "Communication",
"id": "0eb3c16d-9f30-4164-b29f-e4ccd58522f1",
"category": {
"text": "RTWSA Certificate"
},
"sender": {
"reference": "Practitioner/2"
},
"recipient": [
{
"reference": "urn:uuid:857611e1-d68a-4b1e-b6f4-0e5ccf06b7cd"
}
],
"payload": [
{
"contentAttachment": {
"contentType": "application/pdf",
"url": "urn:uuid:7e21ab8f-c98c-4e65-8780-116a63faefb3"
}
}
],
"sent":"2016-04-02T02:10:52+11:00",
"subject": {
"reference": "Patient/35"
}
}
}
]
}