示例#1
0
 // Register the type on the generic ThingToFhir partial class
 public static Patient ToFhir(this Contact contact)
 {
     return(ContactToFhir.ToFhirInternal(contact, ThingBaseToFhir.ToFhirInternal <Patient>(contact)));
 }
 // Register the type on the generic ThingToFhir partial class
 public static Patient ToFhir(this Personal personal)
 {
     return(PersonalToFhir.ToFhirInternal(personal, ThingBaseToFhir.ToFhirInternal <Patient>(personal)));
 }
 // 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)));
 }
示例#4
0
 // Register the type on the generic ThingToFhir partial class
 public static Patient ToFhir(this PersonalImage personalImage)
 {
     return(PersonalImageToFhir.ToFhirInternal(personalImage, ThingBaseToFhir.ToFhirInternal <Patient>(personalImage)));
 }
示例#5
0
 // Register the type on the generic ThingToFhir partial class
 public static Observation ToFhir(this SleepJournalAM sleepJournalAM)
 {
     return(SleepJournalAMToFhir.ToFhirInternal(sleepJournalAM, ThingBaseToFhir.ToFhirInternal <Observation>(sleepJournalAM)));
 }