001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2024 Smile CDR, Inc. 006 * %% 007 * All rights reserved. 008 * #L% 009 */ 010package ca.cdr.api.util; 011 012public class PublicApiConstants extends ca.uhn.fhir.rest.api.Constants { 013 public static final String EXTENSION_SUBSCRIPTION_CHANNEL_REST_REPLICATE_MODE = 014 "https://smilecdr.com/fhir/ns/StructureDefinition/subscription-channel-rest-replicate-mode"; 015 public static final String EXTENSION_SUBSCRIPTION_CHANNEL_REST_REPLICATE_ID_PREFIX = 016 "https://smilecdr.com/fhir/ns/StructureDefinition/subscription-channel-rest-replicate-id-prefix"; 017 public static final String EXTENSION_SUBSCRIPTION_CHANNEL_REST_DELIVERY_CLASS = 018 "https://smilecdr.com/fhir/ns/StructureDefinition/subscription-channel-rest-delivery-class"; 019 public static final String CODE_SNOMED_DIAGNOSTIC_PROCEDURE = "103693007"; 020 public static final String CODE_SNOMED_DIAGNOSTIC_PROCEDURE_TEXT = "Diagnostic procedure"; 021 022 public static final String CODE_LOINC_BODY_HEIGHT = "8302-2"; 023 public static final String CODE_LOINC_BODY_HEIGHT_TEXT = "Body height"; 024 public static final String CODE_LOINC_BODY_WEIGHT = "29463-7"; 025 public static final String CODE_LOINC_BODY_WEIGHT_TEXT = "Body weight"; 026 /** 027 * Code System Identifier: LOINC (lab and observation codes) 028 */ 029 public static final String CODE_SYSTEM_LOINC = "http://loinc.org"; 030 /** 031 * contact.relationship system for v3 Code System RoleCode 032 */ 033 public static final String CODE_SYSTEM_ROLECODE = "http://hl7.org/fhir/v3/RoleCode"; 034 /** 035 * Code System Identifier: SNOMED CT 036 */ 037 public static final String CODE_SYSTEM_SNOMED = "http://snomed.info/sct"; 038 /** 039 * Code System Identifier: UCUM (Units of measure) 040 */ 041 public static final String CODE_SYSTEM_UCUM = "http://unitsofmeasure.org"; 042 043 public static final String URI_US_NATIONAL_PROVIDER_IDENTIFIER = "http://hl7.org/fhir/sid/us-npi"; 044 public static final String TABLE_0127_DSTU3 = "http://hl7.org/fhir/v2/0127"; 045 public static final String TABLE_0128_DSTU3 = "http://hl7.org/fhir/v2/0128"; 046 /** 047 * contact.relationship system for v2 Contact Role 048 */ 049 public static final String TABLE_0131_DSTU3 = "http://hl7.org/fhir/v2/0131"; 050 051 public static final String OUTBOUND_HL7V2_SUBSCRIPTION_DELIVERER_CLASS_NAME = 052 "ca.cdr.endpoint.hl7v2.out.deliverer.OutboundHl7V2SubscriptionDeliverer"; 053 public static final String FHIRPATH_MESSAGEHEADER_FOCUS = "MessageHeader.focus"; 054 public static final String FHIRPATH_AUDITEVENT_ENTITY_WHAT = "AuditEvent.entity.what"; 055 public static final String ALLOW_VERSIONED_REFERENCES_AT_PATHS_DEFAULT = FHIRPATH_AUDITEVENT_ENTITY_WHAT + " " 056 + FHIRPATH_MESSAGEHEADER_FOCUS + " " + PublicApiConstants.FHIRPATH_PROVENANCE_TARGET; 057 public static final String FHIRPATH_PROVENANCE_TARGET = "Provenance.target"; 058}