// Register the type on the generic ThingToFhir partial class public static Patient ToFhir(this ItemTypes.BasicV2 basic, Patient patient) { return(BasicV2ToFhir.ToFhirInternal(basic, patient)); }
// Register the type on the generic ThingToFhir partial class public static Patient ToFhir(this ItemTypes.BasicV2 basic) { return(BasicV2ToFhir.ToFhirInternal(basic, ThingBaseToFhir.ToFhirInternal <Patient>(basic))); }