gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] Managing encounter types: renaming Local name *back* t


From: Busser, James
Subject: Re: [Gnumed-bugs] Managing encounter types: renaming Local name *back* to Encounter name is refused
Date: Mon, 31 Oct 2011 01:58:09 +0000

I tried to go the other way around, and changed my encounter type descriptions 
to make them the same as what shows under my Local name.

BEFORE:

gnumed_v16=> select * from clin.encounter_type ;

 pk |       description        
----+--------------------------
  1 | in surgery
  2 | phone consultation
  4 | home visit
  5 | nursing home visit
  7 | hospital visit
  8 | video conference
  9 | proxy encounter
 10 | emergency encounter
 11 | chart review
 12 | other encounter
 13 | administrative encounter
 15 | phone w/provider
 14 | incoming info
 18 | phone w/ caregiver
 19 | case management
 20 | results review
 21 | requests review
 22 | new info review
 23 | imported results
 24 | staff encounter
 25 | nursing encounter
(21 rows)

CHANGE:

begin ;
update clin.encounter_type set description = 'seen in clinic' where description 
= 'in surgery' ;
update clin.encounter_type set description = 'clerical encounter' where 
description = 'staff encounter' ;
update clin.encounter_type set description = 'imported corr/docs' where 
description = 'incoming info' ;
update clin.encounter_type set description = 'manage case' where description = 
'case management' ;
update clin.encounter_type set description = 'phone w/ provider' where 
description = 'phone w/provider' ;
update clin.encounter_type set description = 'phone w/ patient' where 
description = 'phone consultation' ;
update clin.encounter_type set description = 'review chart' where description = 
'chart review' ;
update clin.encounter_type set description = 'review corr/docs' where 
description = 'new info review' ;
update clin.encounter_type set description = 'review requests' where 
description = 'requests review' ;
update clin.encounter_type set description = 'review results' where description 
= 'results review' ;
update clin.encounter_type set description = 'seen in emergency room' where 
description = 'emergency encounter' ;
update clin.encounter_type set description = 'seen in hospital' where 
description = 'hospital visit' ;
update clin.encounter_type set description = 'seen outside (facility)' where 
description = 'nursing home visit' ;
update clin.encounter_type set description = 'seen outside (home)' where 
description = 'home visit' ;
update clin.encounter_type set description = 'seen proxy alternate' where 
description = 'proxy encounter' ;
commit ;


AFTER:

gnumed_v16=> select * from clin.encounter_type order by pk ;
 pk |       description        
----+--------------------------
  1 | seen in clinic
  2 | phone w/ patient
  4 | seen outside (home)
  5 | seen outside (facility)
  7 | seen in hospital
  8 | video conference
  9 | seen proxy alternate
 10 | seen in emergency room
 11 | review chart
 12 | other encounter
 13 | administrative encounter
 14 | imported corr/docs
 15 | phone w/ provider
 18 | phone w/ caregiver
 19 | manage case
 20 | review results
 21 | review requests
 22 | review corr/docs
 23 | imported results
 24 | clerical encounter
 25 | nursing encounter
(21 rows)


Now, when I launch the client, I cannot activate Kirk from the inbox item and I 
cannot activate a patient from the waitlist and I cannot successfully search a 
patient.


Attachment: broken after modifying encounter descriptions gm-from-vcs.log
Description: broken after modifying encounter descriptions gm-from-vcs.log


reply via email to

[Prev in Thread] Current Thread [Next in Thread]