Example-CompositionReferral

This shows an example referral notes.

Bundle
Bundle.id[0]composition-referral-request-example
Bundle.meta[0].extension[0].extension[0].url[0]msgId
Bundle.meta[0].extension[0].extension[0].value[0].system[0]https://fhir.synapxe.sg/NamingSystem/msg-id
Bundle.meta[0].extension[0].extension[0].value[0].value[0]TES_CompRef_20260620134625-9031
Bundle.meta[0].extension[0].extension[1].url[0]msgSequenceId
Bundle.meta[0].extension[0].extension[1].value[0].system[0]https://fhir.synapxe.sg/NamingSystem/msg-sequence-id
Bundle.meta[0].extension[0].extension[1].value[0].value[0]20260620135054
Bundle.meta[0].extension[0].extension[2].url[0]date
Bundle.meta[0].extension[0].extension[2].value[0]2026-06-20T13:50:54+08:00
Bundle.meta[0].extension[0].url[0]https://fhir.synapxe.sg/StructureDefinition/ext-artifact
Bundle.meta[0].source[0]JHS-EPIC
Bundle.meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-bundle-composition
Bundle.meta[0].tag[0].code[0]11C0030
Bundle.identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/record-id
Bundle.identifier[0].value[0]TES_CompRef_RI_20260620134625-1182
Bundle.type[0]document
Bundle.timestamp[0]2026-06-20T13:50:54+08:00
Bundle.entry[0].fullUrl[0]urn:uuid:51157c36-cc43-4a3f-b5b2-d1cd3103ce51
Bundle.entry[0].resource[0].id[0]51157c36-cc43-4a3f-b5b2-d1cd3103ce51
Bundle.entry[0].resource[0].meta[0].extension[0].url[0]https://fhir.synapxe.sg/StructureDefinition/ext-createdDate
Bundle.entry[0].resource[0].meta[0].extension[0].value[0]2026-06-17T13:50:54+08:00
Bundle.entry[0].resource[0].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-composition
Bundle.entry[0].resource[0].contained[0].id[0]creator-role
Bundle.entry[0].resource[0].contained[0].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole
Bundle.entry[0].resource[0].contained[0].practitioner[0].type[0]Practitioner
Bundle.entry[0].resource[0].contained[0].practitioner[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/mcr
Bundle.entry[0].resource[0].contained[0].practitioner[0].identifier[0].value[0]ID001
Bundle.entry[0].resource[0].contained[0].practitioner[0].display[0]Sreejit
Bundle.entry[0].resource[0].contained[0].code[0].coding[0].system[0]https://fhir.synapxe.sg/CodeSystem/practitioner-role
Bundle.entry[0].resource[0].contained[0].code[0].coding[0].code[0]creator
Bundle.entry[0].resource[0].contained[0].code[0].coding[0].display[0]Creator
Bundle.entry[0].resource[0].contained[1].id[0]author-role
Bundle.entry[0].resource[0].contained[1].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole
Bundle.entry[0].resource[0].contained[1].practitioner[0].type[0]Practitioner
Bundle.entry[0].resource[0].contained[1].practitioner[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/mcr
Bundle.entry[0].resource[0].contained[1].practitioner[0].identifier[0].value[0]S9270567F
Bundle.entry[0].resource[0].contained[1].practitioner[0].display[0]Bang Chan
Bundle.entry[0].resource[0].contained[1].code[0].coding[0].system[0]https://fhir.synapxe.sg/CodeSystem/practitioner-role
Bundle.entry[0].resource[0].contained[1].code[0].coding[0].code[0]author
Bundle.entry[0].resource[0].contained[1].code[0].coding[0].display[0]Author
Bundle.entry[0].resource[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/record-id
Bundle.entry[0].resource[0].identifier[0].value[0]TES_CompRef_RI_20260620134625-1182
Bundle.entry[0].resource[0].status[0]final
Bundle.entry[0].resource[0].type[0].coding[0].system[0]https://fhir.synapxe.sg/CodeSystem/Document_Type_(NEHR)
Bundle.entry[0].resource[0].type[0].coding[0].code[0]ReferralNote
Bundle.entry[0].resource[0].type[0].coding[0].display[0]Referral Note TD
Bundle.entry[0].resource[0].subject[0].type[0]Patient
Bundle.entry[0].resource[0].subject[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/nric
Bundle.entry[0].resource[0].subject[0].identifier[0].value[0]G8601437N
Bundle.entry[0].resource[0].encounter[0].reference[0]urn:uuid:b5a8179b-1107-48ca-a4b4-90de9a82aa69
Bundle.entry[0].resource[0].date[0]2026-06-17T13:50:54+08:00
Bundle.entry[0].resource[0].author[0].reference[0]#creator-role
Bundle.entry[0].resource[0].author[0].type[0]PractitionerRole
Bundle.entry[0].resource[0].author[0].display[0]Sreejit
Bundle.entry[0].resource[0].author[1].reference[0]#author-role
Bundle.entry[0].resource[0].author[1].type[0]PractitionerRole
Bundle.entry[0].resource[0].author[1].display[0]Bang Chan
Bundle.entry[0].resource[0].title[0]Referral Form
Bundle.entry[0].resource[0].attester[0].mode[0].coding[0].system[0]http://hl7.org/fhir/CodeSystem/composition-attestation-mode
Bundle.entry[0].resource[0].attester[0].mode[0].coding[0].code[0]official
Bundle.entry[0].resource[0].attester[0].mode[0].coding[0].display[0]Official
Bundle.entry[0].resource[0].attester[0].mode[0].text[0]Attester description
Bundle.entry[0].resource[0].attester[0].time[0]2025-08-07T23:39:00+08:00
Bundle.entry[0].resource[0].attester[0].party[0].type[0]Practitioner
Bundle.entry[0].resource[0].attester[0].party[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/mcr
Bundle.entry[0].resource[0].attester[0].party[0].identifier[0].value[0]S2044980B
Bundle.entry[0].resource[0].attester[0].party[0].display[0]Jackson Wang
Bundle.entry[0].resource[0].custodian[0].type[0]Organization
Bundle.entry[0].resource[0].custodian[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/hci-code
Bundle.entry[0].resource[0].custodian[0].identifier[0].value[0]KTPH
Bundle.entry[0].resource[0].custodian[0].display[0]Khoo Teck Puat Hospital
Bundle.entry[0].resource[0].section[0].title[0]Referral Information
Bundle.entry[0].resource[0].section[0].code[0].text[0]Referral Information
Bundle.entry[0].resource[0].section[0].entry[0].reference[0]urn:uuid:69781142-624a-454f-a2db-3358a910fdca
Bundle.entry[0].resource[0].section[0].section[0].title[0]Clinic Type
Bundle.entry[0].resource[0].section[0].section[0].text[0].status[0]generated
Bundle.entry[0].resource[0].section[0].section[0].text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml"><p>CHAS</p></div>
Bundle.entry[0].resource[0].section[0].section[1].title[0]GP Change / Bill Size
Bundle.entry[0].resource[0].section[0].section[1].text[0].status[0]generated
Bundle.entry[0].resource[0].section[0].section[1].text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml"><p>$80</p></div>
Bundle.entry[0].resource[0].section[1].code[0].coding[0].system[0]http://loinc.org
Bundle.entry[0].resource[0].section[1].code[0].coding[0].code[0]28570-0
Bundle.entry[0].resource[0].section[1].code[0].coding[0].display[0]File Attachments
Bundle.entry[0].resource[0].section[1].entry[0].reference[0]urn:uuid:050d815a-e734-4def-bcc1-1cb801e94f57
Bundle.entry[1].fullUrl[0]urn:uuid:b5a8179b-1107-48ca-a4b4-90de9a82aa69
Bundle.entry[1].resource[0].id[0]b5a8179b-1107-48ca-a4b4-90de9a82aa69
Bundle.entry[1].resource[0].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-sn-encounter
Bundle.entry[1].resource[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/event-id
Bundle.entry[1].resource[0].identifier[0].value[0]TES_Event_RI_20260617172435-3042
Bundle.entry[1].resource[0].status[0]completed
Bundle.entry[1].resource[0].actualPeriod[0].start[0]2025-03-01T23:39:00+08:00
Bundle.entry[1].resource[0].actualPeriod[0].end[0]2025-03-01T23:39:00+08:00
Bundle.entry[2].fullUrl[0]urn:uuid:69781142-624a-454f-a2db-3358a910fdca
Bundle.entry[2].resource[0].id[0]69781142-624a-454f-a2db-3358a910fdca
Bundle.entry[2].resource[0].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-sn-referralrequest
Bundle.entry[2].resource[0].contained[0].id[0]requester-001
Bundle.entry[2].resource[0].contained[0].practitioner[0].type[0]Practitioner
Bundle.entry[2].resource[0].contained[0].practitioner[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/mcr
Bundle.entry[2].resource[0].contained[0].practitioner[0].identifier[0].value[0]M123456F
Bundle.entry[2].resource[0].contained[0].practitioner[0].display[0]Doctor Wu
Bundle.entry[2].resource[0].contained[0].organization[0].type[0]Organization
Bundle.entry[2].resource[0].contained[0].organization[0].display[0]Medical Centre Bravo
Bundle.entry[2].resource[0].contained[0].location[0].type[0]Location
Bundle.entry[2].resource[0].contained[0].location[0].display[0]Clementi Ave 1, #01-311 Block 201, Singapore 651201
Bundle.entry[2].resource[0].extension[0].url[0]https://fhir.synapxe.sg/StructureDefinition/ext-speciality
Bundle.entry[2].resource[0].extension[0].value[0].text[0]A and E
Bundle.entry[2].resource[0].status[0]active
Bundle.entry[2].resource[0].intent[0]order
Bundle.entry[2].resource[0].subject[0].type[0]Patient
Bundle.entry[2].resource[0].subject[0].identifier[0].system[0]https://fhir.synapxe.sg/NamingSystem/nric
Bundle.entry[2].resource[0].subject[0].identifier[0].value[0]G8601437N
Bundle.entry[2].resource[0].authoredOn[0]2022-06-12T13:57:00+08:00
Bundle.entry[2].resource[0].requester[0].reference[0]#requester-001
Bundle.entry[2].resource[0].reason[0].concept[0].text[0]Requires specialist and urgent attention.
Bundle.entry[3].fullUrl[0]urn:uuid:050d815a-e734-4def-bcc1-1cb801e94f57
Bundle.entry[3].resource[0].id[0]050d815a-e734-4def-bcc1-1cb801e94f57
Bundle.entry[3].resource[0].meta[0].profile[0]https://fhir.synapxe.sg/StructureDefinition/profile-fileattachment
Bundle.entry[3].resource[0].status[0]current
Bundle.entry[3].resource[0].content[0].attachment[0].contentType[0]application/pdf
Bundle.entry[3].resource[0].content[0].attachment[0].language[0]en
Bundle.entry[3].resource[0].content[0].attachment[0].data[0]JVBERi0xLjQK
Bundle.entry[3].resource[0].content[0].attachment[0].size[0]10000000
Bundle.entry[3].resource[0].content[0].attachment[0].title[0]Notes PDF 1
Bundle.entry[3].resource[0].content[1].attachment[0].id[0]1
Bundle.entry[3].resource[0].content[1].attachment[0].contentType[0]image/jpeg
Bundle.entry[3].resource[0].content[1].attachment[0].language[0]en
Bundle.entry[3].resource[0].content[1].attachment[0].data[0]/9j/4AAQSkZJRgABAQ==
Bundle.entry[3].resource[0].content[1].attachment[0].size[0]10000000
Bundle.entry[3].resource[0].content[1].attachment[0].title[0]Notes JPG #1
Bundle.entry[3].resource[0].content[2].attachment[0].id[0]2
Bundle.entry[3].resource[0].content[2].attachment[0].contentType[0]image/jpeg
Bundle.entry[3].resource[0].content[2].attachment[0].language[0]en
Bundle.entry[3].resource[0].content[2].attachment[0].data[0]/9j/4AAQSkZJRgABAQ==
Bundle.entry[3].resource[0].content[2].attachment[0].size[0]10000000
Bundle.entry[3].resource[0].content[2].attachment[0].title[0]Notes JPG #2
Bundle.entry[3].resource[0].content[3].attachment[0].id[0]3
Bundle.entry[3].resource[0].content[3].attachment[0].contentType[0]image/jpeg
Bundle.entry[3].resource[0].content[3].attachment[0].language[0]en
Bundle.entry[3].resource[0].content[3].attachment[0].data[0]/9j/4AAQSkZJRgABAQ==
Bundle.entry[3].resource[0].content[3].attachment[0].size[0]10000000
Bundle.entry[3].resource[0].content[3].attachment[0].title[0]Notes JPG #3
{
"resourceType": "Bundle",
"id": "composition-referral-request-example",
"meta": {
{
{
"url": "msgId",
"system": "https://fhir.synapxe.sg/NamingSystem/msg-id",
"value": "TES_CompRef_20260620134625-9031"
}
},
{
"url": "msgSequenceId",
"system": "https://fhir.synapxe.sg/NamingSystem/msg-sequence-id",
"value": "20260620135054"
}
},
{
"url": "date",
"valueDateTime": "2026-06-20T13:50:54+08:00"
}
],
"url": "https://fhir.synapxe.sg/StructureDefinition/ext-artifact"
}
],
"source": "JHS-EPIC",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-bundle-composition"
],
"tag": [
{
"code": "11C0030"
}
]
},
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "TES_CompRef_RI_20260620134625-1182"
},
"type": "document",
"timestamp": "2026-06-20T13:50:54+08:00",
"entry": [
{
"fullUrl": "urn:uuid:51157c36-cc43-4a3f-b5b2-d1cd3103ce51",
"resourceType": "Composition",
"id": "51157c36-cc43-4a3f-b5b2-d1cd3103ce51",
"meta": {
{
"url": "https://fhir.synapxe.sg/StructureDefinition/ext-createdDate",
"valueDateTime": "2026-06-17T13:50:54+08:00"
}
],
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-composition"
]
},
{
"resourceType": "PractitionerRole",
"id": "creator-role",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole"
]
},
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "ID001"
},
"display": "Sreejit"
},
"code": [
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/practitioner-role",
"code": "creator",
"display": "Creator"
}
]
}
]
},
{
"resourceType": "PractitionerRole",
"id": "author-role",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole"
]
},
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "S9270567F"
},
"display": "Bang Chan"
},
"code": [
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/practitioner-role",
"code": "author",
"display": "Author"
}
]
}
]
}
],
{
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "TES_CompRef_RI_20260620134625-1182"
}
],
"status": "final",
"type": {
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/Document_Type_(NEHR)",
"code": "ReferralNote",
"display": "Referral Note TD"
}
]
},
"subject": [
{
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric",
"value": "G8601437N"
}
}
],
"reference": "urn:uuid:b5a8179b-1107-48ca-a4b4-90de9a82aa69"
},
"date": "2026-06-17T13:50:54+08:00",
"author": [
{
"reference": "#creator-role",
"type": "PractitionerRole",
"display": "Sreejit"
},
{
"reference": "#author-role",
"type": "PractitionerRole",
"display": "Bang Chan"
}
],
"title": "Referral Form",
{
"mode": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/composition-attestation-mode",
"code": "official",
"display": "Official"
}
],
"text": "Attester description"
},
"time": "2025-08-07T23:39:00+08:00",
"party": {
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "S2044980B"
},
"display": "Jackson Wang"
}
}
],
"type": "Organization",
"system": "https://fhir.synapxe.sg/NamingSystem/hci-code",
"value": "KTPH"
},
"display": "Khoo Teck Puat Hospital"
},
"section": [
{
"title": "Referral Information",
"code": {
"text": "Referral Information"
},
"entry": [
{
"reference": "urn:uuid:69781142-624a-454f-a2db-3358a910fdca"
}
],
"section": [
{
"title": "Clinic Type",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>CHAS</p></div>"
}
},
{
"title": "GP Change / Bill Size",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>$80</p></div>"
}
}
]
},
{
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "28570-0",
"display": "File Attachments"
}
]
},
"entry": [
{
"reference": "urn:uuid:050d815a-e734-4def-bcc1-1cb801e94f57"
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:b5a8179b-1107-48ca-a4b4-90de9a82aa69",
"resourceType": "Encounter",
"id": "b5a8179b-1107-48ca-a4b4-90de9a82aa69",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-sn-encounter"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/event-id",
"value": "TES_Event_RI_20260617172435-3042"
}
],
"status": "completed",
"start": "2025-03-01T23:39:00+08:00",
"end": "2025-03-01T23:39:00+08:00"
}
}
},
{
"fullUrl": "urn:uuid:69781142-624a-454f-a2db-3358a910fdca",
"resourceType": "ServiceRequest",
"id": "69781142-624a-454f-a2db-3358a910fdca",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-sn-referralrequest"
]
},
{
"resourceType": "PractitionerRole",
"id": "requester-001",
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "M123456F"
},
"display": "Doctor Wu"
},
"type": "Organization",
"display": "Medical Centre Bravo"
},
{
"type": "Location",
"display": "Clementi Ave 1, #01-311 Block 201, Singapore 651201"
}
]
}
],
{
"url": "https://fhir.synapxe.sg/StructureDefinition/ext-speciality",
"text": "A and E"
}
}
],
"status": "active",
"intent": "order",
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric",
"value": "G8601437N"
}
},
"authoredOn": "2022-06-12T13:57:00+08:00",
"reference": "#requester-001"
},
"reason": [
{
"concept": {
"text": "Requires specialist and urgent attention."
}
}
]
}
},
{
"fullUrl": "urn:uuid:050d815a-e734-4def-bcc1-1cb801e94f57",
"resourceType": "DocumentReference",
"id": "050d815a-e734-4def-bcc1-1cb801e94f57",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-fileattachment"
]
},
"status": "current",
"content": [
{
"contentType": "application/pdf",
"language": "en",
"data": "JVBERi0xLjQK",
"size": "10000000",
"title": "Notes PDF 1"
}
},
{
"id": "1",
"contentType": "image/jpeg",
"language": "en",
"data": "/9j/4AAQSkZJRgABAQ==",
"size": "10000000",
"title": "Notes JPG #1"
}
},
{
"id": "2",
"contentType": "image/jpeg",
"language": "en",
"data": "/9j/4AAQSkZJRgABAQ==",
"size": "10000000",
"title": "Notes JPG #2"
}
},
{
"id": "3",
"contentType": "image/jpeg",
"language": "en",
"data": "/9j/4AAQSkZJRgABAQ==",
"size": "10000000",
"title": "Notes JPG #3"
}
}
]
}
}
]
}