APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE



Similar documents
Volume 2 Compliance Process

BRITISH COLUMBIA PHARMACARE PROGRAM CHANGES EFFECTIVE MAY 1, 2003

11 Contacts for Health Care Practitioners & Providers

BC PALLIATIVE CARE BENEFITS PRESCRIBER GUIDE

PHARMACARE CLAIMS FOR INSULIN PUMP VENDORS

Accessing the Ministry Web Business Services

Recall the process used for adding decimal numbers. 1. Place the numbers to be added in vertical format, aligning the decimal points.

Index. Registry Report

Pre-Calculus II Factoring and Operations on Polynomials

HIBC QUARTERLY STATUS REPORT: APRIL, MAY, JUNE 2015 BACKGROUND

3.2. Patients Identification... 3 For Pharmacists Processing a Prescription for a New Patient... 3

NATIONAL BANK OF ROMANIA

DOCUMENT MODIFICATION HISTORY

A basic paycheque will show gross pay, deductions and net pay:

Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem)

PharmaCare is BC s public drug insurance program that assists BC residents in paying for eligible prescription drugs and designated medical supplies.

Rural General Practitioner Anaesthesia Locum Program (RGPALP) Policy. Ministry of Health

Estimating the Average Value of a Function

Statistical Brief #25: Employer-Sponsored Health Insurance Characteristics by Average Payroll for the Private Sector in 2001

Small Business Health Care Tax Credit

Polynomial and Synthetic Division. Long Division of Polynomials. Example 1. 6x 2 7x 2 x 2) 19x 2 16x 4 6x3 12x 2 7x 2 16x 7x 2 14x. 2x 4.

Properties of Real Numbers

Useful Number Systems

FTS Real Time Client: Equity Portfolio Rebalancer

Regulation on Bank Account Standard Numbering System

PROJECT PLAN FOR. Project Name Here

Applications of Fermat s Little Theorem and Congruences

8 Primes and Modular Arithmetic

Rural General Practitioner Locum Program (RGPLP) Policy. Ministry of Health

Decimals Adding and Subtracting

Voya SmartDesign Multi-Rate Index Annuity

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

The Blue Matrix: How Big Data provides insight into the health of the population and their use of health care in British Columbia

Guide. 1 Dec Introduction of the global Structured Creditor Reference in Finnish companies. 1 December 2010

EDI Support Services

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Positional Numbering System

8 Pharmacy Fees and Subsidies, and Provider Payment

PURSUITS IN MATHEMATICS often produce elementary functions as solutions that need to be

Sequential Skills. Strands and Major Topics

CSI 333 Lecture 1 Number Systems

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

EATON CORP PLC FORM 11-K. (Annual Report of Employee Stock Plans) Filed 06/24/14 for the Period Ending 12/31/13

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Adding and Subtracting Positive and Negative Numbers

How To Factor By Grouping

Identification Numbers and Check Digits 1

In the above, the number 19 is an example of a number because its only positive factors are one and itself.

First Mortgage Documents User Guide 139

PharmaCare Prosthetic and Orthotic Program Detailed Policy and Procedural Requirements February 2012 Version 2.1

Computer Science 281 Binary and Hexadecimal Review

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = = (2-2) = = 5. x = 7-5. x + 0 = 20.

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Massachusetts Statistical Accepted with Errors Edit List

6. LECTURE 6. Objectives

Appendix D (Online Only) Detailed Description of Canadian Financial Aid Rules and Assumptions in our Aid Calculations

MEDICARE SET ASIDE SERVICES. Medicare Set Aside FAQs

Truven Health Analytics: Market Expert Inpatient Volume Projection Methodology

BSBSMB305 Comply with regulatory, taxation and insurance requirements for the micro business

ROUTH S STABILITY CRITERION

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Rules & Regulations Governing the Prescription Drug Program for the Uninsured

PREPARATION FOR MATH TESTING at CityLab Academy

City of Kamloops. Travelsmart Project

MEP Y9 Practice Book A

MACHINISTS LODGE 692 HEALTH AND BENEFIT PLAN

2.6 Exponents and Order of Operations

Notes on Factoring. MA 206 Kurt Bryan

GAO ELECTRONIC HEALTH RECORDS. First Year of CMS s Incentive Programs Shows Opportunities to Improve Processes to Verify Providers Met Requirements

FRACTIONS MODULE Part I

Daily / Special / Remittances / Vendor Control

The Mathematics of the RSA Public-Key Cryptosystem

Purpose of the 270/271 Health Care Eligibility Benefit Inquiry and Response

UNITED STATES SECURITIES AND EXCHANGE COMMISSION Washington, D.C FORM 8-K Current Report

