Skip to content

Instantly share code, notes, and snippets.

Avatar

MattCordell

View GitHub Profile
@MattCordell
MattCordell / Simple Create Patient Client
Created Feb 12, 2020
Sample code for testing FHIR server
View Simple Create Patient Client
using System;
using System.Collections.Generic;
using Hl7.Fhir.Model;
using Hl7.Fhir.Rest;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
@MattCordell
MattCordell / translate.cs
Created Mar 15, 2019
FHIR translate in C#
View translate.cs
Console.WriteLine("Let's try translate!");
//Translate parameters
var revsertTranslateParameters = new Parameters
{
Parameter = new List<Parameters.ParameterComponent>
{
new Parameters.ParameterComponent
{
View FhirTerminologyServer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using RestSharp;
using Newtonsoft.Json;
using Hl7.Fhir.Model;
using Hl7.Fhir.Rest;
View LingoLogin.cs
using System;
using System.Net;
using RestSharp;
namespace D_Punch
{
public class LingoCredential
{
public string password { get; set; }
public string username { get; set; }
@MattCordell
MattCordell / FhirPatient.cs
Created Apr 10, 2018
Adding a patient then searching for by DOB in FHIR
View FhirPatient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hl7.Fhir.Rest;
using Hl7.Fhir.Model;
namespace PatientLogger
@MattCordell
MattCordell / ValueSet.cs
Created Apr 7, 2018
Custom ValueSet Object (from JSON)
View ValueSet.cs
// generated from http://json2csharp.com
public class Parameter
{
public string name { get; set; }
public string valueUri { get; set; }
public string valueString { get; set; }
}
public class Contain
{
public string system { get; set; }
You can’t perform that action at this time.