Skip to content

Instantly share code, notes, and snippets.

@MattCordell
Created April 7, 2018 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattCordell/07d65b29f77e58bd40526d69dbbcc92b to your computer and use it in GitHub Desktop.
Save MattCordell/07d65b29f77e58bd40526d69dbbcc92b to your computer and use it in GitHub Desktop.
Custom ValueSet Object (from JSON)
// 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; }
public string code { get; set; }
public string display { get; set; }
}
public class Expansion
{
public string identifier { get; set; }
public DateTime timestamp { get; set; }
public int total { get; set; }
public List<Parameter> parameter { get; set; }
public List<Contain> contains { get; set; }
}
public class ValueSet
{
public string resourceType { get; set; }
public string url { get; set; }
public string version { get; set; }
public string name { get; set; }
public string status { get; set; }
public bool experimental { get; set; }
public Expansion expansion { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment