Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a2e891c
Add SMART v2 scopes
feordin Aug 4, 2025
99cab33
Update Unit tests
feordin Aug 5, 2025
4f252be
Additional checks for DataActions and tests
feordin Aug 15, 2025
706d8e3
Add more checks and more tests based on code review comments
feordin Aug 15, 2025
3ab05ab
Shortended test code with theories
feordin Aug 25, 2025
6acd55c
SMART V2 Granular scoprs
apurvabhaleMS Aug 27, 2025
1be8a24
Add conditional handler tests
feordin Aug 29, 2025
5c0f09f
Condense tests, add .http file
feordin Aug 29, 2025
f34189a
Update opendiddict for fewer scopes and fhirUser claim. Update .http…
feordin Sep 2, 2025
a808623
Associate Export with 's' V2 scope
feordin Sep 2, 2025
2aee086
Updates for code review comments, and rename DataAction
feordin Sep 2, 2025
dd97fbd
Merge branch 'main' into personal/jaerwin/smartv2-scopes
feordin Sep 2, 2025
29c3884
Fix incorrect data Action in test
feordin Sep 3, 2025
d12f882
Use POST method in SMART test
feordin Sep 3, 2025
ef54d55
Merge branch 'personal/jaerwin/smartv2-scopes' of https://github.com/…
feordin Sep 3, 2025
2ae2683
Fix Bundle references
feordin Sep 4, 2025
1d49897
Remove access denied tests from SmartSearchTests as they are covered …
feordin Sep 4, 2025
6bd0b78
Add null check
feordin Sep 4, 2025
ee0d13d
update test case
feordin Sep 4, 2025
d3b2a33
Adjust test to account for varying resource counts
feordin Sep 4, 2025
ed0fc2a
One more test case fix
feordin Sep 5, 2025
c9fafce
Fix test bugs
feordin Sep 5, 2025
02c0be8
Potential fix for code scanning alert no. 2652: String concatenation …
feordin Sep 5, 2025
2e6f849
fix string building issues
feordin Sep 5, 2025
1be5870
Fix check access bug for search
feordin Sep 8, 2025
fc7b9bf
Fix check access on SearchCompartmentHandler which was not updated fo…
feordin Sep 8, 2025
6127cb7
SMART V2 Granular scope update and tests
apurvabhaleMS Sep 9, 2025
b564bc8
Fix unit tests
apurvabhaleMS Sep 12, 2025
60e97dc
Merge branch 'main' into personal/jaerwin/smartv2-scopes
apurvabhaleMS Sep 12, 2025
8de89f5
Merge remote-tracking branch 'origin/main' into personal/jaerwin/smar…
apurvabhaleMS Sep 15, 2025
e938f7b
Fix SMART V2 scopes expressions
apurvabhaleMS Sep 29, 2025
34e6507
Merge remote-tracking branch 'origin/main' into personal/jaerwin/smar…
apurvabhaleMS Sep 29, 2025
33b9390
Fix SL Options Factory unit tests
apurvabhaleMS Sep 29, 2025
e85f1fa
FIx suggestions
apurvabhaleMS Sep 29, 2025
cd9782a
Tests
apurvabhaleMS Sep 29, 2025
0b2e2bb
Fix tests
apurvabhaleMS Sep 30, 2025
78bd7c1
Merge remote-tracking branch 'origin/main' into personal/jaerwin/smar…
apurvabhaleMS Sep 30, 2025
92f54a5
Fix conflicts
apurvabhaleMS Sep 30, 2025
cab997a
Fix failing tests
apurvabhaleMS Sep 30, 2025
1d76bbb
Fix failing tests
apurvabhaleMS Sep 30, 2025
30db265
clean up tests
apurvabhaleMS Sep 30, 2025
3c1f705
clean up tests
apurvabhaleMS Sep 30, 2025
1460b2b
Compartment search tests
apurvabhaleMS Oct 1, 2025
2eafdf1
Throw 400 if chained, include or revinclude request with ApplyFineGra…
apurvabhaleMS Oct 1, 2025
a3e6c21
Updates to rest test file
apurvabhaleMS Oct 1, 2025
c02dec6
Comments and clean up
apurvabhaleMS Oct 1, 2025
2f1978d
fix conflicts
apurvabhaleMS Oct 1, 2025
86eb982
Merge remote-tracking branch 'origin/main' into personal/jaerwin/smar…
apurvabhaleMS Oct 1, 2025
7f26a69
Merge remote-tracking branch 'origin/main' into personal/jaerwin/smar…
apurvabhaleMS Oct 6, 2025
28a76b7
Fixes
apurvabhaleMS Oct 7, 2025
d0f2dda
Fix unit tests
apurvabhaleMS Oct 7, 2025
e550b17
Add include tests
feordin Oct 9, 2025
1f6de98
Added searchParam to equality comparer and fix tests
apurvabhaleMS Oct 9, 2025
14d69e1
Fix unit tests
apurvabhaleMS Oct 9, 2025
cc65c9f
Fix for include and revinclude searches for v2 scopes with search par…
apurvabhaleMS Oct 9, 2025
e2c3256
More tests
apurvabhaleMS Oct 9, 2025
8a4d199
More tests
apurvabhaleMS Oct 9, 2025
6707ad1
Chain search test
apurvabhaleMS Oct 10, 2025
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
70 changes: 70 additions & 0 deletions docs/rest/Data/BundleForGets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"resourceType": "Bundle",
"id": "bundle-transaction",
"meta": {
"lastUpdated": "2014-08-18T01:43:30Z"
},
"type": "transaction",
"entry": [
{
"request": {
"method": "GET",
"url": "?_count=100"
}
},
{
"request": {
"method": "GET",
"url": "Patient"
}
},
{
"request": {
"method": "GET",
"url": "Observation"
}
},
{
"request": {
"method": "GET",
"url": "Encounter"
}
},
{
"request": {
"method": "GET",
"url": "Practitioner"
}
},
{
"request": {
"method": "GET",
"url": "DiagnosticReport"
}
},
{
"request": {
"method": "GET",
"url": "?_type=Observation,Patient,Practitioner"
}
},
{
"request": {
"method": "GET",
"url": "Observation?code=http://loinc.org|4548-4&status=final"
}
},
{
"request": {
"method": "GET",
"url": "Observation?code=http://loinc.org|55233-1&status=final"
}
},
{
"request": {
"method": "GET",
"url": "Observation?code=http://loinc.org|55233-1"
}
}
]
}
196 changes: 196 additions & 0 deletions docs/rest/Data/SMARTv2ScopesBundleTransaction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
{
"resourceType": "Bundle",
"id": "smartv2-scopes-test-bundle",
"meta": {
"lastUpdated": "2024-10-08T01:43:30Z"
},
"type": "transaction",
"entry": [
{
"request": {
"method": "GET",
"url": "/?_count=100"
}
},
{
"request": {
"method": "GET",
"url": "/Observation"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?code=http://loinc.org|4548-4&status=final"
}
},
{
"request": {
"method": "GET",
"url": "/Practitioner"
}
},
{
"request": {
"method": "GET",
"url": "/DiagnosticReport"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Observation,Patient,Practitioner"
}
},
{
"request": {
"method": "GET",
"url": "/Patient"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?code=http://loinc.org|55233-1&status=final"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?code=http://loinc.org|55233-1"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?subject:Patient.name=smartUserClient"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?subject:Patient.name=smartUserClient&code=http://loinc.org|55233-1"
}
},
{
"request": {
"method": "GET",
"url": "/Patient?_revinclude=*:*&_id=smartUserClient"
}
},
{
"request": {
"method": "GET",
"url": "/Patient?_revinclude=Encounter:patient&_id=smartUserClient"
}
},
{
"request": {
"method": "GET",
"url": "/Patient?_revinclude=Encounter:patient&_revinclude=Observation:patient&_id=smartUserClient"
}
},
{
"request": {
"method": "GET",
"url": "/MedicationRequest?_revinclude=MedicationDispense:prescription:MedicationRequest&_id=smart-medicationrequest-smartUserClien"
}
},
{
"request": {
"method": "GET",
"url": "/MedicationRequest?_revinclude=MedicationDispense:prescription:MedicationRequest&_id=12345"
}
},
{
"request": {
"method": "GET",
"url": "/MedicationRequest?_include=MedicationRequest:patient&_revinclude=MedicationDispense:prescription:MedicationRequest&_id=12345"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=*:*"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=Observation:subject"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=Observation:performer:Practitioner"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=Observation:performer:Practitioner&_include=Observation:subject"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=Encounter:subject&_include=Observation:subject"
}
},
{
"request": {
"method": "GET",
"url": "/Group?_include=*:*"
}
},
{
"request": {
"method": "GET",
"url": "/Observation?_include=*:*&_id=smart-observation-smartUserClient"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Observation,Encounter"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Observation,DiagnosticReport&tag=8d245743-e7ff-425d-b065-33e8886c60e8"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Specimen,Observation"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Patient,Practitioner,Observation,Encounter"
}
},
{
"request": {
"method": "GET",
"url": "/Encounter"
}
},
{
"request": {
"method": "GET",
"url": "/Specimen"
}
},
{
"request": {
"method": "GET",
"url": "/?_type=Observation,Patient,Practitioner&_count=100"
}
}
]
}
Loading
Loading