示例#1
0
 public StructureDefinitionImporter(IObjectRepository tdb, string scheme, string authority)
 {
     this.tdb       = tdb;
     this.scheme    = scheme;
     this.authority = authority;
     this.implementationGuideType = DSTU2Helper.GetImplementationGuideType(this.tdb, true);
 }
 /// <summary>
 /// Initializes a new instance of ImplementationGuideExporter
 /// </summary>
 /// <param name="tdb">Reference to the database</param>
 /// <param name="scheme">The server url's scheme</param>
 /// <param name="authority">The server url's authority</param>
 public ImplementationGuideExporter(IObjectRepository tdb, SimpleSchema schema, string scheme, string authority)
 {
     this.tdb       = tdb;
     this.scheme    = scheme;
     this.authority = authority;
     this.schema    = schema;
     this.implementationGuideType = DSTU2Helper.GetImplementationGuideType(this.tdb, true);
 }
        public FHIR2StructureDefinitionController(IObjectRepository tdb, HttpRequestMessage request = null)
        {
            this.tdb = tdb;

            // NOTE: This is for unit testing only
            if (request != null)
            {
                this.Request = request;
            }

            this.implementationGuideType = DSTU2Helper.GetImplementationGuideType(this.tdb, true);
        }
 public FHIR2ImplementationGuideController(IObjectRepository tdb)
 {
     this.tdb = tdb;
     this.implementationGuideType = DSTU2Helper.GetImplementationGuideType(this.tdb, true);
 }