diff --git a/HtmlDiff.core/HtmlDiff.core.csproj b/HtmlDiff.core/HtmlDiff.core.csproj new file mode 100644 index 0000000..434df17 --- /dev/null +++ b/HtmlDiff.core/HtmlDiff.core.csproj @@ -0,0 +1,31 @@ + + + + net45;netcoreapp2.2 + true + https://github.com/brianpos/htmldiff.net + https://github.com/brianpos/htmldiff.net/blob/master/license.txt + A library for comparing two HTML files/snippets and highlighting the differences using simple HTML. +(this is a fork of Rohland de Charmoy's HtmlDiff library, with lines of context to include, and compiled for netcore2/net45) + Brian Postlethwaite + https://github.com/brianpos/htmldiff.net + github + This is a slightly updated version that better supports XML diffs, with a context number of lines + + 1.2.0 + HtmlDiff + + + + + + + + + + + + + + + diff --git a/HtmlDiff.sln b/HtmlDiff.sln index f38dc82..b0247b8 100644 --- a/HtmlDiff.sln +++ b/HtmlDiff.sln @@ -1,12 +1,16 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 11 +# Visual Studio 15 +VisualStudioVersion = 15.0.27004.2006 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HtmlDiff", "HtmlDiff\HtmlDiff.csproj", "{186B7471-867E-4AE8-9BD2-1DDA8BF76BC0}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo", "Demo\Demo.csproj", "{8827AB5E-7C08-49DE-BF3C-C2D5B7AD4990}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.HtmlDiff", "Test.HtmlDiff\Test.HtmlDiff.csproj", "{87C1F5ED-A79B-410F-9BBF-4D113A1A0090}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HtmlDiff.core", "HtmlDiff.core\HtmlDiff.core.csproj", "{61B0724C-D7DE-485C-895F-4D651D1D186D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -17,16 +21,23 @@ Global {186B7471-867E-4AE8-9BD2-1DDA8BF76BC0}.Debug|Any CPU.Build.0 = Debug|Any CPU {186B7471-867E-4AE8-9BD2-1DDA8BF76BC0}.Release|Any CPU.ActiveCfg = Release|Any CPU {186B7471-867E-4AE8-9BD2-1DDA8BF76BC0}.Release|Any CPU.Build.0 = Release|Any CPU - {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Debug|Any CPU.Build.0 = Debug|Any CPU - {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Release|Any CPU.ActiveCfg = Release|Any CPU - {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Release|Any CPU.Build.0 = Release|Any CPU {8827AB5E-7C08-49DE-BF3C-C2D5B7AD4990}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8827AB5E-7C08-49DE-BF3C-C2D5B7AD4990}.Debug|Any CPU.Build.0 = Debug|Any CPU {8827AB5E-7C08-49DE-BF3C-C2D5B7AD4990}.Release|Any CPU.ActiveCfg = Release|Any CPU {8827AB5E-7C08-49DE-BF3C-C2D5B7AD4990}.Release|Any CPU.Build.0 = Release|Any CPU + {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Debug|Any CPU.Build.0 = Debug|Any CPU + {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Release|Any CPU.ActiveCfg = Release|Any CPU + {87C1F5ED-A79B-410F-9BBF-4D113A1A0090}.Release|Any CPU.Build.0 = Release|Any CPU + {61B0724C-D7DE-485C-895F-4D651D1D186D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {61B0724C-D7DE-485C-895F-4D651D1D186D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {61B0724C-D7DE-485C-895F-4D651D1D186D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {61B0724C-D7DE-485C-895F-4D651D1D186D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BDE3B067-BFB3-4D49-AD39-C7A0D4491B59} + EndGlobalSection EndGlobal diff --git a/HtmlDiff/Diff.cs b/HtmlDiff/Diff.cs index 7a2633b..d2301e7 100644 --- a/HtmlDiff/Diff.cs +++ b/HtmlDiff/Diff.cs @@ -64,6 +64,23 @@ public class HtmlDiff /// public bool IgnoreWhitespaceDifferences { get; set; } + /// + /// If greater than 0, the text will be broken into div sections that contain + /// the number of lines before and after each change. + /// Where changes are closer than the context, a new section is not started, and all content output + /// If there are no changes, then a null string is returned. + /// + /// LinesContext = 1 // Only the line with the change is returned + /// LinesContext = 4 // The line with the change is returned and up to 3 lines before and after + public int LinesContext { get; set; } + + /// + /// When using the Context option, the name of the class that is injected into the groupers + /// + /// If LinesContext is provided, and no ContextSelectionClass is + /// + public string ContextSectionClass { get; set; } + /// /// If some match is too small and located far from its neighbors then it is considered as orphan /// and removed. For example: @@ -92,6 +109,7 @@ public class HtmlDiff public HtmlDiff(string oldText, string newText) { RepeatingWordsAccuracy = 1d; //by default all repeating words should be compared + ContextSectionClass = "diffsection"; _oldText = oldText; _newText = newText; @@ -107,7 +125,7 @@ public static string Execute(string oldText, string newText) } /// - /// Builds the HTML diff output + /// Builds the HTML diff output (Note: If there is a context specified and the content is equal, then null will be returned) /// /// HTML diff markup public string Build() @@ -115,6 +133,8 @@ public string Build() // If there is no difference, don't bother checking for differences if (_oldText == _newText) { + if (LinesContext > 0) + return null; return _newText; } @@ -124,14 +144,37 @@ public string Build() List operations = Operations(); - foreach (Operation item in operations) + if ((operations.Count == 0 || operations.Count == 1 && operations[0].Action == Action.Equal) && LinesContext > 0) + return null; + + if (operations.Count > 0 && operations[0].Action != Action.Equal && LinesContext > 0) + { + _startSectionAdded = true; + _content.AppendFormat("
\r\n", ContextSectionClass); + } + + bool changesAfter = false; + for (int nItem = 0; nItem < operations.Count; nItem++) { - PerformOperation(item); + Operation item = operations[nItem]; + changesAfter = false; + if (nItem + 1 < operations.Count && operations[nItem + 1].Action != Action.Equal) + changesAfter = true; + PerformOperation(item, changesAfter); } + // Put in an end section + if (LinesContext > 0 && _startSectionAdded) + _content.Append("
\r\n\r\n"); + + // Remove any empty sections + if (LinesContext > 0) + _content.Replace(String.Format("
\r\n
\r\n\r\n", ContextSectionClass), ""); return _content.ToString(); } + bool _startSectionAdded = false; + /// /// Uses to group text together so that any change detected within the group is treated as a single block /// @@ -154,16 +197,16 @@ private void SplitInputsToWords() _newText = null; } - private void PerformOperation(Operation operation) + private void PerformOperation(Operation operation, bool changesAfter) { #if DEBUG - operation.PrintDebugInfo(_oldWords, _newWords); + // operation.PrintDebugInfo(_oldWords, _newWords); #endif switch (operation.Action) { case Action.Equal: - ProcessEqualOperation(operation); + ProcessEqualOperation(operation, changesAfter); break; case Action.Delete: ProcessDeleteOperation(operation, "diffdel"); @@ -197,11 +240,55 @@ private void ProcessDeleteOperation(Operation operation, string cssClass) InsertTag("del", cssClass, text); } - private void ProcessEqualOperation(Operation operation) + private void ProcessEqualOperation(Operation operation, bool changesAfter) { string[] result = _newWords.Where((s, pos) => pos >= operation.StartInNew && pos < operation.EndInNew).ToArray(); - _content.Append(String.Join("", result)); + if (LinesContext > 0) + { + int linesInSection = result.Count(m => m.StartsWith("\r\n")); + if (linesInSection > LinesContext * 2) // Only put breaks in if the gap is bigger than the size of the content + { + // Need to split the context down. + int lines=0; + foreach (var item in result) + { + if (lines < LinesContext || lines > linesInSection-LinesContext) + _content.Append(item); + if (item.StartsWith("\r\n")) + lines++; + + // Close the previous context + if (lines == LinesContext && _startSectionAdded) + { + _startSectionAdded = false; + _content.Append(" \r\n\r\n"); + if (!changesAfter) + return; + } + + // Now start the new context + if (lines == linesInSection - LinesContext && !_startSectionAdded) + { + _startSectionAdded = true; + _content.AppendFormat("
\r\n", ContextSectionClass); + } + } + } + else + { + if (!_startSectionAdded) + { + _startSectionAdded = true; + _content.AppendFormat("
\r\n", ContextSectionClass); + } + _content.Append(String.Join("", result)); + } + } + else + { + _content.Append(String.Join("", result)); + } } diff --git a/HtmlDiff/HtmlDiff.csproj b/HtmlDiff/HtmlDiff.csproj index 0649a11..fe87f7b 100644 --- a/HtmlDiff/HtmlDiff.csproj +++ b/HtmlDiff/HtmlDiff.csproj @@ -59,6 +59,11 @@ + + True + True + Resources.resx + @@ -67,6 +72,12 @@ Designer + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">resource</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">Questionnaire</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>demo-scoring</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">meta</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">versionId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">lastUpdated</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2016-03-25T08:41:54.54+11:00</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">meta</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">status</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>generated</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">div</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"> + <SPAN class="b"> </SPAN> <SPAN class="m">&lt;</SPAN><SPAN class="t"> + b</SPAN> + <SPAN class="m">&gt;</SPAN><SPAN class="tx"> + Scoring Demonstation to test DIFF display</SPAN><SPAN class="m">&lt;/</SPAN> + <SPAN class="t"> + b</SPAN><SPAN class="m">&gt;</SPAN> + </DIV></DIV> + +<DIV class="e"><SPAN class="b"> </SPAN><SPAN class="tx"> + (new line of content) + </SPAN></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">div</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">text</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7b4df9d4-476c-4af5-a1f3-78d664ec7541</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>bd2280ae-e821-476b-bed7-ea8aba2985aa</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Y</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Yes</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>N</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>No</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">codeSystem</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">ValueSet</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">contained</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>c3b93195-3959-4958-b5b1-408e62bccad2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>f69573b8-cb63-4d31-85a4-23ac784735ab</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Never</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Once/twice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em...desire or urge to use tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#adf39cde-6d81-4300-a393-0acc09913fb5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>During the past three months how often has your use of tobacco led to health, social, legal or financial problems?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#3e01a1d0-b7d3-4afe-83c1-f97747f24124</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Has a friend or relative or anyone else ever expressed concern about your use of tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#89b76c96-5dc7-4fe1-a339-e043a571e0fb</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Have you ever tried and failed to control, cut down or stop using tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#f8973a4d-3812-4c00-a0ef-099083902442</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-aggregate</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">valueCoding</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>sum</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">valueCoding</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>calculatedscore</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Total</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>decimal</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">group</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">Questionnaire</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">resource</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">request</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">method</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>PUT</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">url</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Questionnaire/demo-scoring/_history/8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">request</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">entry</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">resource</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">Questionnaire</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>demo-scoring</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">meta</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">versionId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">lastUpdated</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2016-03-25T08:38:03.667+11:00</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">meta</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">status</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>generated</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">div</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"> + <SPAN class="b"> </SPAN> <SPAN class="m">&lt;</SPAN><SPAN class="t"> + b</SPAN> + <SPAN class="m">&gt;</SPAN><SPAN class="tx"> + Scoring Demonstation to test DIFF display</SPAN><SPAN class="m">&lt;/</SPAN> + <SPAN class="t"> + b</SPAN><SPAN class="m">&gt;</SPAN> + </DIV></DIV> + +<DIV class="e"><SPAN class="b"> </SPAN><SPAN class="tx"> + (new line of content) + </SPAN></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">div</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">text</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7b4df9d4-476c-4af5-a1f3-78d664ec7541</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>bd2280ae-e821-476b-bed7-ea8aba2985aa</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Y</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Yes</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>N</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>No</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>-1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>M</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Maybe</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">codeSystem</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">ValueSet</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">contained</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>c3b93195-3959-4958-b5b1-408e62bccad2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>f69573b8-cb63-4d31-85a4-23ac784735ab</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Never</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><...desire or urge to use tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#adf39cde-6d81-4300-a393-0acc09913fb5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>During the past three months how often has your use of tobacco led to health, social, legal or financial problems?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#3e01a1d0-b7d3-4afe-83c1-f97747f24124</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Has a friend or relative or anyone else ever expressed concern about your use of tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#89b76c96-5dc7-4fe1-a339-e043a571e0fb</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Have you ever tried and failed to control, cut down or stop using tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#f8973a4d-3812-4c00-a0ef-099083902442</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-aggregate</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">valueCoding</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>sum</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">valueCoding</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>calculatedscore</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Total</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>decimal</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">group</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">Questionnaire</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">resource</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">request</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">method</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>PUT</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">url</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Questionnaire/demo-scoring/_history/7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">request</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">entry</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + \ No newline at end of file diff --git a/HtmlDiff/WordSplitter.cs b/HtmlDiff/WordSplitter.cs index c0790e8..43bcdee 100644 --- a/HtmlDiff/WordSplitter.cs +++ b/HtmlDiff/WordSplitter.cs @@ -20,6 +20,9 @@ public static string[] ConvertHtmlToListOfWords(string text, List blockEx var currentWord = new List(); var words = new List(); + if (String.IsNullOrEmpty(text)) + return words.ToArray(); + Dictionary blockLocations = FindBlocks(text, blockExpressions); bool isBlockCheckRequired = blockLocations.Any(); diff --git a/Test.HtmlDiff/ContextBasedDiffTests.cs b/Test.HtmlDiff/ContextBasedDiffTests.cs new file mode 100644 index 0000000..05600e8 --- /dev/null +++ b/Test.HtmlDiff/ContextBasedDiffTests.cs @@ -0,0 +1,128 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Test.HtmlDiff.Properties; + +namespace Test.HtmlDiff +{ + [TestClass] + public class ContextBasedDiffTests + { + private string GenerateTestData(bool withMods, int items=30) + { + StringBuilder sb = new StringBuilder(); + for (int nItem = 0; nItem < items; nItem++) + { + if (nItem % 10 == 0 && withMods) + sb.AppendLine(String.Format("
Changed Line {0}
", nItem)); + else + sb.AppendLine(String.Format("
Line {0}
", nItem)); + } + return sb.ToString(); + } + + [TestMethod] + public void NoContextDiff() + { + string original = GenerateTestData(false); + var diff = new global::HtmlDiff.HtmlDiff(original, GenerateTestData(true)); + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(original.Split('\n').Count(), result.Split('\n').Count(), "Should be 31 lines in the diff"); + } + + [TestMethod] + public void TwoLineContextWithNoDiff() + { + string original = GenerateTestData(false); + var diff = new global::HtmlDiff.HtmlDiff(original, original); + diff.LinesContext = 2; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.IsNull(result, "No document should be returned"); + } + + [TestMethod] + public void NoContextWithNoDiff() + { + string original = GenerateTestData(false); + var diff = new global::HtmlDiff.HtmlDiff(original, original); + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(original, result, "Documents should be the same"); + } + + [TestMethod] + public void OneLineContextDiff() + { + var diff = new global::HtmlDiff.HtmlDiff(GenerateTestData(false), GenerateTestData(true)); + diff.LinesContext = 1; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(13, result.Split('\n').Count(), "Should be 13 lines in the diff"); + // There were some extra spaces put into the diff itself + } + + [TestMethod] + public void ThreeLineContextDiff() + { + var diff = new global::HtmlDiff.HtmlDiff(GenerateTestData(false), GenerateTestData(true)); + diff.LinesContext = 3; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(23, result.Split('\n').Count(), "Should be 23 lines in the diff"); + } + + [TestMethod] + public void OneSideEmptyContextDiff() + { + var diff = new global::HtmlDiff.HtmlDiff(GenerateTestData(false), String.Empty); + diff.LinesContext = 3; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(34, result.Split('\n').Count(), "Should be 34 lines in the diff"); + } + + [TestMethod] + public void OneSideNullContextDiff() + { + var diff = new global::HtmlDiff.HtmlDiff(GenerateTestData(false), null); + diff.LinesContext = 3; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(34, result.Split('\n').Count(), "Should be 34 lines in the diff"); + } + + [TestMethod] + public void ThreeLineContextDiffEndChange() + { + var diff = new global::HtmlDiff.HtmlDiff(GenerateTestData(false,31), GenerateTestData(true,31)); + diff.LinesContext = 3; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(29, result.Split('\n').Count(), "Should be 23 lines in the diff"); + } + + [TestMethod] + public void LargeThreeLineContextChange() + { + var diff = new global::HtmlDiff.HtmlDiff(Resources.String1, Resources.String2); + diff.LinesContext = 3; + string result = diff.Build(); + System.Diagnostics.Trace.WriteLine("----------------------"); + System.Diagnostics.Trace.WriteLine(result); + Assert.AreEqual(74, result.Split('\n').Count(), "Should be 23 lines in the diff"); + } + } +} + diff --git a/Test.HtmlDiff/Properties/Resources.Designer.cs b/Test.HtmlDiff/Properties/Resources.Designer.cs new file mode 100644 index 0000000..392d2fa --- /dev/null +++ b/Test.HtmlDiff/Properties/Resources.Designer.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Test.HtmlDiff.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Test.HtmlDiff.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + /// <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/8</B><SPAN class="m"> [rest of string was truncated]";. + /// + internal static string String1 { + get { + return ResourceManager.GetString("String1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + /// <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/7</B><SPAN class="m"> [rest of string was truncated]";. + /// + internal static string String2 { + get { + return ResourceManager.GetString("String2", resourceCulture); + } + } + } +} diff --git a/Test.HtmlDiff/Properties/Resources.resx b/Test.HtmlDiff/Properties/Resources.resx new file mode 100644 index 0000000..65ba180 --- /dev/null +++ b/Test.HtmlDiff/Properties/Resources.resx @@ -0,0 +1,584 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">resource</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">Questionnaire</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>demo-scoring</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">meta</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">versionId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">lastUpdated</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2016-03-25T08:41:54.54+11:00</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">meta</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">status</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>generated</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">div</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"> + <SPAN class="b"> </SPAN> <SPAN class="m">&lt;</SPAN><SPAN class="t"> + b</SPAN> + <SPAN class="m">&gt;</SPAN><SPAN class="tx"> + Scoring Demonstation to test DIFF display</SPAN><SPAN class="m">&lt;/</SPAN> + <SPAN class="t"> + b</SPAN><SPAN class="m">&gt;</SPAN> + </DIV></DIV> + +<DIV class="e"><SPAN class="b"> </SPAN><SPAN class="tx"> + (new line of content) + </SPAN></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">div</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">text</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7b4df9d4-476c-4af5-a1f3-78d664ec7541</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>bd2280ae-e821-476b-bed7-ea8aba2985aa</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Y</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Yes</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>N</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>No</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">codeSystem</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">ValueSet</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">contained</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>c3b93195-3959-4958-b5b1-408e62bccad2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>f69573b8-cb63-4d31-85a4-23ac784735ab</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Never</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Once/twice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em...desire or urge to use tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#adf39cde-6d81-4300-a393-0acc09913fb5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>During the past three months how often has your use of tobacco led to health, social, legal or financial problems?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#3e01a1d0-b7d3-4afe-83c1-f97747f24124</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Has a friend or relative or anyone else ever expressed concern about your use of tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#89b76c96-5dc7-4fe1-a339-e043a571e0fb</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Have you ever tried and failed to control, cut down or stop using tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#f8973a4d-3812-4c00-a0ef-099083902442</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-aggregate</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">valueCoding</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>sum</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">valueCoding</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>calculatedscore</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Total</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>decimal</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">group</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">Questionnaire</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">resource</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">request</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">method</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>PUT</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">url</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Questionnaire/demo-scoring/_history/8</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">request</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">entry</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e" xmlns:fhir="http://hl7.org/fhir"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">entry</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">fullUrl</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>https://localhost:44346/fhir/Questionnaire/demo-scoring/_history/7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">resource</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">Questionnaire</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>demo-scoring</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">meta</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">versionId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">lastUpdated</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2016-03-25T08:38:03.667+11:00</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">meta</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">status</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>generated</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">div</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"> + <SPAN class="b"> </SPAN> <SPAN class="m">&lt;</SPAN><SPAN class="t"> + b</SPAN> + <SPAN class="m">&gt;</SPAN><SPAN class="tx"> + Scoring Demonstation to test DIFF display</SPAN><SPAN class="m">&lt;/</SPAN> + <SPAN class="t"> + b</SPAN><SPAN class="m">&gt;</SPAN> + </DIV></DIV> + +<DIV class="e"><SPAN class="b"> </SPAN><SPAN class="tx"> + (new line of content) + </SPAN></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">div</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">text</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>7b4df9d4-476c-4af5-a1f3-78d664ec7541</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>bd2280ae-e821-476b-bed7-ea8aba2985aa</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Y</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Yes</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>N</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>No</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>-1</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>M</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Maybe</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">codeSystem</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">ValueSet</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">contained</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">contained</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">ValueSet</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">id</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>c3b93195-3959-4958-b5b1-408e62bccad2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">name</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">codeSystem</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">system</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>f69573b8-cb63-4d31-85a4-23ac784735ab</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>0</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Never</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">concept</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">concept</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-weightedValue</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueDecimal</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">abstract</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><...desire or urge to use tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#adf39cde-6d81-4300-a393-0acc09913fb5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>During the past three months how often has your use of tobacco led to health, social, legal or financial problems?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#3e01a1d0-b7d3-4afe-83c1-f97747f24124</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Has a friend or relative or anyone else ever expressed concern about your use of tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#89b76c96-5dc7-4fe1-a339-e043a571e0fb</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Have you ever tried and failed to control, cut down or stop using tobacco?</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>choice</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">repeats</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>false</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">options</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">reference</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>#f8973a4d-3812-4c00-a0ef-099083902442</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">display</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>TobaccoQ7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">options</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">question</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>http://standards.healthconnex.com.au/fhir/StructureDefinition/Questionnaire-hcx-aggregate</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q2</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q3</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q4</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q5</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">extension</SPAN><SPAN class="t">url</SPAN><SPAN class="m">="</SPAN><B>question</B><SPAN class="m">"</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">valueString</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>q6</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">valueCoding</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">code</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>sum</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">valueCoding</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">extension</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + +<DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">linkId</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>calculatedscore</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">text</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Total</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">type</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>decimal</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">question</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">group</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">Questionnaire</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">resource</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV class="e"><DIV class="c" STYLE="margin-left:1em;text-indent:-2em"><span class="b"> </span> <SPAN class="m">&lt;</SPAN><SPAN class="t">request</SPAN> <SPAN class="m">&gt;</SPAN></DIV><DIV> + <DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">method</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>PUT</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV><DIV class="e"><DIV STYLE="margin-left:1em;text-indent:-2em"><SPAN class="b"> </SPAN><SPAN class="m">&lt;</SPAN><SPAN class="t">url</SPAN><SPAN class="t">value</SPAN><SPAN class="m">="</SPAN><B>Questionnaire/demo-scoring/_history/7</B><SPAN class="m">"</SPAN><SPAN class="m">/&gt;</SPAN></DIV></DIV> + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">request</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + + <DIV><SPAN class="b"> </SPAN> <SPAN class="m">&lt;/</SPAN><SPAN class="t">entry</SPAN><SPAN class="m">&gt;</SPAN></DIV> + </DIV></DIV> + + \ No newline at end of file diff --git a/Test.HtmlDiff/Test.HtmlDiff.csproj b/Test.HtmlDiff/Test.HtmlDiff.csproj index cec42ff..cf0ecd5 100644 --- a/Test.HtmlDiff/Test.HtmlDiff.csproj +++ b/Test.HtmlDiff/Test.HtmlDiff.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,8 +10,9 @@ Properties Test.HtmlDiff Test.HtmlDiff - v4.0 + v4.6.1 512 + true @@ -21,6 +22,7 @@ DEBUG;TRACE prompt 4 + false pdbonly @@ -29,8 +31,10 @@ TRACE prompt 4 + false + ..\Dependencies\nunit.framework.dll @@ -44,14 +48,29 @@ + + + True + True + Resources.resx + - - {186B7471-867E-4AE8-9BD2-1DDA8BF76BC0} - HtmlDiff + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + {61b0724c-d7de-485c-895f-4d651d1d186d} + HtmlDiff.core