Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
sudo apt-get install -y nodejs

- name: Cache node modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-build-cache-npm-packages-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion CapabilityStatement/apim-medicines-futures.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"resource": [
{
"type": "MedicationRequest",
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-Contained",
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest",
"interaction": [
{
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion Claim/Claim-supplier.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
{
"system": "http://snomed.info/sct",
"code": "38781611000001106",
"display": "Telmisartan 20mg tablets (Ennogen Healthcare Ltd)"
"display": "Telmisartan 20mg tablets (Ennogen Healthcare International Ltd)"
}
]
},
Expand Down
57 changes: 57 additions & 0 deletions MedicationRequest/Bundle-prescription-order-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@
"resourceType": "MedicationRequest",
"id": "0ef0236b-568a-4aff-a8fc-5b956402abc6",
"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"
}
},
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory",
"extension": [
Expand Down Expand Up @@ -241,6 +249,26 @@
"value": "0d4f8c2e-8153-45f9-b040-1e2858808808"
}
],
"courseOfTherapyType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
"code": "acute",
"display": "Short course (acute) therapy"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "inpatient",
"display": "Inpatient"
}
]
}
],
"status": "cancelled",
"intent": "order",
"medicationCodeableConcept": {
Expand All @@ -260,10 +288,39 @@
"reference": "urn:uuid:ca7a1e5a-f955-46d8-b1d6-528a45a8c20f"
},
"groupIdentifier": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
"valueIdentifier": {
"system": "https://fhir.nhs.uk/Id/prescription",
"value": "ad945a29-85f8-439a-b590-6789719adc16"
}
}
],
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "47FD70-A99968-E517CT"
},
"dosageInstruction": [
{
"text": "2 Puffs twice daily"
}
],
"dispenseRequest": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
"code": "0004"
}
}
],
"quantity": {
"value": 240,
"unit": "actuation(s)",
"system": "http://snomed.info/sct",
"code": "732981002"
},
"performer": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
Expand Down
201 changes: 163 additions & 38 deletions MedicationRequest/homecare-example-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,78 +42,203 @@
"fullUrl": "urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6",
"resource": {
"resourceType": "MedicationRequest",
"id": "a54219b8-f741-4c47-b662-e4f8dfa49ab6",
"extension": [
{
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory",
"extension": [
{
"url": "status",
"valueCoding": {
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
"code": "R-0002",
"display": "Prescription/item was not cancelled – With dispenser"
}
}
}
]
},
{
},
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-ResponsiblePractitioner",
"valueReference": {
"reference": "urn:uuid:a5acefc1-f8ca-4989-a5ac-34ae36741466",
"display": "DR SAZ RAZ"
}
},
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType",
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/prescription-type",
"code": "1201",
"display": "Outpatient Homecare Prescriber - Medical Prescriber"
}
},
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation",
"extension": [
{
"url": "numberOfPrescriptionsIssued",
"valueUnsignedInt": 1
},
{
"url": "authorisationExpiryDate",
"valueDateTime": "2020-08-07"
}
]
}
],
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "a54219b8-f741-4c47-b662-e4f8dfa49ab6"
}
{
"system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
"value": "a54219b8-f741-4c47-b662-e4f8dfa49ab6"
}
],
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"intent": "original-order",
"category": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "15517911000001104",
"display": "Methotrexate 10mg/0.2ml solution for injection pre-filled syringes"
}
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "outpatient",
"display": "Outpatient"
}
]
}
],
"medicationCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "15517911000001104",
"display": "Methotrexate 10mg/0.2ml solution for injection pre-filled syringes"
}
]
},
"subject": {
"reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2",
"display": "ETTA CORY"
"reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2"
},
"authoredOn": "2020-07-13T12:00:00+00:00",
"requester": {
"reference": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666",
"display": "DR RAZIA ALI"
"reference": "urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca666"
},
"basedOn": [
{
"reference": "https://elmpt-hospitals.nhs.uk/MedicationRequest/654321"
}
],
"groupIdentifier": {
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "DC2C66-A1B2C3-23407B"
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
"valueIdentifier": {
"system": "https://fhir.nhs.uk/Id/prescription",
"value": "ad945a29-85f8-439a-b590-6789719adc16"
}
}
],
"system": "https://fhir.nhs.uk/Id/prescription-order-number",
"value": "DC2C66-A1B2C3-23407B"
},
"courseOfTherapyType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
"code": "continuous",
"display": "Continuous long term therapy"
}
]
},
"dosageInstruction": [
{
"text": "10 milligram, Inject, Subcutaneous route, once weekly.",
"timing": {
"repeat": {
"frequency": 5,
"period": 1,
"periodUnit": "d",
"boundsDuration": {
"value": 10,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
}
}
},
"method": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "422145002",
"display": "Inject"
}
]
},
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "34206005",
"display": "Subcutaneous route"
}
]
},
"doseAndRate": [
{
"doseQuantity": {
"value": 10,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
}
],
"dispenseRequest": {
"performer": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-DispensingPerformer",
"valueReference": {
"reference": "urn:uuid:25f3dd9f-5838-44a7-930e-c78ae3ecadd6",
"display": "LOTTIE POTTS"
}
}
],
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "VNE51"
},
"display": "The Simple Pharmacy"
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
"valueCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
"code": "P2"
}
}
],
"validityPeriod": {
"start": "2020-07-13T12:00:00+00:00",
"end": "2020-08-07T12:00:00+00:00"
},
"numberOfRepeatsAllowed": 0,
"expectedSupplyDuration": {
"value": 7,
"unit": "day",
"system": "http://unitsofmeasure.org",
"code": "d"
},
"performer": {
"extension": [
{
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-DispensingPerformer",
"valueReference": {
"reference": "urn:uuid:25f3dd9f-5838-44a7-930e-c78ae3ecadd6",
"display": "LOTTIE POTTS"
}
}
],
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "VNE51"
}
},
"quantity": {
"value": 1,
"unit": "Injection",
"system": "http://snomed.info/sct",
"code": "3092611000001103"
}
},
"substitution": {
"allowedBoolean": false
"allowedBoolean": false
}
}
},
Expand Down
Loading
Loading