Skip to content

Commit

Permalink
Fix codegen tests for expected public CANONICAL_URL field
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek committed Oct 28, 2024
1 parent 37b6731 commit e818d82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion r5/profiles/TestComplexExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
public class TestComplexExtension extends PEGeneratedBase {

private static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-extension-complex|0.1";
public static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-extension-complex|0.1";

@Min("1") @Max("*") @Doco("Additional content defined by implementations")
@Definition("May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.")
Expand Down
2 changes: 1 addition & 1 deletion r5/profiles/TestDatatypeProfile.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
public class TestDatatypeProfile extends PEGeneratedBase {

private static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-profile2|0.1";
public static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-profile2|0.1";

@Min("1") @Max("2") @Doco("Code defined by a terminology system")
@Definition("A reference to a code defined by a terminology system.")
Expand Down
2 changes: 1 addition & 1 deletion r5/profiles/TestProfile.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
public class TestProfile extends PEGeneratedBase {

private static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-profile1|0.1";
public static final String CANONICAL_URL = "http://hl7.org/fhir/test/StructureDefinition/pe-profile1|0.1";

public enum ProfileObservationCategoryCode {
LABORATORY, // "Laboratory" = http://terminology.hl7.org/CodeSystem/observation-category#laboratory
Expand Down

0 comments on commit e818d82

Please sign in to comment.