Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Created November 23, 2022 15:01
Show Gist options
  • Save KevinMayfield/85a30ceff0fcd4cabe69b714ec068972 to your computer and use it in GitHub Desktop.
Save KevinMayfield/85a30ceff0fcd4cabe69b714ec068972 to your computer and use it in GitHub Desktop.
{
"resourceType": "MedicationRequest",
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType",
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/prescription-type",
"code": "0101",
"display": "Primary Care Prescriber - Medical Prescriber"
}
}
],
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "TBC"
}
],
"status": "active",
"intent": "order",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "community",
"display": "Community"
}
]
}
],
"medicationCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "325427002",
"display": "Prednisolone 5mg tablets"
}
]
},
"subject": {
"reference": "TBC"
},
"authoredOn": "2022-10-21T13:47:00+00:00",
"requester": {
"reference": "TBC"
},
"groupIdentifier": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
"valueIdentifier": {
"system": "https://fhir.nhs.uk/Id/prescription",
"value": "TBC"
}
}
],
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "TBC"
},
"courseOfTherapyType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
"code": "acute",
"display": "Short course (acute) therapy"
}
]
},
"dosageInstruction": [
{
"sequence": 1,
"text": "EIGHT (8) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 8,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 2,
"text": "SEVEN (7) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 7,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 3,
"text": "SIX (6) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 6,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 4,
"text": "FIVE (5) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 5,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 5,
"text": "FOUR (4) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 4,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 6,
"text": "THREE (3) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 3,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 7,
"text": "TWO (2) tablets to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 2,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
},
{
"sequence": 8,
"text": "ONE (1) tablet to be taken DAILY for two days. Take these tablets with or after food.",
"timing": {
"repeat": {
"boundsDuration": {
"value": 2,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"frequency": 1,
"period": 1,
"periodUnit": "d"
}
},
"doseAndRate": [
{
"doseQuantity": {
"value": 5,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
}
],
"dispenseRequest": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
"code": "P1"
}
}
],
"validityPeriod": {
"start": "2022-10-20",
"end": "2023-03-20"
},
"quantity": {
"value": 72,
"unit": "tablet",
"system": "http://snomed.info/sct",
"code": "428673006"
},
"expectedSupplyDuration": {
"value": 30,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"performer": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "FK994"
}
}
},
"substitution": {
"allowedBoolean": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment