13.07.2015 Views

(MS-DRG) Software - National Technical Information Service

(MS-DRG) Software - National Technical Information Service

(MS-DRG) Software - National Technical Information Service

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Input to the grouper subroutines➤Note: COBOL applications programmers need not concern themselveswith implementing this structure since COBOL automaticallycreates it when a CALL USING statement is issued.You must ensure that each diagnosis code is left-justified in a 8-bytefield and that all of the diagnoses are in contiguous locations in thebuffer whose address is in the first pointer described above. Emptyfields may be interspersed throughout the buffer. A detailed discussionof the way in which fields in the buffer are processed is locatedat the end of this chapter.Similarly, each procedure code must be left-justified in a 7-byte field,and all of the procedure codes must be in contiguous locations in thebuffer whose address is in the third pointer described above.Each diagnosis and procedure code must be blank-filled if it isshorter than the maximum field length. Zero filling is not allowed.The patient’s age must be right-justified in a 3-byte field. Valid agesfor grouping are between 0 and 124. The age may be either zero- orblank-filled.The patient’s sex must be contained in a 1-byte field, in the range 0through 2 (Unknown/Male/Female, respectively).The discharge status must be contained in a 2-byte field which iscoded according to the conventions shown in table 1-1. The codemust be right-justified and may be either zero- or blank-filled.10/10Using the grouper with higher-level languages 4.7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!