Exemple #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)));
 }
Exemple #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)));
 }
Exemple #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)));
 }