API Name: put-patient-medication-list


This API creates or updates the Patient Medication List record, which curates a collection of medication statements consumed by a patient. The list is typically reviewed during clinical encounters such as admission, discharge, or pre-admission.

Specification


Endpoint [baseurl]/List/$put-patient-medication-list
Protocol HTTPS
HTTP Method Post
HTTP Header Content-Type: application/fhir+json

Request Body

Remarks:

  • This is a type-level operation that operates on the List resource type.
  • The request body contains a single List resource with contained MedicationStatement resources.
  • (All Slices) is an automatically generated section and should be ignored. Do not pass this as an input parameter. It will also not be part of response.

PatientMedicationList

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textC0..1Narrative
containedC0..*Resource
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
statusΣ ?!1..1codeBinding
modeΣ ?!1..1codeBindingFixed Value
titleΣ0..0string
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1codeFixed Value
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
subjectΣ C1..1Reference(Patient)
encounterC0..1Reference(Encounter)
dateΣ1..1dateTime
sourceΣ C1..1Reference(PractitionerRole)
orderedBy0..0CodeableConceptBinding
id0..0string
id0..1string
extensionC0..0Extension
url1..1uriFixed Value
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
timeΣ0..0dateTime
textΣ1..1markdown
id0..0string
extensionC0..0Extension
modifierExtensionΣ ?! C0..0Extension
flag0..0CodeableConcept
deleted?!0..0boolean
date1..1dateTime
itemC1..1Reference(MedicationStatement)
emptyReasonC0..0CodeableConceptBinding

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textC0..1Narrative
containedC0..*Resource
changesMadeC0..*Extension(string)
modifierExtensionΣ ?! C0..0Extension
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
partOfC0..0Reference(MedicationStatement | Procedure)
statusΣ ?!1..1codeBinding
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
id0..0string
extensionC0..0Extension
conceptΣ0..0CodeableConcept
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
subjectΣ C1..1Reference(Patient)
encounterΣ C0..0Reference(Encounter)
dateAssertedΣ1..1dateTime
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
patientC0..1Reference(Patient)
id0..0string
extensionC0..0Extension
referenceΣ C0..0string
typeΣ1..1uriBindingFixed Value
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
displayΣ C0..0string
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
id0..0string
extensionC0..0Extension
referenceΣ C1..1string
typeΣ0..0uriBinding
identifierΣ C0..0Identifier
displayΣ C0..0string
id0..0string
extensionC0..0Extension
id0..0string
extensionC0..0Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uri
versionΣ0..0string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
referenceΣ C0..0Reference
id0..0string
extensionC0..0Extension
timeΣ0..0dateTime
textΣ1..1markdown
relatedClinicalInformationC0..0Reference(Condition | Observation)
renderedDosageInstruction0..0markdown
id0..0string
extensionC0..0Extension
modifierExtensionΣ ?! C0..0Extension
sequenceΣ0..0integer
textΣ1..1string
additionalInstructionΣ0..0CodeableConcept
patientInstructionΣ0..0string
timingΣ0..0Timing
asNeededΣ C0..0boolean
id0..0string
extensionC0..0Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uri
versionΣ0..0string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
siteΣ0..0CodeableConcept
id0..0string
extensionC0..0Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uri
versionΣ0..0string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
methodΣ0..0CodeableConcept
id0..0string
extensionC0..0Extension
typeΣ0..0CodeableConcept
doseRangeRange
maxDosePerPeriodΣ C0..0Ratio
maxDosePerAdministrationΣ C0..0SimpleQuantity
maxDosePerLifetimeΣ C0..0SimpleQuantity
id0..0string
extensionC0..0Extension
modifierExtensionΣ ?! C0..0Extension
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
reason1..1CodeableConcept
{
"resourceType": "List",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-list-medicationstatement"
]
},
{
"resourceType": "MedicationStatement",
"id": "med-statement-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
},
{
"url": "https://fhir.synapxe.sg/StructureDefinition/ext-changesMade",
"valueString": "Dose increased from 5mg to 10mg based on clinical response"
}
],
{
"system": "https://fhir.synapxe.sg/NamingSystem/sequence-no",
"value": "SEQ-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-no",
"value": "GRP-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-sequence-no",
"value": "GRPSEQ-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "REC-MS-2026-001234-001"
}
],
"status": "recorded",
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/clinical-setting",
"code": "admission",
"display": "Admission"
}
]
}
],
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"dateAsserted": "2026-02-10T10:00:00+08:00",
{
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
},
{
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"type": "RelatedPerson",
"system": "https://fhir.synapxe.sg/NamingSystem/nric",
"value": "S7654321B"
}
}
],
{
"reference": "#med-request-001"
},
{
"reference": "#med-dispense-001"
},
{
"reference": "#allergy-001"
},
{
"reference": "#flag-001"
}
],
"reason": [
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertensive disorder"
}
],
"text": "Hypertension management"
}
}
],
"note": [
{
"text": "Patient reports good compliance. No adverse effects reported."
}
],
"dosage": [
{
"text": "Take 1 tablet by mouth once daily in the morning",
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertensive disorder"
}
],
"text": "Hypertension"
}
],
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral route"
}
],
"text": "Oral"
},
{
"low": {
"value": 5,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"high": {
"value": 10,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
}
]
}
],
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence",
"code": "taking",
"display": "Taking"
}
]
},
"reason": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "182891003",
"display": "Patient compliant with drug therapy"
}
],
"text": "Patient is compliant with medication"
}
}
},
{
"resourceType": "MedicationRequest",
"id": "med-request-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/prescription-no",
"value": "RX-2026-001234-001"
}
],
"status": "active",
"intent": "order",
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"authoredOn": "2026-02-09T14:00:00+08:00",
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "M12345"
},
"display": "Dr. Sarah Lim"
}
},
{
"resourceType": "MedicationDispense",
"id": "med-dispense-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/dispense-id",
"value": "DISP-2026-001234-001"
}
],
"status": "completed",
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"actor": {
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
}
],
"value": 30,
"unit": "tablets",
"system": "http://unitsofmeasure.org",
"code": "{tbl}"
},
"whenHandedOver": "2026-02-09T16:00:00+08:00"
},
{
"resourceType": "Medication",
"id": "medication-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
},
"code": {
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/medication-list",
"code": "0004-28-351-L",
"display": "Amlodipine 10MG TAB"
}
],
"text": "Amlodipine 10mg Tablet"
}
},
{
"resourceType": "AllergyIntolerance",
"id": "allergy-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
]
},
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active",
"display": "Active"
}
]
},
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "confirmed",
"display": "Confirmed"
}
]
},
"medication"
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "372687004",
"display": "Amoxicillin"
}
],
"text": "Amoxicillin allergy"
},
"patient": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "271807003",
"display": "Skin rash"
}
],
"text": "Skin rash"
}
}
],
"severity": "moderate"
}
]
},
{
"resourceType": "Flag",
"id": "flag-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-flag"
]
},
"status": "active",
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/flag-category",
"code": "drug",
"display": "Drug"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "428351000124105",
"display": "High risk medication"
}
],
"text": "Patient on high alert medication - monitor blood pressure closely"
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"period": {
"start": "2026-02-09T14:00:00+08:00"
}
},
{
"resourceType": "MedicationStatement",
"id": "med-statement-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/sequence-no",
"value": "SEQ-002"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-no",
"value": "GRP-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-sequence-no",
"value": "GRPSEQ-002"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "REC-MS-2026-001234-002"
}
],
"status": "recorded",
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/clinical-setting",
"code": "admission",
"display": "Admission"
}
]
}
],
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"dateAsserted": "2026-02-10T10:00:00+08:00",
{
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
],
{
"reference": "#med-request-002"
},
{
"reference": "#med-dispense-002"
}
],
"reason": [
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "44054006",
"display": "Type 2 diabetes mellitus"
}
],
"text": "Type 2 Diabetes management"
}
}
],
"note": [
{
"text": "Patient to monitor blood glucose levels regularly."
}
],
"dosage": [
{
"text": "Take 1 tablet by mouth twice daily with meals",
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "44054006",
"display": "Type 2 diabetes mellitus"
}
],
"text": "Diabetes"
}
],
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral route"
}
],
"text": "Oral"
},
{
"low": {
"value": 500,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"high": {
"value": 500,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
}
]
}
],
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence",
"code": "taking",
"display": "Taking"
}
]
},
"reason": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "182891003",
"display": "Patient compliant with drug therapy"
}
],
"text": "Patient is compliant with medication"
}
}
},
{
"resourceType": "MedicationRequest",
"id": "med-request-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/prescription-no",
"value": "RX-2026-001234-002"
}
],
"status": "active",
"intent": "order",
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"authoredOn": "2026-01-15T09:30:00+08:00",
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "M67890"
},
"display": "Dr. Michael Tan"
}
},
{
"resourceType": "MedicationDispense",
"id": "med-dispense-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/dispense-id",
"value": "DISP-2026-001234-002"
}
],
"status": "completed",
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"actor": {
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
}
],
"value": 60,
"unit": "tablets",
"system": "http://unitsofmeasure.org",
"code": "{tbl}"
},
"whenHandedOver": "2026-01-15T11:00:00+08:00"
},
{
"resourceType": "Medication",
"id": "medication-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
},
"code": {
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/medication-list",
"code": "0004-28-351-L",
"display": "Metformin 500MG TAB"
}
],
"text": "Metformin 500mg Tablet"
}
}
],
{
"system": "https://fhir.synapxe.sg/NamingSystem/pml-id",
"value": "PML-2026-001234"
}
],
"status": "current",
"mode": "working",
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/list-example-use-codes",
"code": "medications",
"display": "Medications"
}
]
},
"subject": [
{
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
},
"display": "John Tan"
}
],
"type": "Encounter",
"system": "https://fhir.synapxe.sg/NamingSystem/visit-number",
"value": "VN-2026-001234"
}
},
"date": "2026-02-10T10:00:00+08:00",
"source": {
"reference": "PractitionerRole/pr-pharmacist-001",
"type": "PractitionerRole",
"display": "Ms. Rachel Goh, Pharmacist"
},
"note": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/annotationType",
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/annotation-type",
"code": "notesforHCP",
"display": "notesforHCP"
}
]
}
}
],
"text": "Patient medication list reviewed during admission. Overall compliance is good. Amlodipine dose was recently increased. Continue monitoring blood pressure and blood glucose levels."
}
],
"entry": [
{
"date": "2026-02-10T10:00:00+08:00",
"item": {
"reference": "#med-statement-001"
}
},
{
"date": "2026-02-10T10:00:00+08:00",
"item": {
"reference": "#med-statement-002"
}
}
]
}