STANDARD 48 FORMAT OF THE IBAN ISSUED IN THE UK (International Bank Account Number) June 2007

Sense of Number. Basic Edition for. October Graphic Design by Dave Godfrey Compiled by the Sense of Number Maths Team

Architecture, Implementations, Integrations, and Technical Overview

The Euclidean Algorithm

MATH-0910 Review Concepts (Haugen)

Accuplacer Arithmetic Study Guide

YOU MUST BE ABLE TO DO THE FOLLOWING PROBLEMS WITHOUT A CALCULATOR!

Guide to Interdisciplinary Provider Compensation

COLLEGE RETIREMENT EQUITIES FUND RULES OF THE FUND

What is the Low Income Subsidy? Ginger Rogers Medicare Part D Disability Drug Benefit Helpline Disability Rights Wisconsin

TITLE 114 LEGISLATIVE RULES INSURANCE COMMISSIONER SERIES 22 MEDICAL MALPRACTICE ANNUAL REPORTING REQUIREMENTS

BENEFITS AT A GLANCE FACULTY & ADMINISTRATORS

Transcription:

Ministry of Health Services Professional and Software Compliance Standards For HL7 Messaging APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE Version 2.1 November 21, 2003

Professional and Software Compliance Standards APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE Author: healthnetbc Creation Date: September 30, 1999 Last Updated: December 19, 2003 Document Number: Version: 2.1 Approvals: Project Sponsor Signature Date Kathy Hill healthnetbc Access Services Compliance Process Standards Approval Reviewer Signature: Signature: Name: Kathy Hill Name: Title: Manager Title: healthnetbc Access Services Date: Date: November 21, 2003 Version 2.1 Page 1

APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE Professional and Software Compliance Standards 1 General Information This document and its companion volumes contain the Professional and Software Compliance Standards for HL7 Messaging between the BC Ministry of Health and external clients. These standards are used for the exchange of information with various business areas within the Ministry including: the Client Registry (patient/client demographics), MSP (beneficiary coverage), MSP Employer Services (enrolment of employees and dependants), Primary Health Care (patient rostering), Continuing Care (client demographics and history) and Pharmacare (registration). 1.1 Corrections and updates Corrections and updates to this appendix can be found at the end of the document. A vertical line in the outside boarder denotes corrections within the document. i 1.2 Who is the audience? This document is intended for use by: a) Software Support Organizations (SSO) who wish to develop software that is compliant with the BC standard for the exchange of business area data encompassing Client Registry, MSP, Primary Care, Continuing Care and other Ministry supported transactions. b) Providers, administrators, health care professionals and MSP Benefits administrators (public and private employers) who are responsible for the implementation of compliant software in their organizations. 2 Overview This appendix describes the PHN check digit algorithm. 3 PHN Check Digit Number Routine The following PHN Check Digit Number Routine should be implemented on the local software. Page 2 Version 2.1 November 21, 2003

Professional and Software Compliance Standards APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE The PHN used by healthnetbc is sent as a 13 digit number. There is a common Mod 11 check that can be applied to the last 10 digits of the PHN. Input to this routine is PHN with no leading zeroes. The number is broken down into single digits and each digit is weighted. The weights are: Digit (by position) Weight 1 2 3 4 5 6 7 8 9 10 2 4 8 5 10 9 7 3 The check digit process should ignore the first digit that is always a 9 and any leading zeroes. Each digit (2-9) is multiplied by it s weight and divided by 11. The remainder is loaded into an array. The array values are added to obtain a total. The total is divided by 11, and the remainder is subtracted from 11 to yield a check digit value. This value is compared to the 10 th digit and if equal, the PHN is valid, otherwise the PHN is invalid. The PHN used in the example would be represented as 0009123947241 when submitted to PharmaNet. Example: PHN Weights 9 1 2 3 9 4 7 2 4 1 2 4 8 5 10 9 7 3 Product (Divide each by 11) Remainder is - 2 8 24 45 40 63 14 12 2 8 2 1 7 8 3 1 Sum of remainder values is 32. Divide 32 by 11 to yield a remainder of 10. Subtract remainder from 11 (11-10) =1 which is the check digit (10 th digit) If the result is 10 or 11, the PHN is not valid. November 21, 2003 Version 2.1 Page 3

APPENDIX D PHN CHECK DIGIT NUMBER ROUTINE Professional and Software Compliance Standards Document History DOCUMENT MODIFICATION HISTORY Version Release Date Description 2.0 September 1999 Original single document 2.1 <version date> Revised format. Corrections and Update Notes i 02/Nov/27 example of correction Page 4 Version 2.1 November 21, 2003