gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] clin_encounter.fk_provider


From: Ian Haywood
Subject: [Gnumed-devel] clin_encounter.fk_provider
Date: Sat, 24 Sep 2005 15:54:48 +1000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)

Removing this field breaks the scripts, like so:

2005-09-24 15:42:41 [DATA]  
(/home/ian/gnumed/gnumed/Gnumed/pycommon/gmPsql.py:address@hidden):
create view v_pat_encounters as
select
        cle.id as pk_encounter,
        cle.fk_patient as pk_patient,
        cle.started as started,
        et.description as type,
        _(et.description) as l10n_type,
        cle.rfe as rfe,
        cle.aoe as aoe,
        cle.last_affirmed as last_affirmed,
        cle.fk_location as pk_location,
        cle.fk_type as pk_type,
        cle.xmin as xmin_clin_encounter,
        cle.fk_provider as pk_provider
from
        clin_encounter cle,
        encounter_type et
where
        cle.fk_type = et.pk

2005-09-24 15:42:41 [ERROR] 
(/home/ian/gnumed/gnumed/Gnumed/pycommon/gmPsql.py:address@hidden): 
../sql/gmClinicalViews.sql:1046: ERROR:  column cle.fk_provider does not exist

This has me compeletely stumped: I've no idea where else fk_provider would go.

Ian

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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