Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAT-7529 return code system url as well #116

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading