Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 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
cd6c661
Update tests to use constant for all resources
feordin Sep 23, 2025
8e21fc2
Merge branch 'personal/jaerwin/smartv2-scopes' of https://github.com/…
feordin Sep 23, 2025
01a853b
Update table generator for UNION
feordin Sep 24, 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
122 changes: 122 additions & 0 deletions docs/rest/Data/SmartCompartmentResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -4192,6 +4192,128 @@
"method": "PUT",
"url": "Observation/smart-observation-smartUserClient"
}
},
{
"resource": {
"resourceType": "Observation",
"id": "smart-observation-2-smartUserClient",
"text": {
"status": "extensions",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource &quot;example-genetics-1&quot; </p></div><p><b>Gene</b>: EGFR <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-hgnc.html\">HUGO Gene Nomenclature</a>#3236)</span></p><p><b>DNARegionName</b>: Exon 21</p><p><b>GenomicSourceClass</b>: somatic <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6684-0)</span></p><p><b>status</b>: final</p><p><b>code</b>: The material on this page will be removed in a future release. This content is deprecated and SHOULD NOT be used. Implementers are instead directed to the ([Genomics Reporting Implementation Guide](http://hl7.org/fhir/uv/genomics-reporting/index.html)) for guidance. Genetic analysis master panel-- This is the parent OBR for the panel holding all of the associated observations that can be reported with a molecular genetics analysis result. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#55233-1)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example: Molecular Lab Patient ID: HOSP-23456</a> &quot;Peter CHALMERS&quot;</p><p><b>effective</b>: 2013-04-03T15:30:10+01:00</p><p><b>performer</b>: <a href=\"practitioner-example.html\">Practitioner/example: Molecular Diagnostics Laboratory</a> &quot;Adam CAREFUL&quot;</p><p><b>value</b>: Positive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#10828004)</span></p><p><b>device</b>: <a href=\"device-example.html\">Device/example</a></p></div>"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene",
"valueCodeableConcept": {
"coding": [
{
"system": "http://www.genenames.org",
"code": "3236",
"display": "EGFR"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName",
"valueString": "Exon 21"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass",
"valueCodeableConcept": {
"coding": [
{
"system": "http://loinc.org",
"code": "LA6684-0",
"display": "somatic"
}
]
}
}
],
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "55233-1",
"display": "The material on this page will be removed in a future release. This content is deprecated and SHOULD NOT be used. Implementers are instead directed to the ([Genomics Reporting Implementation Guide](http://hl7.org/fhir/uv/genomics-reporting/index.html)) for guidance. Genetic analysis master panel-- This is the parent OBR for the panel holding all of the associated observations that can be reported with a molecular genetics analysis result."
}
]
},
"subject": {
"reference": "Patient/smartUserClient",
"display": "Molecular Lab Patient ID: HOSP-23456"
},
"effectiveDateTime": "2013-04-03T15:30:10+01:00",
"performer": [
{
"reference": "Practitioner/smart-practitioner-B",
"display": "Molecular Diagnostics Laboratory"
}
],
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "10828004",
"display": "Positive"
}
]
}
},
"request": {
"method": "PUT",
"url": "Observation/smart-observation-2-smartUserClient"
}
},
{
"resource": {
"resourceType": "Encounter",
"id": "smart-Encounter-1-smartUserClient",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource &quot;xcda&quot; </p></div><p><b>identifier</b>: id: 1234213.52345873 (OFFICIAL)</p><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>subject</b>: <a href=\"patient-xcda.html\">Patient/xcda</a> &quot;Henry LEVIN&quot;</p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Individual</b></td></tr><tr><td>*</td><td><a href=\"practitioner-xcda1.html\">Practitioner/xcda1</a> &quot;Sherry DOPPLEMEYER&quot;</td></tr></table><p><b>reasonCode</b>: Arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (eventCodes#T-D8200)</span></p></div>"
},
"identifier": [
{
"use": "official",
"system": "http://healthcare.example.org/identifiers/enocunter",
"value": "1234213.52345873"
}
],
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB",
"display": "ambulatory"
},
"subject": {
"reference": "Patient/smartUserClient"
},
"participant": [
{
"individual": {
"reference": "Practitioner/smart-practitioner-B"
}
}
],
"reasonCode": [
{
"coding": [
{
"system": "http://ihe.net/xds/connectathon/eventCodes",
"code": "T-D8200",
"display": "Arm"
}
]
}
]
},
"request": {
"method": "PUT",
"url": "Encounter/smart-Encounter-1-smartUserClient"
}
}
]
}
Loading
Loading