Skip to content

Commit de00000

Browse files
Merge pull request #1685 from FirelyTeam/feature/make-some-nav-extensions-public
Made some extensions of ElementDefinitionNavigator public (for R3)
2 parents 3fba5d0 + b07fa1f commit de00000

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Hl7.Fhir.Specification/Validation/ElementDefinitionNavigatorExtensions.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212

1313
namespace Hl7.Fhir.Validation
1414
{
15-
16-
internal static class ElementDefinitionNavigatorExtensions
15+
public static class ElementDefinitionNavigatorExtensions
1716
{
18-
public static string GetFhirPathConstraint(this ElementDefinition.ConstraintComponent cc)
17+
internal static string GetFhirPathConstraint(this ElementDefinition.ConstraintComponent cc)
1918
{
2019
// This was required for 3.0.0, but was rectified in the 3.0.1 technical update
2120
//if (cc.Key == "ele-1")
@@ -37,7 +36,7 @@ public static bool IsResourcePlaceholder(this ElementDefinition ed)
3736

3837
public static bool IsSlicing(this ElementDefinitionNavigator nav) => nav.Current.Slicing != null;
3938

40-
public static string ConstraintDescription(this ElementDefinition.ConstraintComponent cc)
39+
internal static string ConstraintDescription(this ElementDefinition.ConstraintComponent cc)
4140
{
4241
var desc = cc.Key;
4342

0 commit comments

Comments
 (0)