Successful Response

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textC0..1Narrative
containedC0..*Resource
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
id0..0string
extensionC0..0Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ C1..1string
periodΣ C0..0Period
assignerΣ C0..0Reference(Organization)
statusΣ ?!1..1codeBinding
modeΣ ?!1..1codeBindingFixed Value
titleΣ0..0string
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1codeFixed Value
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
subjectΣ C1..1Reference(Patient)
encounterC0..1Reference(Encounter)
dateΣ1..1dateTime
sourceΣ C1..1Reference(PractitionerRole)
orderedBy0..0CodeableConceptBinding
id0..0string
id0..1string
extensionC0..0Extension
url1..1uriFixed Value
id0..0string
extensionC0..*Extension
id0..0string
extensionC0..0Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1code
displayΣ C1..1string
userSelectedΣ0..0boolean
textΣ0..0string
timeΣ0..0dateTime
textΣ1..1markdown
id0..0string
extensionC0..0Extension
modifierExtensionΣ ?! C0..0Extension
flag0..0CodeableConcept
deleted?!0..0boolean
date1..1dateTime
itemC1..1Reference(MedicationStatement)
emptyReasonC0..0CodeableConceptBinding
{
"resourceType": "List",
"id": "pml-2026-001234",
"meta": {
"versionId": "1",
"lastUpdated": "2026-02-10T10:05:00.1+08:00",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-list-medicationstatement"
]
},
{
"resourceType": "MedicationStatement",
"id": "med-statement-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
},
{
"url": "https://fhir.synapxe.sg/StructureDefinition/ext-changesMade",
"valueString": "Dose increased from 5mg to 10mg based on clinical response"
}
],
{
"system": "https://fhir.synapxe.sg/NamingSystem/sequence-no",
"value": "SEQ-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-no",
"value": "GRP-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-sequence-no",
"value": "GRPSEQ-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "REC-MS-2026-001234-001"
}
],
"status": "recorded",
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/clinical-setting",
"code": "admission",
"display": "Admission"
}
]
}
],
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"dateAsserted": "2026-02-10T10:00:00+08:00",
{
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
},
{
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"type": "RelatedPerson",
"system": "https://fhir.synapxe.sg/NamingSystem/nric",
"value": "S7654321B"
}
}
],
{
"reference": "#med-request-001"
},
{
"reference": "#med-dispense-001"
},
{
"reference": "#allergy-001"
},
{
"reference": "#flag-001"
}
],
"reason": [
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertensive disorder"
}
],
"text": "Hypertension management"
}
}
],
"note": [
{
"text": "Patient reports good compliance. No adverse effects reported."
}
],
"dosage": [
{
"text": "Take 1 tablet by mouth once daily in the morning",
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "38341003",
"display": "Hypertensive disorder"
}
],
"text": "Hypertension"
}
],
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral route"
}
],
"text": "Oral"
},
{
"low": {
"value": 5,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"high": {
"value": 10,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
}
]
}
],
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence",
"code": "taking",
"display": "Taking"
}
]
},
"reason": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "182891003",
"display": "Patient compliant with drug therapy"
}
],
"text": "Patient is compliant with medication"
}
}
},
{
"resourceType": "MedicationRequest",
"id": "med-request-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/prescription-no",
"value": "RX-2026-001234-001"
}
],
"status": "active",
"intent": "order",
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"authoredOn": "2026-02-09T14:00:00+08:00",
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "M12345"
},
"display": "Dr. Sarah Lim"
}
},
{
"resourceType": "MedicationDispense",
"id": "med-dispense-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/dispense-id",
"value": "DISP-2026-001234-001"
}
],
"status": "completed",
"reference": "#medication-001"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"actor": {
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
}
],
"value": 30,
"unit": "tablets",
"system": "http://unitsofmeasure.org",
"code": "{tbl}"
},
"whenHandedOver": "2026-02-09T16:00:00+08:00"
},
{
"resourceType": "Medication",
"id": "medication-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
},
"code": {
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/medication-list",
"code": "0004-28-351-L",
"display": "Amlodipine 10MG TAB"
}
],
"text": "Amlodipine 10mg Tablet"
}
},
{
"resourceType": "AllergyIntolerance",
"id": "allergy-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
]
},
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active",
"display": "Active"
}
]
},
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "confirmed",
"display": "Confirmed"
}
]
},
"medication"
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "372687004",
"display": "Amoxicillin"
}
],
"text": "Amoxicillin allergy"
},
"patient": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "271807003",
"display": "Skin rash"
}
],
"text": "Skin rash"
}
}
],
"severity": "moderate"
}
]
},
{
"resourceType": "Flag",
"id": "flag-001",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-flag"
]
},
"status": "active",
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/flag-category",
"code": "drug",
"display": "Drug"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "428351000124105",
"display": "High risk medication"
}
],
"text": "Patient on high alert medication - monitor blood pressure closely"
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"period": {
"start": "2026-02-09T14:00:00+08:00"
}
},
{
"resourceType": "MedicationStatement",
"id": "med-statement-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/sequence-no",
"value": "SEQ-002"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-no",
"value": "GRP-001"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/group-sequence-no",
"value": "GRPSEQ-002"
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/record-id",
"value": "REC-MS-2026-001234-002"
}
],
"status": "recorded",
{
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/clinical-setting",
"code": "admission",
"display": "Admission"
}
]
}
],
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"dateAsserted": "2026-02-10T10:00:00+08:00",
{
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
],
{
"reference": "#med-request-002"
},
{
"reference": "#med-dispense-002"
}
],
"reason": [
{
"concept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "44054006",
"display": "Type 2 diabetes mellitus"
}
],
"text": "Type 2 Diabetes management"
}
}
],
"note": [
{
"text": "Patient to monitor blood glucose levels regularly."
}
],
"dosage": [
{
"text": "Take 1 tablet by mouth twice daily with meals",
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "44054006",
"display": "Type 2 diabetes mellitus"
}
],
"text": "Diabetes"
}
],
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral route"
}
],
"text": "Oral"
},
{
"low": {
"value": 500,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"high": {
"value": 500,
"unit": "mg",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
}
]
}
],
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence",
"code": "taking",
"display": "Taking"
}
]
},
"reason": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "182891003",
"display": "Patient compliant with drug therapy"
}
],
"text": "Patient is compliant with medication"
}
}
},
{
"resourceType": "MedicationRequest",
"id": "med-request-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/prescription-no",
"value": "RX-2026-001234-002"
}
],
"status": "active",
"intent": "order",
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
"authoredOn": "2026-01-15T09:30:00+08:00",
"type": "Practitioner",
"system": "https://fhir.synapxe.sg/NamingSystem/mcr",
"value": "M67890"
},
"display": "Dr. Michael Tan"
}
},
{
"resourceType": "MedicationDispense",
"id": "med-dispense-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
]
},
{
"system": "https://fhir.synapxe.sg/NamingSystem/dispense-id",
"value": "DISP-2026-001234-002"
}
],
"status": "completed",
"reference": "#medication-002"
}
},
"subject": {
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
}
},
{
"actor": {
"reference": "PractitionerRole/pr-pharmacist-001",
"display": "Ms. Rachel Goh, Pharmacist"
}
}
],
"value": 60,
"unit": "tablets",
"system": "http://unitsofmeasure.org",
"code": "{tbl}"
},
"whenHandedOver": "2026-01-15T11:00:00+08:00"
},
{
"resourceType": "Medication",
"id": "medication-002",
"meta": {
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
},
"code": {
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/medication-list",
"code": "0004-28-351-L",
"display": "Metformin 500MG TAB"
}
],
"text": "Metformin 500mg Tablet"
}
}
],
{
"system": "https://fhir.synapxe.sg/NamingSystem/pml-id",
"value": "PML-2026-001234"
}
],
"status": "current",
"mode": "working",
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/list-example-use-codes",
"code": "medications",
"display": "Medications"
}
]
},
"subject": [
{
"type": "Patient",
"system": "https://fhir.synapxe.sg/NamingSystem/nric-fin",
"value": "S1234567A"
},
"display": "John Tan"
}
],
"type": "Encounter",
"system": "https://fhir.synapxe.sg/NamingSystem/visit-number",
"value": "VN-2026-001234"
}
},
"date": "2026-02-10T10:00:00+08:00",
"source": {
"reference": "PractitionerRole/pr-pharmacist-001",
"type": "PractitionerRole",
"display": "Ms. Rachel Goh, Pharmacist"
},
"note": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/annotationType",
"coding": [
{
"system": "https://fhir.synapxe.sg/CodeSystem/annotation-type",
"code": "notesforHCP",
"display": "notesforHCP"
}
]
}
}
],
"text": "Patient medication list reviewed during admission. Overall compliance is good. Amlodipine dose was recently increased. Continue monitoring blood pressure and blood glucose levels."
}
],
"entry": [
{
"date": "2026-02-10T10:00:00+08:00",
"item": {
"reference": "#med-statement-001"
}
},
{
"date": "2026-02-10T10:00:00+08:00",
"item": {
"reference": "#med-statement-002"
}
}
]
}

Business Level Errors


This section details the business level errors exposed by OperationOutcome resource for this operation. Refer to API Error Handling for framework level errors.

For illustration only

http status code code details.coding.code details.text
404 not-found E-10000 No matching patient found based on NRIC, Date of Birth and Gender
404 not-found E-10001 Institution code for group organization is not found
404 not-found E-10002 Group Organization code is not found
400 business-rule E-10003 Patient is not currently enrolled to the organization
400 duplicate E-10004 An attempt was made to create a duplicate record