001/*- 002 * #%L 003 * HAPI FHIR - Master Data Management 004 * %% 005 * Copyright (C) 2014 - 2024 Smile CDR, Inc. 006 * %% 007 * Licensed under the Apache License, Version 2.0 (the "License"); 008 * you may not use this file except in compliance with the License. 009 * You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 * #L% 019 */ 020package ca.uhn.fhir.mdm.api; 021 022public class MdmConstants { 023 024 /** 025 * TAG system for Golden Resources which are managed by HAPI MDM. 026 */ 027 public static final String SYSTEM_MDM_MANAGED = "https://hapifhir.org/NamingSystem/managing-mdm-system"; 028 029 public static final String CODE_HAPI_MDM_MANAGED = "HAPI-MDM"; 030 public static final String DISPLAY_HAPI_MDM_MANAGED = 031 "This Golden Resource can only be modified by HAPI MDM system."; 032 public static final String CODE_NO_MDM_MANAGED = "NO-MDM"; 033 public static final String HAPI_ENTERPRISE_IDENTIFIER_SYSTEM = 034 "http://hapifhir.io/fhir/NamingSystem/mdm-golden-resource-enterprise-id"; 035 public static final String ALL_RESOURCE_SEARCH_PARAM_TYPE = "*"; 036 037 /** 038 * Blocked resource tag info 039 */ 040 public static final String CODE_BLOCKED = "BLOCKED_RESOURCE"; 041 042 public static final String CODE_BLOCKED_DISPLAY = "Source Resource is omitted from MDM matching."; 043 044 public static final String FIHR_STRUCTURE_DEF_MATCH_GRADE_URL_NAMESPACE = 045 "http://hl7.org/fhir/StructureDefinition/match-grade"; 046 047 public static final String SYSTEM_GOLDEN_RECORD_STATUS = "http://hapifhir.io/fhir/NamingSystem/mdm-record-status"; 048 public static final String SUBSCRIPTION_TOPIC_URL = "http://hapifhir.io/fhir/r5/SubscriptionTopic/mdm"; 049 public static final String CODE_GOLDEN_RECORD = "GOLDEN_RECORD"; 050 public static final String CODE_GOLDEN_RECORD_REDIRECTED = "REDIRECTED"; 051 public static final String DISPLAY_GOLDEN_RECORD = "Golden Record"; 052 public static final String DISPLAY_GOLDEN_REDIRECT = 053 "This resource was found to be a duplicate and has been redirected."; 054 055 public static final String UNKNOWN_MDM_TYPES = "Unknown Resource Types"; 056}