gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] Placeholder external ids - improperly formatted user a


From: Jim Busser
Subject: Re: [Gnumed-bugs] Placeholder external ids - improperly formatted user arguments?
Date: Wed, 05 Oct 2011 13:35:12 -0700

On 2011-10-05, at 11:55 AM, Jim Busser wrote:

> ok, sorry, I missed this, I mis-imagined that I had already culled into a 
> template everything that was available, but it was not so!
> 
>       line 90
> 
>       
> http://gitorious.org/gnumed/gnumed/blobs/master/gnumed/gnumed/client/wxpython/gmMacro.py
> 
> however I will investigate to observe what is returned when no match is found.

Likely just a usage problem, but I can't figure it out. When I try in the 
template

     \begin{tabular}{ l | l | }
       \cline{2-2}
       re & $<lastname>$, $<title>$ $<firstname>$ 
($<gender_mapper::Male//Female//Transg>$, born $<date_of_birth::%Y %B %d>$) \\
        & $<adr_number::home>$ $<adr_street::home>$ \\
        & $<adr_location::home>$ $<adr_postcode::home>$\\
        & \\
        & home phone $<patient_comm::home>$\\
        & mobile \hspace{1 cm} $<patient_comm::mobile>$\\
        & work phone $<patient_comm::workphone>$\\   
        & \\
        & Personal Health Number: $<external_id::"PHN Personal Health 
Number"//BC.CA_MSP>$\\   
        & VA Medical Record Number: $<external_id::"MRN Medical Record 
Number"//BC.CA_VCHA>$\\   
       \cline{2-2}
     \end{tabular}

The name and address and date of birth and the basic table format worked fine, 
but the comm channels and external IDs all returned errors, wherein I noted 
that the underscores in 'patientcomm' and the spaces in my external id types 
and issuers had been parsed out:

        home phone error with placeholder [< patientcomm :: home >]
        mobile  error with placeholder [< patientcomm :: mobile >]
        work phone error with placeholder [< patientcomm :: workphone >]

        Personal Health Number: error with placeholder [< externalid :: 
”PHNPersonalHealthNumber”//
        BC.CA VA Medical Record Number: error with placeholder [< externalid :: 
”MRNMedicalRecordNumber”//BC.

so I tried single quoting all strings:

        & home phone $<patient_comm::'home'>$\\
        & mobile \hspace{1 cm} $<patient_comm::'mobile'>$\\
        & work phone $<patient_comm::'workphone'>$\\   
        & \\
        & Personal Health Number: $<external_id::'PHN Personal Health 
Number'//'BC.CA_MSP'>$\\   
        & VA Medical Record Number: $<external_id::'MRN Medical Record 
Number'//'BC.CA_VCHA'>$\\   

but I still get 'error with placeholder'.

-- Jim




reply via email to

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