Skip to content

Commit

Permalink
MAT-6856: Add VSAC SVS Version to DTO so that we can perform the look…
Browse files Browse the repository at this point in the history
…up once and store it on the object.
  • Loading branch information
jkotanchik-SB committed May 10, 2024
1 parent 89a640e commit 66aa329
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/gov/cms/madie/terminology/dto/Code.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
public class Code {
private String name;
private String display;
private String version;
private String version; //'fhir' in the code-system-entry.json
private String svsVersion; //'vsac' in the code-system-entry.json
private String codeSystem;
private String codeSystemOid;
private CodeStatus status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ private Code retrieveCodes(
Code.builder()
.name(codeName)
.codeSystem(codeSystemName)
.version(vsacVersion)
.version(fhirVersion)
.svsVersion(vsacVersion)
.display(parameters.getParameter("display").getValue().toString())
.codeSystemOid(parameters.getParameter("Oid").getValue().toString())
.build();
Expand Down

0 comments on commit 66aa329

Please sign in to comment.