Ignore:
Timestamp:
May 8, 2015, 7:52:55 AM (10 years ago)
Author:
healthsevak
Message:

Committing the files for first time to this new branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/HealthSevak-CPRS/CPRS-Chart/Consults/rConsults.pas

    r829 r1693  
    9696function GetServicePrerequisites(Service: string): TStrings;
    9797procedure GetProvDxMode(var ProvDx: TProvisionalDiagnosis; SvcIEN: string);
     98function IsProstheticsService(SvcIen: int64) : string;
    9899
    99100{ Clinical Procedures Specific}
     
    354355      Findings              := Piece(x, U, 19)  ;
    355356      TIUResultNarrative    := StrToIntDef(Piece(x, U, 20),0);
     357      EarliestDate          := StrToFloatDef(Piece(x, U, 98), 0);
     358      //LatestDate            := StrToFloatDef(Piece(x, U, 99), 0); //dropped requirement WAT
    356359      //ProvDiagnosis         := Piece(x, U, 23);  NO!!!!! Up to 180 Characters!!!!
    357360      alist.delete(0) ;
     
    668671         Urgency         := StrToIntDef(Piece(ExtractDefault(Dest, 'URGENCY'), U, 3), 0);
    669672         UrgencyName     := Piece(ExtractDefault(Dest, 'URGENCY'), U, 2);
     673         EarliestDate    := StrToFloatDef(Piece(ExtractDefault(Dest, 'EARLIEST'), U, 2), 0);
     674         //LatestDate      := StrToFloatDef(Piece(ExtractDefault(Dest, 'LATEST'), U, 2), 0); //dropped requirement WAT
    670675         Place           := Piece(ExtractDefault(Dest, 'PLACE'), U, 1);
    671676         PlaceName       := Piece(ExtractDefault(Dest, 'PLACE'), U, 2);
     
    734739                Mult['10,' + IntToStr(i+1)] := NewComments.Strings[i];
    735740            end;
     741          if EarliestDate > 0 then
     742             Mult['11']  := 'GMRCERDT^'  + FloatToStr(EarliestDate);  //wat renamed v28
     743          {if LatestDate > 0 then
     744             Mult['12']  := 'GMRCLATE^'  + FloatToStr(LatestDate);} //dropped requirement WAT
    736745        end;
    737746      CallBroker;
     
    836845end;
    837846
     847function IsProstheticsService(SvcIen : int64) : string;  //wat v28
     848 begin
     849   Result := sCallV('ORQQCN ISPROSVC', [SvcIen]);
     850 end;
     851
    838852initialization
    839853  uLastOrderedIEN := 0;
Note: See TracChangeset for help on using the changeset viewer.