/**
 * This Source Code Form is subject to the terms of the Mozilla Public License,
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
 *
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
 * graphic logo is a trademark of OpenMRS Inc.
 */
package org.openmrs.module.visitdocumentsui.extension.html;

import java.util.LinkedHashMap;
import java.util.Map;

import org.openmrs.module.Extension;
import org.openmrs.module.web.extension.AdministrationSectionExt;

/**
 * This class defines the links that will appear on the administration page under the
 * "patientimages.title" heading. 
 */
public class AdminList extends AdministrationSectionExt {
	
	/**
	 * @see AdministrationSectionExt#getMediaType()
	 */
	public Extension.MEDIA_TYPE getMediaType() {
		return Extension.MEDIA_TYPE.html;
	}
	
	/**
	 * @see AdministrationSectionExt#getTitle()
	 */
	public String getTitle() {
		return "patientimages.title";
	}
	
	/**
	 * @see AdministrationSectionExt#getLinks()
	 */
	public Map<String, String> getLinks() {
		LinkedHashMap<String, String> map = new LinkedHashMap<String, String>();
		map.put("/module/patientimages/manage.form", "patientimages.manage");
		return map;
	}
	
}

@@ -601,16 +601,84 @@
 ension;%0A
+import org.openmrs.module.visitdocumentsui.VisitDocumentsConstants;%0A
 import o
@@ -1163,30 +1163,62 @@
 %09return 
-%22patientimages
+VisitDocumentsConstants.MODULE_ARTIFACT_ID + %22
 .title%22;
@@ -1441,30 +1441,62 @@
 .form%22, 
-%22patientimages
+VisitDocumentsConstants.MODULE_ARTIFACT_ID + %22
 .manage%22

Updating the module artifact ID in legacy UI's AdminList.java.