VistA Analysis » VistA Reference » RPCs » ORWPCE ICDVER

ORWPCE ICDVER

Returns the ICD coding system version to be used for diagnosis look-up, asof a particular date of interest.

Properties

Property Value
Label ICDVER
MUMPS Implementation ORWPCE
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
ORDT LITERAL   true This is the date of interest (e.g., encounter date - time optional) against which the implementation date for ICD-10-CM will be compared.

MUMPS Method Description

Property Value
Method ICDVER^ORWPCE
Method Comment Get ICD codeset version (i.e., ICD-9-CM or ICD-10-CM)
Input Parameters ORDT
Code
 S ORDT=+$G(ORDT) S:'ORDT ORDT=DT
S RESULT="ICD^ICD-9-CM"
G:'$L($T(IMPDATE^LEXU)) ICDVERX
I +$$IMPDATE^LEXU("10D")'>ORDT S RESULT="10D^ICD-10-CM"

CPRS

File Type Description
Pascal File rCore.pas
Pascal File Encounter/rPCE.pas


Document generated on August 31st 2022, 2:55:43 pm