public Resource Retrieve(ConformanceScanInformation entry)
        {
            if (entry == null)
            {
                throw Error.ArgumentNull(nameof(entry));
            }

            XElement found = null;

            using (var input = File.OpenRead(entry.Origin))
            {
                var resources = streamResources(input);

                found = resources.Where(res => res.fullUrl == entry.ResourceUri).SingleOrDefault().element;
            }

            if (found == null)
            {
                return(null);
            }

            var resultResource = new FhirXmlParser().Parse <Resource>(new XmlDomFhirReader(found));

            resultResource.SetOrigin(entry.Origin);

            return(resultResource);
        }