chore: deploy initial code base

This commit is contained in:
Thom Lamb
2026-05-12 10:34:30 -05:00
parent cce2961782
commit a81300a571
1829 changed files with 248331 additions and 1 deletions
@@ -0,0 +1,71 @@
using Riok.Mapperly.Abstractions;
using Strata.ContinuousImprovement.Biz.ChargeCode.Opportunities;
using Strata.ContinuousImprovement.Biz.Configuration;
using Strata.ContinuousImprovement.Biz.Shared;
using Strata.Schema.Client.Dtos;
using System.Collections.Generic;
using System.Text.Json;
namespace Strata.ContinuousImprovement.JazzEntityFrameworkStub.Generics
{
[Mapper(UseDeepCloning = true, EnumMappingStrategy = EnumMappingStrategy.ByName, EnumMappingIgnoreCase = true)]
public static partial class CCOpportunityMapper
{
public static CCOpportunityDataModel MapToDataModel(this CCOpportunity src, Configuration configuration)
{
var mapped = src.MapToDataModel();
mapped.Configuration = configuration;
return mapped;
}
public static CCOpportunityDataModel MapToDataModel(this CCOpportunity src)
{
var mapped = Mapped(src);
if (mapped == null) { return default; }
mapped.EncounterGroup = (int)EncounterGroup.CaseType;
mapped.CaseTypeJson = JsonSerializer.Serialize(new HierarchyPathsAndMembers
{
HierarchyPaths = new List<string>(),
Members = new List<MemberDto>()
});
mapped.ClinicalIndicatorJson = JsonSerializer.Serialize(new HierarchyPathsAndMembers
{
HierarchyPaths = new List<string>(),
Members = new List<MemberDto>()
});
mapped.ChargeCodeJson = JsonSerializer.Serialize(new HierarchyPathsAndMembers
{
HierarchyPaths = new List<string>(),
Members = new List<MemberDto>()
});
mapped.OpportunityLevelJson = JsonSerializer.Serialize(new HierarchyPathsAndMembers
{
HierarchyPaths = new List<string>(),
Members = new List<MemberDto>()
});
return mapped;
}
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.CaseTypeJson))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.CaseTypes))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.ChargeCodeJson))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.ChargeCodes))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.ClinicalIndicatorJson))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.Configuration))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.DateCreated))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.Details))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.EncounterGroup))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.LevelCases))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.OpportunityLevelJson))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.OpportunityLevels))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.OpportunityId))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.OpportunityLevelJson))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.OpportunityId))]
[MapperIgnoreTarget(nameof(CCOpportunityDataModel.PatientPopulations))]
[MapperIgnoreSource(nameof(CCOpportunity.ChargeCodeGroup))]
[MapperIgnoreSource(nameof(CCOpportunity.ChargeCodeGroupValue))]
private static partial CCOpportunityDataModel Mapped(CCOpportunity src);
}
}
@@ -0,0 +1,11 @@
using Riok.Mapperly.Abstractions;
using Strata.ContinuousImprovement.Biz.FreeForm.Opportunities;
namespace Strata.ContinuousImprovement.JazzEntityFrameworkStub.Generics
{
[Mapper(UseDeepCloning = true, EnumMappingStrategy = EnumMappingStrategy.ByName, EnumMappingIgnoreCase = true)]
public static partial class FFOpportunityMapper
{
public static partial FFOpportunityDetailModel MapToDataModel(FFOpportunity src);
}
}