public static Conformance CreateServer(string server, string serverVersion, string publisher, string fhirVersion) { var conformance = new Conformance { Name = server, Publisher = publisher, Version = serverVersion, FhirVersion = fhirVersion, AcceptUnknown = Conformance.UnknownContentCode.No, Date = Date.Today().Value }; conformance.AddServer(); return(conformance); }
public static Conformance CreateServer(String server, String serverVersion, String publisher, String fhirVersion) { Conformance conformance = new Conformance(); conformance.Name = server; conformance.Publisher = publisher; conformance.Version = serverVersion; conformance.FhirVersion = fhirVersion; conformance.AcceptUnknown = Conformance.UnknownContentCode.No; conformance.Date = Date.Today().Value; conformance.AddServer(); return(conformance); //AddRestComponent(true); //AddAllCoreResources(true, true, Conformance.ResourceVersionPolicy.VersionedUpdate); //AddAllSystemInteractions(); //AddAllResourceInteractionsAllResources(); //AddCoreSearchParamsAllResources(); //return con; }
public static Conformance CreateServer(string server, string publisher, string fhirVersion) { var conformance = new Conformance { Name = server, Publisher = publisher, FhirVersion = fhirVersion, AcceptUnknown = Conformance.UnknownContentCode.No, Date = Date.Today().Value, Kind = Conformance.ConformanceStatementKind.Instance }; conformance.AddServer(); return(conformance); //AddRestComponent(true); //AddAllCoreResources(true, true, Conformance.ResourceVersionPolicy.VersionedUpdate); //AddAllSystemInteractions(); //AddAllResourceInteractionsAllResources(); //AddCoreSearchParamsAllResources(); //return con; }