From b32e89b5cfb388dc5cc4f72de826552dba955073 Mon Sep 17 00:00:00 2001 From: lmd59 Date: Fri, 8 Aug 2025 10:47:02 -0400 Subject: [PATCH 1/7] Update README.md Add data rights --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 1f404bc..8886ea3 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,35 @@ The `launchId` is a unique ID which lets the SMART app maintain its state throug | `/test-ehr/r4` | EHR FHIR Server endpoint (will not resolve in browser) | | `/test-ehr/script/rxfill` | NCPDP SCRIPT endpoint that RxFill messages from the pharmacy can be sent to (will not resolve in browser) | | `/_services/smart/Launch` | SMART on FHIR endpoint which produces a launch ID for SMART apps to use when launching | + +# Data Rights + +
+NOTICE +
+ +This (software/technical data) was produced for the U. S. Government under Contract Number 75FCMC18D0047/75FCMC23D0004, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General. + + +No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation. + + +For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000. + +
+©2025 The MITRE Corporation. +
+ +
+ +Licensed under the Apache License, Version 2.0 (the "License"); use of this repository is permitted in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + From af47070eadfbbe589927acc829d68ef5e2138423 Mon Sep 17 00:00:00 2001 From: lmd59 Date: Fri, 22 Aug 2025 09:33:01 -0400 Subject: [PATCH 2/7] Add fork information --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8886ea3..09b3727 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ The `launchId` is a unique ID which lets the SMART app maintain its state throug | `/_services/smart/Launch` | SMART on FHIR endpoint which produces a launch ID for SMART apps to use when launching | # Data Rights +This repository has been forked from the [HL7-DaVinci/test-ehr](https://github.com/HL7-DaVinci/test-ehr) repository. As such, the following data rights apply to all changes made on this fork of the repository, starting with release 0.1 and onward.
NOTICE From 161cc943487b96835ebd06a061444a87bb22b7f8 Mon Sep 17 00:00:00 2001 From: Sahil Malhotra Date: Fri, 12 Sep 2025 15:32:54 -0400 Subject: [PATCH 3/7] 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 4/7] 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 5/7] 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 6/7] 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 7/7] 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