Stream: dotnet
Topic: Object not getting set
Jefferson (Apr 21 2020 at 13:27):
I am setting the object OrderId in this ActivityDefinitionsTypeConverter but when I go back to get the object it is null. Any idea why this maybe happening?
private ActivityDefinition Convert(DosageInstructionModel dosageInstruction, TemplateModel template, AdministrationRouteSentencePartModel route, int order, int routeSequenceOrder) { dosageInstruction.OrderId = $"{dosageInstruction.Id}-{order}";
}
Difference class
var DosageInstructions = note.RegimenEntry.DosageInstructions;
foreach (var Dosage in DosageInstructions)
{
result.Extension.Add(new Extension("activityDefinitionid", CreateFhirString(Dosage.OrderId)));
}
Christiaan Knaap (Apr 23 2020 at 08:20):
It is a bit hard to debug without the definitions of DosageInstructionModel
and without knowing how the 'Difference class' fits in.
Last updated: Apr 12 2022 at 19:14 UTC