public void HandleReferenceParam()
        {
            var p1 = new ReferenceParamValue("patient", "2");
            Assert.AreEqual("patient/2", p1.QueryValue);

            var p2 = ReferenceParamValue.FromQueryValue("organization/34");
            Assert.AreEqual("34", p2.Id);
            Assert.AreEqual("organization", p2.ResourceType);
        }
 public ReferenceParamValue AsReferenceParam()
 {
     return(ReferenceParamValue.FromQueryValue(Value));
 }