id -- the server assigns one and returns it in the Location header and in the response body.Authorization: Bearer ********************{
"resourceType": "DocumentReference",
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "34133-9",
"display": "Summary of episode note"
}
]
},
"subject": {
"reference": "Patient/example"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://example.org/docs/1.pdf"
}
}
]
}{
"resourceType": "DocumentReference",
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "34133-9",
"display": "Summary of episode note"
}
]
},
"subject": {
"reference": "Patient/example"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://example.org/docs/1.pdf"
}
}
]
}