Improve dynamic question learning loop
This commit is contained in:
@@ -29,7 +29,18 @@ public static class DynamicBlueprintResolver
|
||||
materialized.BaseBlueprintVersion = blueprint.BaseBlueprintVersion;
|
||||
materialized.QualityStandardVersion = blueprint.QualityStandardVersion;
|
||||
materialized.IsPublished = blueprint.IsPublished;
|
||||
materialized.CaseFamilies = blueprint.CaseFamilies.Select(overlay =>
|
||||
materialized.EncounterFrame = blueprint.EncounterFrame;
|
||||
materialized.SiteOfCare = blueprint.SiteOfCare;
|
||||
materialized.BlueprintWeight = blueprint.BlueprintWeight;
|
||||
materialized.ConceptIds = blueprint.ConceptIds;
|
||||
materialized.PrerequisiteConceptIds = blueprint.PrerequisiteConceptIds;
|
||||
materialized.MedicallyReviewedUtc = blueprint.MedicallyReviewedUtc;
|
||||
materialized.MedicalReviewExpiresUtc = blueprint.MedicalReviewExpiresUtc;
|
||||
materialized.MedicalReviewer = blueprint.MedicalReviewer;
|
||||
if (blueprint.Distractors.Count > 0)
|
||||
materialized.Distractors = blueprint.Distractors;
|
||||
if (blueprint.CaseFamilies.Count > 0)
|
||||
materialized.CaseFamilies = blueprint.CaseFamilies.Select(overlay =>
|
||||
{
|
||||
var baseFamily = baseBlueprint.CaseFamilies.FirstOrDefault(value => value.Id == overlay.BaseFamilyId)
|
||||
?? throw new InvalidDataException(
|
||||
|
||||
Reference in New Issue
Block a user