Skip to content

Commit

Permalink
Move ad hoc code system URL to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
smailliwcs committed Feb 23, 2024
1 parent 654810b commit d059768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/main/java/com/lantanagroup/link/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class Constants {
public static final String OriginalElementValueExtension = "http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-element-value-extension";
public static final String OriginalResourceIdExtension = "http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-resource-id-extension";
public static final String BundlingFullUrlFormat = "http://www.cdc.gov/nhsn/fhirportal/dqm/ig/%s";
public static final String LocationAliasCodeSystem = "https://nhsnlink.org/location-alias";

//Metric taskName Constants
public static final String TASK_SUBMIT = "submit";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void execute(TenantService tenantService, Bundle bundle, ReportCriteria c
//Check for a value in alias
if (value != null && existingType.isEmpty()) {
//Add type to list of existing types
types.add(FhirHelper.createCodeableConcept(value, "https://nhsnlink.org/location-alias"));
types.add(FhirHelper.createCodeableConcept(value, Constants.LocationAliasCodeSystem));
}
}
}
Expand Down

0 comments on commit d059768

Please sign in to comment.