Skip to content

Commit

Permalink
Merge pull request #116 from MeasureAuthoringTool/MAT-7529
Browse files Browse the repository at this point in the history
MAT-7529 return code system url as well
  • Loading branch information
adongare authored Dec 30, 2024
2 parents 5e25507 + c96d3ed commit 5780428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/gov/cms/madie/terminology/dto/Code.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class Code {
private String svsVersion; // 'vsac' in the code-system-entry.json
private String codeSystem;
private String codeSystemOid;
private String codeSystemUrl;
private CodeStatus status;
private boolean versionIncluded;
}
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ private Code retrieveCodes(
.codeSystem(codeSystemName)
.fhirVersion(fhirVersion)
.svsVersion(vsacVersion)
.codeSystemUrl(codeSystem.getFullUrl())
.display(parameters.getParameter("display").getValue().toString())
.codeSystemOid(parameters.getParameter("Oid").getValue().toString())
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ void testGetCodesList() {
.fhirVersion("2.72")
.display("Bicarbonate [Moles/volume] in Serum")
.codeSystemOid("2.16.840.1.113883.6.1")
.codeSystemUrl("https://loinc.org")
.status(CodeStatus.valueOf("ACTIVE"))
.build();

Expand Down

0 comments on commit 5780428

Please sign in to comment.