From 161cc943487b96835ebd06a061444a87bb22b7f8 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Fri, 12 Sep 2025 15:32:54 -0400 Subject: [PATCH 1/5] add pharmacy resource --- fhirResourcesToLoad/0. pharmacy.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 fhirResourcesToLoad/0. pharmacy.json diff --git a/fhirResourcesToLoad/0. pharmacy.json b/fhirResourcesToLoad/0. pharmacy.json new file mode 100644 index 0000000..ac7d648 --- /dev/null +++ b/fhirResourcesToLoad/0. pharmacy.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Organization", + "id": "pharm0111", + "active": true, + "name": "Test Pharmacy", + "type": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "3336C0003X", + "display": "Community/Retail Pharmacy" + } + ] + } + ] +} \ No newline at end of file From 925561ad679eb73f681f643f4d661c26119bd971 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Tue, 16 Sep 2025 10:15:49 -0400 Subject: [PATCH 2/5] update resource as pharmacy --- fhirResourcesToLoad/0. pharmacy.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/fhirResourcesToLoad/0. pharmacy.json b/fhirResourcesToLoad/0. pharmacy.json index ac7d648..2fac667 100644 --- a/fhirResourcesToLoad/0. pharmacy.json +++ b/fhirResourcesToLoad/0. pharmacy.json @@ -1,8 +1,19 @@ { - "resourceType": "Organization", + "resourceType": "HealthcareService", "id": "pharm0111", "active": true, "name": "Test Pharmacy", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/service-category", + "code": "17", + "display": "Pharmacy" + } + ] + } + ], "type": [ { "coding": [ From 1d0e03029fda30fa78864a7ecfcce055ca011653 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Tue, 16 Sep 2025 13:29:02 -0400 Subject: [PATCH 3/5] update pharmacy resources types and location --- fhirResourcesToLoad/0. pharmacy.json | 16 +++++++--- fhirResourcesToLoad/7. pharmacy-location.json | 31 +++++++++++++++++++ 2 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 fhirResourcesToLoad/7. pharmacy-location.json diff --git a/fhirResourcesToLoad/0. pharmacy.json b/fhirResourcesToLoad/0. pharmacy.json index 2fac667..0d572b5 100644 --- a/fhirResourcesToLoad/0. pharmacy.json +++ b/fhirResourcesToLoad/0. pharmacy.json @@ -8,8 +8,8 @@ "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/service-category", - "code": "17", - "display": "Pharmacy" + "code": "12", + "display": "Drug/Alcohol" } ] } @@ -18,11 +18,17 @@ { "coding": [ { - "system": "http://nucc.org/provider-taxonomy", - "code": "3336C0003X", - "display": "Community/Retail Pharmacy" + "system": "http://terminology.hl7.org/CodeSystem/service-type", + "code": "64", + "display": "Pharmacy" } ] } + ], + "location": [ + { + "reference": "Location/pharm-location-001", + "display": "Test Pharmacy - Main Location" + } ] } \ No newline at end of file diff --git a/fhirResourcesToLoad/7. pharmacy-location.json b/fhirResourcesToLoad/7. pharmacy-location.json new file mode 100644 index 0000000..d5d65fd --- /dev/null +++ b/fhirResourcesToLoad/7. pharmacy-location.json @@ -0,0 +1,31 @@ +{ + "resourceType": "Location", + "id": "pharm-location-001", + "status": "active", + "name": "Test Pharmacy - Main Location", + "description": "Main location for Test Pharmacy providing community pharmacy services", + "mode": "instance", + "address": { + "use": "work", + "type": "physical", + "line": [ + "123 Main Street" + ], + "city": "Anytown", + "state": "CA", + "postalCode": "12345", + "country": "US" + }, + "telecom": [ + { + "system": "phone", + "value": "+1-555-123-4567", + "use": "work" + }, + { + "system": "email", + "value": "info@testpharmacy.com", + "use": "work" + } + ] +} \ No newline at end of file From 12e8297c2e67949423aace86112f9236e76020e1 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Tue, 16 Sep 2025 13:48:17 -0400 Subject: [PATCH 4/5] update location address display --- fhirResourcesToLoad/0. pharmacy.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhirResourcesToLoad/0. pharmacy.json b/fhirResourcesToLoad/0. pharmacy.json index 0d572b5..45ae8ef 100644 --- a/fhirResourcesToLoad/0. pharmacy.json +++ b/fhirResourcesToLoad/0. pharmacy.json @@ -28,7 +28,7 @@ "location": [ { "reference": "Location/pharm-location-001", - "display": "Test Pharmacy - Main Location" + "display": "123 Main Street, Anytown, CA 12345" } ] } \ No newline at end of file From 83de64565d3384caeb1877f5b5f5597bec071144 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Tue, 16 Sep 2025 16:05:14 -0400 Subject: [PATCH 5/5] add second pharmacy for show casing non registered pharmacy --- fhirResourcesToLoad/8.pharmacy-2.json | 34 +++++++++++++++++++ .../9. pharmacy-location-2.json | 31 +++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 fhirResourcesToLoad/8.pharmacy-2.json create mode 100644 fhirResourcesToLoad/9. pharmacy-location-2.json diff --git a/fhirResourcesToLoad/8.pharmacy-2.json b/fhirResourcesToLoad/8.pharmacy-2.json new file mode 100644 index 0000000..16b3536 --- /dev/null +++ b/fhirResourcesToLoad/8.pharmacy-2.json @@ -0,0 +1,34 @@ +{ + "resourceType": "HealthcareService", + "id": "pharm4321", + "active": true, + "name": "Test Pharmacy #2", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/service-category", + "code": "12", + "display": "Drug/Alcohol" + } + ] + } + ], + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/service-type", + "code": "64", + "display": "Pharmacy" + } + ] + } + ], + "location": [ + { + "reference": "Location/pharm-location-001", + "display": "561 Street Road, Anytown, CA 12345" + } + ] +} \ No newline at end of file diff --git a/fhirResourcesToLoad/9. pharmacy-location-2.json b/fhirResourcesToLoad/9. pharmacy-location-2.json new file mode 100644 index 0000000..b7cc8cb --- /dev/null +++ b/fhirResourcesToLoad/9. pharmacy-location-2.json @@ -0,0 +1,31 @@ +{ + "resourceType": "Location", + "id": "pharm-location-001", + "status": "active", + "name": "Test Pharmacy - Secondary Location", + "description": "Secondary location for Test Pharmacy providing community pharmacy services", + "mode": "instance", + "address": { + "use": "work", + "type": "physical", + "line": [ + "561 Street Road" + ], + "city": "Anytown", + "state": "CA", + "postalCode": "12345", + "country": "US" + }, + "telecom": [ + { + "system": "phone", + "value": "+1-555-123-4567", + "use": "work" + }, + { + "system": "email", + "value": "info@testpharmacy.com", + "use": "work" + } + ] +} \ No newline at end of file