Skip to content

Instantly share code, notes, and snippets.

@bkaney
Last active February 18, 2023 18:33
Show Gist options
  • Save bkaney/e64c5191ad1a9dabe49e9f95e2f23ea1 to your computer and use it in GitHub Desktop.
Save bkaney/e64c5191ad1a9dabe49e9f95e2f23ea1 to your computer and use it in GitHub Desktop.
[~/projects/fhir-dts-generator/fhir-codegen] git reset --hard origin/main
HEAD is now at 25dd68566 Merge pull request #126 from FirelyTeam/main
[~/projects/fhir-dts-generator/fhir-codegen] dotnet clean
MSBuild version 17.3.2+561848881 for .NET
Build started 2/18/2023 1:21:16 PM.
1>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/fhir-codegen.sln" on node 1 (Clean target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
1>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/fhir-codegen.sln" (1) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj.metaproj" (2) on node 1 (Clean target(s)).
2>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj.metaproj" (2) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/fhirCsR2.csproj" (3) on node 1 (Clean target(s)).
3>CoreClean:
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/bin/Debug/net6.0/fhirCsR2.deps.json".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/bin/Debug/net6.0/fhirCsR2.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/bin/Debug/net6.0/fhirCsR2.pdb".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.csproj.AssemblyReference.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.GeneratedMSBuildEditorConfig.editorconfig".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.AssemblyInfoInputs.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.AssemblyInfo.cs".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.csproj.CoreCompileInputs.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/refint/fhirCsR2.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/fhirCsR2.pdb".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/obj/Debug/net6.0/ref/fhirCsR2.dll".
3>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/fhirCsR2.csproj" (Clean target(s)).
2>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj.metaproj" (2) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj" (4) on node 1 (Clean target(s)).
4>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj" (4) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/Microsoft.Health.Fhir.CodeGenCommon.csproj" (6:2) on node 2 (Clean target(s)).
6>CoreClean:
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/bin/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.deps.json".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/bin/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/bin/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.pdb".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.csproj.AssemblyReference.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.GeneratedMSBuildEditorConfig.editorconfig".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.AssemblyInfoInputs.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.AssemblyInfo.cs".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.csproj.CoreCompileInputs.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/refint/Microsoft.Health.Fhir.CodeGenCommon.dll".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.pdb".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/obj/Debug/net6.0/ref/Microsoft.Health.Fhir.CodeGenCommon.dll".
6>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/Microsoft.Health.Fhir.CodeGenCommon.csproj" (Clean target(s)).
4>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj" (4) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj" (5:2) on node 1 (Clean target(s)).
5>CoreClean:
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/obj/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.csproj.AssemblyReference.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/obj/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.GeneratedMSBuildEditorConfig.editorconfig".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/obj/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.AssemblyInfoInputs.cache".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/obj/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.AssemblyInfo.cs".
Deleting file "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/obj/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.csproj.CoreCompileInputs.cache".
5>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj" (Clean target(s)).
4>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj" (Clean target(s)).
2>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj.metaproj" (Clean target(s)).
1>Done Building Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/fhir-codegen.sln" (Clean target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.54
[~/projects/fhir-dts-generator/fhir-codegen] dotnet build
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
Restored /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj (in 1.38 sec).
5 of 6 projects are up-to-date for restore.
fhirCsR2 -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhirCsR2/bin/Debug/net6.0/fhirCsR2.dll
Microsoft.Health.Fhir.CodeGenCommon -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.CodeGenCommon/bin/Debug/net6.0/Microsoft.Health.Fhir.CodeGenCommon.dll
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(69,19): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Manager/ServerConnector.cs(218,9): warning CS0162: Unreachable code detected [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2.cs(963,49): warning CS0618: 'FhirValueSet.ReferencedByPaths' is obsolete: 'Will be removing this in favor of ReferencingElementsByPath in the future' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(1169,17): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(1172,61): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(61,69): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(102,28): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(3048,18): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoClass.cs(72,33): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoClass.cs(109,28): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1970,23): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.IncludeBase' is never assigned to, and will always have its default value false [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1971,25): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.GenericHint' is never assigned to, and will always have its default value null [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1969,25): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.Alias' is never assigned to, and will always have its default value null [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
Microsoft.Health.Fhir.SpecManager -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/bin/Debug/net6.0/Microsoft.Health.Fhir.SpecManager.dll
CSC : warning SA0001: XML comment analysis is disabled due to project configuration [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj]
fhir-codegen-cli -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/bin/Debug/net6.0/fhir-codegen-cli.dll
fhir-codegen-test-cli -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-test-cli/bin/Debug/net6.0/fhir-codegen-test-cli.dll
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/Services/SpecManagerWebService.cs(138,66): warning CS8601: Possible null reference assignment. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/Pages/ViewPackageElements.razor(665,24): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj]
FhirCodeGenBlazor -> /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/bin/Debug/net6.0/FhirCodeGenBlazor.dll
Build succeeded.
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(69,19): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Manager/ServerConnector.cs(218,9): warning CS0162: Unreachable code detected [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2.cs(963,49): warning CS0618: 'FhirValueSet.ReferencedByPaths' is obsolete: 'Will be removing this in favor of ReferencingElementsByPath in the future' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(1169,17): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(1172,61): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(61,69): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoJsonConverter.cs(102,28): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs(3048,18): warning CS0618: 'FhirVersionInfo.MajorVersion' is obsolete: 'R4B made major versions as integers tricky, use FhirSequence' [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoClass.cs(72,33): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Models/FhirExpandoClass.cs(109,28): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1970,23): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.IncludeBase' is never assigned to, and will always have its default value false [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1971,25): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.GenericHint' is never assigned to, and will always have its default value null [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Language/TypeScript2.cs(1969,25): warning CS0649: Field 'TypeScript2.GenericTypeHintInfo.Alias' is never assigned to, and will always have its default value null [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj]
CSC : warning SA0001: XML comment analysis is disabled due to project configuration [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/Services/SpecManagerWebService.cs(138,66): warning CS8601: Possible null reference assignment. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj]
/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/Pages/ViewPackageElements.razor(665,24): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj]
16 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.19
[~/projects/fhir-dts-generator/fhir-codegen] rm -rf ~/.fhir
[~/projects/fhir-dts-generator/fhir-codegen] dotnet src/fhir-codegen-cli/bin/Debug/net6.0/fhir-codegen-cli.dll --official-expansions-only true --export-types "primitive|complex|resource" --verbose true --language TypeScript
Starting FhirCacheService...
<<< using cache directory: /Users/bkaney/.fhir
<< cache contains 0 packages
Starting FhirManager...
GetPackageVersionsAndUrls <<< Package http://packages2.fhir.org/packages/hl7.fhir.r2.expansions contains NO versions
LoadCached <<< Loaded and Parsed FHIR DSTU2
Loaded hl7.fhir.r2.core#latest as hl7.fhir.r2.core version 1.0.2
GetPackageVersionsAndUrls <<< Package http://packages2.fhir.org/packages/hl7.fhir.r3.expansions contains NO versions
LoadCached <<< Loaded and Parsed FHIR STU3 with 0 errors and 1 warnings
Errors (only able to pass with manual code changes)
Warnings (able to pass, but should be reviewed)
- CodeSystem SNOMED_CT (snomedct): Duplicate proprety found: Laterality
Loaded hl7.fhir.r3.core#latest as hl7.fhir.r3.core version 3.0.2
GetPackageVersionsAndUrls <<< Package http://packages2.fhir.org/packages/hl7.fhir.r4.expansions contains NO versions
LoadCached <<< Loaded and Parsed FHIR R4 with 0 errors and 1 warnings
Errors (only able to pass with manual code changes)
Warnings (able to pass, but should be reviewed)
- CodeSystem SNOMED_CT (snomedct): Duplicate proprety found: Laterality
Loaded hl7.fhir.r4.core#latest as hl7.fhir.r4.core version 4.0.1
GetPackageVersionsAndUrls <<< Failed to get package info: NotFound http://packages.fhir.org/hl7.fhir.r4b.core
TryDownloadAndExtract <<< exception downloading: http://packages.fhir.org/hl7.fhir.r4b.core/4.1.0/, One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
<<< inner: Response status code does not indicate success: 404 (Not Found).
TryDownloadAndExtract <<< exception downloading: http://packages2.fhir.org/packages/hl7.fhir.r4b.core/4.1.0/, One or more errors occurred. (Response status code does not indicate success: 500 (Internal Server Error).)
<<< inner: Response status code does not indicate success: 500 (Internal Server Error).
GetPackageVersionsAndUrls <<< Failed to get package info: NotFound http://packages.fhir.org/hl7.fhir.r4b.expansions
TryDownloadAndExtract <<< exception downloading: http://packages.fhir.org/hl7.fhir.r4b.expansions/4.1.0/, One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
<<< inner: Response status code does not indicate success: 404 (Not Found).
TryDownloadAndExtract <<< exception downloading: http://packages2.fhir.org/packages/hl7.fhir.r4b.expansions/4.1.0/, One or more errors occurred. (Response status code does not indicate success: 500 (Internal Server Error).)
<<< inner: Response status code does not indicate success: 500 (Internal Server Error).
LoadCached <<< Loaded and Parsed FHIR R4B with 1 errors and 1 warnings
Errors (only able to pass with manual code changes)
- CodeSystem StatisticsCode (observation-statistics): Status field missing
Warnings (able to pass, but should be reviewed)
- CodeSystem SNOMED_CT (snomedct): Duplicate proprety found: Laterality
Loaded hl7.fhir.r4b.core#latest as hl7.fhir.r4b.core version 3.0.1
GetPackageVersionsAndUrls <<< Failed to get package info: NotFound http://packages.fhir.org/hl7.fhir.r5.core
TryDownloadAndExtract <<< exception downloading: http://packages.fhir.org/hl7.fhir.r5.core/5.0.0-ballot/, One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
<<< inner: Response status code does not indicate success: 404 (Not Found).
TryDownloadAndExtract <<< exception downloading: http://packages2.fhir.org/packages/hl7.fhir.r5.core/5.0.0-ballot/, One or more errors occurred. (Response status code does not indicate success: 500 (Internal Server Error).)
<<< inner: Response status code does not indicate success: 500 (Internal Server Error).
GetPackageVersionsAndUrls <<< Failed to get package info: NotFound http://packages.fhir.org/hl7.fhir.r5.expansions
TryDownloadAndExtract <<< exception downloading: http://packages.fhir.org/hl7.fhir.r5.expansions/5.0.0-ballot/, One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
<<< inner: Response status code does not indicate success: 404 (Not Found).
TryDownloadAndExtract <<< exception downloading: http://packages2.fhir.org/packages/hl7.fhir.r5.expansions/5.0.0-ballot/, One or more errors occurred. (Response status code does not indicate success: 500 (Internal Server Error).)
<<< inner: Response status code does not indicate success: 500 (Internal Server Error).
LoadCached <<< Loaded and Parsed FHIR R5 with 2 errors and 2 warnings
Errors (only able to pass with manual code changes)
- StructureDefinition expectation (capabilitystatement-expectation) unhandled context type: extension
- StructureDefinition fmm (structuredefinition-conformance-derivedFrom) unhandled context type: fhirpath
Warnings (able to pass, but should be reviewed)
- ValueSet FHIRTypes renamed to FHIRAllTypes
- ValueSet ResourceTypes renamed to ResourceType
Loaded hl7.fhir.r5.core#latest as hl7.fhir.r5.core version 5.0.0-ballot
+ /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/generated/TypeScript_DSTU2.ts
+ /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/generated/TypeScript_STU3.ts
+ /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/generated/TypeScript_R4.ts
+ /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/generated/TypeScript_R4B.ts
+ /Users/bkaney/projects/fhir-dts-generator/fhir-codegen/generated/TypeScript_R5.ts
Done! Loading: 27.383s, Total: 28.872s
*[~/projects/fhir-dts-generator/fhir-codegen] head ./generated/TypeScript_R4B.ts
// <auto-generated/>
// Contents of: hl7.fhir.r4b.core version: 3.0.1
// Primitive Naming Style: None
// Complex Type / Resource Naming Style: PascalCase
// Interaction Naming Style: None
// Extension Support: NonPrimitive
// Minimum TypeScript Version: 3.7
/**
* An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.
*/
*[~/projects/fhir-dts-generator/fhir-codegen] grep -A10 "export interface Substance extends" ./generated/TypeScript_R4B.ts
export interface Substance extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Substance';
/**
* The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in Substance.code.
*/
category?: CodeableConcept[] | undefined;
/**
* This could be a reference to an externally defined code. It could also be a locally assigned code (e.g. a formulary), optionally with translations to the standard drug codes.
*/
code: CodeableReference;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment