Skip to content

Commit 2f5aa3a

Browse files
authored
Merge pull request #879 from intersystems/default-mappings-healthshare
Added reasonable default mappings for ESD, HL7, and LUT
2 parents 9f973df + c8b053f commit 2f5aa3a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Settings page now warns if Embedded Git is not the configured source control extension (#857)
1313
- Settings page now has option to switch namespace (#856)
1414
- SourceControl.Git.Settings is now documented as part of the public API to allow programmatic configuration of settings (#262)
15+
- Newly configured instances start with default mappings for ESD, LUT and HL7 when relevant (#724)
1516
- New setting to define an SSH client configuration file for connections to SSH remotes (#293)
1617

1718
### Fixed

cls/SourceControl/Git/Utils.cls

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3077,6 +3077,14 @@ ClassMethod SetDefaultMappings(mappingsNode As %String)
30773077
set @mappingsNode@("MAC","*")="rtn/"
30783078
set @mappingsNode@("DFI","*")="dfi/"
30793079
set @mappingsNode@("PTD","*")="ptd/"
3080+
set @mappingsNode@("ESD","*")="config/<env>/"
3081+
// for HealthShare, HealthConnect, or IRIS for Health
3082+
if ($System.Version.GetISCProduct() = 3) || $listfind($System.Version.GetISCComponents(4),"Health") {
3083+
set @mappingsNode@("HL7","*") = "data/hl7/"
3084+
set @mappingsNode@("HL7","*","NoFolders") = 1
3085+
set @mappingsNode@("LUT","*") = "data/lut/"
3086+
set @mappingsNode@("LUT","*","NoFolders") = 1
3087+
}
30803088
}
30813089

30823090
ClassMethod PrintStreams(streams... As %Stream.FileCharacter)

0 commit comments

Comments
 (0)