Граф коммитов

1012 Коммитов

Автор SHA1 Сообщение Дата
mmsmits 40e04b9d6c removed cardinality attribute from Binary.content 2024-07-22 17:50:34 +02:00
Marten Smits f6cb5c9ea6
Merge pull request #39 from FirelyTeam/new-code-generator
Refactor of the code generator
2024-07-18 10:14:21 +02:00
Gino Canessa 422d41d207 UI Cross version comparison improvements. 2024-07-17 16:52:25 -05:00
Gino Canessa 200e8cb10a UI Work
Package Loading via directory support.
Comparison includes extensions.
Comparison includes source items that do not have a matching target.
2024-07-17 16:41:27 -05:00
Ewout Kramer 2f71d633b5 Merge branch 'use-any-for-list-props' into new-code-generator
# Conflicts:
#	src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2.cs
#	src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirely2IG.cs
#	src/Microsoft.Health.Fhir.SpecManager/Language/CSharpFirelyCommon.cs
#	src/Microsoft.Health.Fhir.SpecManager/Manager/FhirPackageCommon.cs
#	src/Microsoft.Health.Fhir.SpecManager/Microsoft.Health.Fhir.SpecManager.csproj
#	src/fhir-codegen-cli/Properties/launchSettings.json
2024-07-17 18:02:30 +02:00
Gino Canessa 516fb0fd84 WIP checkpoint - working on UI. 2024-07-16 17:01:48 -05:00
Gino Canessa 59d5e27ed4 WIP checkpoint - UI installed package list. 2024-07-16 12:41:42 -05:00
Gino Canessa 9bab126816
Merge pull request #156 from brianpos/experimental-brian2
👍
2024-07-15 10:17:24 -05:00
Brian Postlethwaite 558c6f40fa Update the dictionary initializer to be compatible with netstandard 2024-07-15 18:51:39 +10:00
Brian Postlethwaite 602ae4fbdd Merge branch 'experimental' of https://github.com/microsoft/fhir-codegen into experimental-brian2 2024-07-15 18:43:55 +10:00
Brian Postlethwaite 5389b8934c Update the cache ini file handling to add in the section if it doesn't alreaedy exist (corrects some null ref issues) 2024-07-15 18:21:20 +10:00
Brian Postlethwaite fec48a5902 Support first/last fhirpath expressions
Additional test to ensure that type casting is to a supported property type.
2024-07-15 17:07:35 +10:00
Brian Postlethwaite c15d4c9e39 Include the element's type information in the DebugString 2024-07-15 13:13:41 +10:00
Brian Postlethwaite 04fe58b667 Resolve a couple of compiler warnings 2024-07-15 13:13:05 +10:00
Brian Postlethwaite 96750afdac Support source -> target type compatibility checking 2024-07-15 12:38:53 +10:00
Gino Canessa e32fd30f5c WIP Checkpoint - working on UI and testing additions for Firely.Packages. 2024-07-12 16:47:17 -05:00
Brian Postlethwaite 9757ac6490 Implement the duplicate <<type>> map testing 2024-07-12 11:50:30 +10:00
Brian Postlethwaite c47fc98463 Minor test refactoring 2024-07-12 11:49:51 +10:00
Gino Canessa 0074097dc3 Code cleanup. 2024-07-11 15:38:15 -05:00
Gino Canessa a052f65a53 Removed old (unused) test projects. 2024-07-11 11:33:36 -05:00
Gino Canessa a8f457d207 Multi-targeting of all libraries for .Net 8 and NetStandard 2.0. 2024-07-11 11:32:41 -05:00
Gino Canessa 57d9028b85 WIP - CodeGenCommon multitargets .Net 8 and NetStandard 2.0 2024-07-11 09:38:03 -05:00
Gino Canessa 8990e79818 Cleanup. 2024-07-11 08:52:55 -05:00
Gino Canessa 408b4be010 Fixing generated and unit tests.
Fix: TypeScript: do not use code values in comments for elements.
2024-07-11 08:45:05 -05:00
Brian Postlethwaite 99ef95a915 Datatype refactoring
Support for many invocation types
2024-07-11 17:49:03 +10:00
Brian Postlethwaite 14850f0f46 Add type casting
Add invocation type result handling (and the actual create function return type)
2024-07-11 16:25:34 +10:00
Brian Postlethwaite b4e340153e Include braces around the group body (in the console debug output) 2024-07-11 15:36:30 +10:00
Brian Postlethwaite 9fc3f96523 Rename the TypedParameter class to PropertyOrTypeDetails 2024-07-11 15:24:44 +10:00
Brian Postlethwaite 7dbfa367bd Refactor the invocation to a method and call from transform target rules.
Remove the `ID` from the `literal` in the grammar
transform name is an identifier, not a literal (was bug from grammar)
Write the literal to the debug output
Throw errors if the base variable isn't in the list of available variables (likely out of scope)
2024-07-11 12:48:44 +10:00
Brian Postlethwaite 0518b2d1cb Resolving an identifier should be done with the resolver that is appropriate for that identifier (source/target)
First pass of cleanup for invocation/transform code
2024-07-11 10:46:03 +10:00
Gino Canessa d059a81830 Added Firely.Packages.
Removed Microsoft.Health.Fhir.PackageManager.
Fix: Info: Was not checking in updated files.
Note: CI builds are currently not working.
2024-07-10 16:44:18 -05:00
Gino Canessa 217cceec8c
Merge pull request #155 from brianpos/experimental-brian2
Looks good - will continue testing here too.  Thanks!
2024-07-10 08:38:22 -05:00
Gino Canessa d2d459ae7a
Merge pull request #154 from FirelyTeam/last-finishing-touches
Looks great, thanks! There are a couple of tasks left before merging into `main` but aiming for this week yet.
2024-07-10 08:36:45 -05:00
Brian Postlethwaite c82d4177c5 Refactor the rule processing to better walk the source/target and capture more cases, including processing `then { ... }` style rules with multiple targets. 2024-07-10 22:28:36 +10:00
Ewout Kramer fc8682651c Added code to generate the "exceptional" datatypes
These are DataType, PrimitiveType, Extension, etc, which previously were hand-written classes.
2024-07-10 11:43:04 +02:00
Brian Postlethwaite f700236026 Refactor error reporting to a utility function
Add handling a the simple copy rule datatype processing checks
2024-07-10 17:14:00 +10:00
Gino Canessa f39ac672bd Updates to editor config. 2024-07-09 10:18:52 -05:00
Gino Canessa 057e1c477a
Merge pull request #152 from brianpos/experimental-brian2
Parsing corrections for the FML format and FML validation checking unit test
2024-07-09 08:53:00 -05:00
Brian Postlethwaite 56fdbfe226 Merge branch 'experimental' of https://github.com/microsoft/fhir-codegen into experimental-brian 2024-07-09 20:54:36 +10:00
Brian Postlethwaite 517fdb9c9b Initial validation implementation of StructureMap consistency rules
(while updating the real structuremaps)
2024-07-09 20:51:05 +10:00
Ewout Kramer b63455f645 Changed check from null check to Any() for lists. 2024-07-09 11:13:47 +02:00
Gino Canessa d0333fe953 Fixed: Firely: enum generation was not correcting the incorrect Unicode in the R4B Currency value set for the C# comment. 2024-07-08 11:32:23 -05:00
Gino Canessa 38cc3f8d31 Removed CSharpFirely v1 from tracking (no longer supported).
Fixed: Firely: Ordering issue in ElementDefinition.constraint properties.
Fixed: Firely: Issue in IMetadataResource mapping to MedicationKnowledge (author element).
Improved comments and descriptions for FhirArtifactClassEnum.
2024-07-08 11:18:29 -05:00
Brian Postlethwaite 2868dd15ce Parsing corrections for the FML format 2024-07-08 23:14:25 +10:00
Gino Canessa 2b77ee5f59 Setting up icon support. 2024-07-05 17:21:21 -05:00
Gino Canessa 27d062adc2 Cleanup towards merging into main branch.
Updated NuGet packages.
Resolved compiler warnings.
2024-07-05 15:57:10 -05:00
Gino Canessa 28a50a3e6f Fixing typos... 2024-07-05 15:17:22 -05:00
Gino Canessa f4ac3828d7 First complete cut of Ruby export. 2024-07-05 13:19:46 -05:00
Gino Canessa 83910c11fd Comment cleaning 2024-07-03 13:53:29 -05:00
Gino Canessa 94908d6a29 Fixed Cross Version unit tests to use a relative directory instead of full path. 2024-07-03 12:29:39 -05:00