public TTo Convert <TTo, TFrom>(TFrom fromObject)
     where TFrom : Base
     where TTo : Base
 {
     try
     {
         Path = new FhirPath();
         Path.Push(fromObject.GetType().Name);
         return(ConvertElement <TTo, TFrom>(fromObject));
     }
     finally
     {
         Path = null;
     }
 }
 public UnknownFhirTypeException(Type type, FhirPath path)
     : base($"The FHIR type {type.FullName} is unknown. Found at {path.GetFullPath()}")
 {
     Type = type;
     Path = path;
 }