diff --git a/CHANGELOG.md b/CHANGELOG.md index d25acd98..9a6a9e5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Settings page now warns if Embedded Git is not the configured source control extension (#857) - Settings page now has option to switch namespace (#856) - SourceControl.Git.Settings is now documented as part of the public API to allow programmatic configuration of settings (#262) +- Newly configured instances start with default mappings for ESD, LUT and HL7 when relevant (#724) - New setting to define an SSH client configuration file for connections to SSH remotes (#293) ### Fixed diff --git a/cls/SourceControl/Git/Utils.cls b/cls/SourceControl/Git/Utils.cls index 7eea4d12..76c2f3f0 100644 --- a/cls/SourceControl/Git/Utils.cls +++ b/cls/SourceControl/Git/Utils.cls @@ -3077,6 +3077,14 @@ ClassMethod SetDefaultMappings(mappingsNode As %String) set @mappingsNode@("MAC","*")="rtn/" set @mappingsNode@("DFI","*")="dfi/" set @mappingsNode@("PTD","*")="ptd/" + set @mappingsNode@("ESD","*")="config//" + // for HealthShare, HealthConnect, or IRIS for Health + if ($System.Version.GetISCProduct() = 3) || $listfind($System.Version.GetISCComponents(4),"Health") { + set @mappingsNode@("HL7","*") = "data/hl7/" + set @mappingsNode@("HL7","*","NoFolders") = 1 + set @mappingsNode@("LUT","*") = "data/lut/" + set @mappingsNode@("LUT","*","NoFolders") = 1 + } } ClassMethod PrintStreams(streams... As %Stream.FileCharacter)