-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DotLiquid] Add TraceInfo for HL7 v2 conversion #123
Conversation
6fbfcb9
to
a365ccc
Compare
src/Microsoft.Health.Fhir.Liquid.Converter/Hl7v2/Models/UnusedHl7v2Field.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Health.Fhir.Liquid.Converter.Tool/ConverterLogicHandler.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Health.Fhir.Liquid.Converter/Hl7v2/Models/Hl7v2TraceInfo.cs
Outdated
Show resolved
Hide resolved
@@ -7,7 +7,7 @@ namespace Microsoft.Health.Fhir.Liquid.Converter.Models | |||
{ | |||
/// <summary> | |||
/// TraceInfo records processing details during conversion. | |||
/// It is going to be implemented in coming releases. | |||
/// For HL7 v2 conversion, please use its inherited class Hl7v2TraceInfo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also consider ccda case if any shared field or method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, would it be better if we simplify the output to "UnusedLines" and "UnusedIntervals" and make them shared for both HL7 v2 and CCDA?
src/Microsoft.Health.Fhir.Liquid.Converter/Hl7v2/Models/UnusedHl7v2Component.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…icrosoft/FHIR-Converter into personal/boywu/unused-segments
Description
Add TraceInfo for HL7 v2 conversion. If (a)
-t
is specified in command-line tool or (b)Hl7v2TraceInfo
is passed in conversion interface, TraceInfo will be provided along with conversion result. Currently, TraceInfo contains unused segments.Some other changes in this PR:
ConverterLogicHandler
, as the one in template management.RenderParameters.FromContext
which is provided directly in DotLiquid.SafeList
enumerable..editorconfig
in solution items, as suggested by IDE.Related issues
Addresses [issue #].
Testing
Describe how this change was tested.