Skip to content

Instantly share code, notes, and snippets.

@TerribleDev
Last active March 29, 2016 00:41
Show Gist options
  • Save TerribleDev/7fc83c027116f9afcdb1 to your computer and use it in GitHub Desktop.
Save TerribleDev/7fc83c027116f9afcdb1 to your computer and use it in GitHub Desktop.
Query Allergy intolerance
using Hl7.Fhir.Model;
internal class Program
{
private static void Main(string[] args)
{
var client = new Hl7.Fhir.Rest.FhirClient("http://52.72.172.54:8080/fhir/baseDstu2/");
var result = client.Read<Patient>("Patient/Patient-19454");
var allergyResult = client.Read<AllergyIntolerance>("AllergyIntolerance/AllergyIntolerance-19454");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment