From aad64d50f66a34f3f3a0aefc9b20410d817cfd80 Mon Sep 17 00:00:00 2001 From: Heath Frankel Date: Wed, 25 Sep 2024 23:28:03 +0930 Subject: [PATCH 1/2] #47 Added MedicationRequest resource for Patient/irvine-ronny-lawrence with DVA number --- generated/MedicationRequest-klacid.json | 98 +++++++++++++++++++ ...U Core Sample Data - MedicationRequest.csv | 1 + 2 files changed, 99 insertions(+) create mode 100644 generated/MedicationRequest-klacid.json diff --git a/generated/MedicationRequest-klacid.json b/generated/MedicationRequest-klacid.json new file mode 100644 index 0000000..851b66f --- /dev/null +++ b/generated/MedicationRequest-klacid.json @@ -0,0 +1,98 @@ +{ + "resourceType": "MedicationRequest", + "id": "klacid", + "meta": { + "profile": [ + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest" + ] + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med1", + "meta": { + "profile": [ + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication" + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "27908011000036108", + "display": "clarithromycin 250 mg tablet, 100" + } + ], + "text": "clarithromycin 250 mg tablet, 100" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "154011000036109", + "display": "tablet" + } + ], + "text": "Tablet" + } + } + ], + "status": "completed", + "intent": "order", + "medicationReference": { + "reference": "#med1" + }, + "subject": { + "reference": "Patient/irvine-ronny-lawrence" + }, + "encounter": { + "reference": "Encounter/discharge-1" + }, + "authoredOn": "2023-02-20T18:19:00+10:00", + "requester": { + "reference": "PractitionerRole/nursepractitioner-haywood-byron" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "3731000119107", + "display": "Idiopathic hypersomnia" + } + ] + } + ], + "dosageInstruction": [ + { + "text": "1 Twice a Day\\nBefore meals", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral route" + } + ] + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/testdata-csv/AU Core Sample Data - MedicationRequest.csv b/testdata-csv/AU Core Sample Data - MedicationRequest.csv index e8d2df5..3a31902 100644 --- a/testdata-csv/AU Core Sample Data - MedicationRequest.csv +++ b/testdata-csv/AU Core Sample Data - MedicationRequest.csv @@ -10,3 +10,4 @@ reaptan-missing-authoredOn,active,order,,,,,,,,reaptan-tpp,Reaptan 10 mg/10 mg ( reaptan-missing-requester,active,order,,,,,,,,reaptan-tpp,Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet,howe-deangelo,,,2018-07-15,,,http://snomed.info/sct,38341003,Hypertension,Hypertension,,,1 tablet daily,1,,1,,d,true,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,2018-07-15,2019-07-15,5,30,Tab,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,30,days,http://unitsofmeasure.org,d,true,,,,,,,, atorvastatin,active,original-order,http://snomed.info/sct,27437011000036101,"atorvastatin 20 mg tablet, 30",,,,,,,howe-deangelo,,cardio-hospital,2021-09-26,PractitionerRole/cardiologist-felmingham-emma,,http://snomed.info/sct,,,,Condition/aci,,1 tablet daily,1,,1,,d,,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,,,,,,,,,,,,,,,,,,,, simvastatin-pbs,active,order,http://pbs.gov.au/code/item,8731E,"simvastatin 40 mg tablet, 30",http://snomed.info/sct,28213011000036109,"simvastatin 40 mg tablet, 30","simvastatin 40 mg tablet, 30 tablets",,,hayes-arianne,Arianne Hayes,,2020-01-15,Practitioner/guthridge-jarred,Dr. Jarred Guthridge,,,,,,,Take one tablet daily,1,,1,,d,,http://snomed.info/sct,26643006,Oral route,Oral,40,mg,,,,,,,,,5,30,tablet,,,30,days,,,,,,,,,,, +klacid,completed,order,,,,,,,,med1,,irvine-ronny-lawrence,,discharge-1,2023-02-20T18:19:00+10:00,PractitionerRole/nursepractitioner-haywood-byron,,http://snomed.info/sct,3731000119107,Idiopathic hypersomnia,,,,1 Twice a Day\nBefore meals,2,,1,,d,false,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,,,,,,,,,,,,,http://snomed.info/sct,27908011000036108,"clarithromycin 250 mg tablet, 100","clarithromycin 250 mg tablet, 100",http://snomed.info/sct,154011000036109,tablet,Tablet From 706b130cfa9ffae78d5d9e82390e523eae5aaca2 Mon Sep 17 00:00:00 2001 From: Heath Frankel Date: Mon, 30 Sep 2024 16:42:02 +0930 Subject: [PATCH 2/2] #47 updated klacid form.text as lowercase tablet --- generated/MedicationRequest-klacid.json | 2 +- testdata-csv/AU Core Sample Data - MedicationRequest.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generated/MedicationRequest-klacid.json b/generated/MedicationRequest-klacid.json index 851b66f..0e71f6f 100644 --- a/generated/MedicationRequest-klacid.json +++ b/generated/MedicationRequest-klacid.json @@ -33,7 +33,7 @@ "display": "tablet" } ], - "text": "Tablet" + "text": "tablet" } } ], diff --git a/testdata-csv/AU Core Sample Data - MedicationRequest.csv b/testdata-csv/AU Core Sample Data - MedicationRequest.csv index 3a31902..a211040 100644 --- a/testdata-csv/AU Core Sample Data - MedicationRequest.csv +++ b/testdata-csv/AU Core Sample Data - MedicationRequest.csv @@ -10,4 +10,4 @@ reaptan-missing-authoredOn,active,order,,,,,,,,reaptan-tpp,Reaptan 10 mg/10 mg ( reaptan-missing-requester,active,order,,,,,,,,reaptan-tpp,Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet,howe-deangelo,,,2018-07-15,,,http://snomed.info/sct,38341003,Hypertension,Hypertension,,,1 tablet daily,1,,1,,d,true,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,2018-07-15,2019-07-15,5,30,Tab,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,30,days,http://unitsofmeasure.org,d,true,,,,,,,, atorvastatin,active,original-order,http://snomed.info/sct,27437011000036101,"atorvastatin 20 mg tablet, 30",,,,,,,howe-deangelo,,cardio-hospital,2021-09-26,PractitionerRole/cardiologist-felmingham-emma,,http://snomed.info/sct,,,,Condition/aci,,1 tablet daily,1,,1,,d,,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,,,,,,,,,,,,,,,,,,,, simvastatin-pbs,active,order,http://pbs.gov.au/code/item,8731E,"simvastatin 40 mg tablet, 30",http://snomed.info/sct,28213011000036109,"simvastatin 40 mg tablet, 30","simvastatin 40 mg tablet, 30 tablets",,,hayes-arianne,Arianne Hayes,,2020-01-15,Practitioner/guthridge-jarred,Dr. Jarred Guthridge,,,,,,,Take one tablet daily,1,,1,,d,,http://snomed.info/sct,26643006,Oral route,Oral,40,mg,,,,,,,,,5,30,tablet,,,30,days,,,,,,,,,,, -klacid,completed,order,,,,,,,,med1,,irvine-ronny-lawrence,,discharge-1,2023-02-20T18:19:00+10:00,PractitionerRole/nursepractitioner-haywood-byron,,http://snomed.info/sct,3731000119107,Idiopathic hypersomnia,,,,1 Twice a Day\nBefore meals,2,,1,,d,false,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,,,,,,,,,,,,,http://snomed.info/sct,27908011000036108,"clarithromycin 250 mg tablet, 100","clarithromycin 250 mg tablet, 100",http://snomed.info/sct,154011000036109,tablet,Tablet +klacid,completed,order,,,,,,,,med1,,irvine-ronny-lawrence,,discharge-1,2023-02-20T18:19:00+10:00,PractitionerRole/nursepractitioner-haywood-byron,,http://snomed.info/sct,3731000119107,Idiopathic hypersomnia,,,,1 Twice a Day\nBefore meals,2,,1,,d,false,http://snomed.info/sct,26643006,Oral route,,1,TAB,http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm,TAB,,,,,,,,,,,,,,,,,http://snomed.info/sct,27908011000036108,"clarithromycin 250 mg tablet, 100","clarithromycin 250 mg tablet, 100",http://snomed.info/sct,154011000036109,tablet,tablet