Comment below:

--- Chris Richardson <[EMAIL PROTECTED]> wrote:

I would
> encourage Kevin to
> document his solution and submit it to WorldVistA to
> manage the tool and
> make it available to others so they can use this
> tool to make their own
> solutions.  Cool.

I agree.  Has a framework been set up for dealing with
new code?  As was discussed on a recent WorldVistA
conference call, code needs to be vigorously tested
and perhaps even "certified".  I guess my code as it
stands would be class 3 (or 4?) code.  

I posted it on the wikki, but is there anywhere else
it should be sent to?

Thanks
Kevin


> 
>     Best wishes;  Chris
> 
> 
> 
> ----- Original Message -----
> From: "smcphelan" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, May 17, 2005 11:37 AM
> Subject: Re: [Hardhats-members] Custom Fileman date
> output formatting.
> 
> 
> > XLFDT expects a valid date input.  So no it cannot
> convert a number from
> > 1-12 to a month.  I am not sure what you mean
> about not displaying year
> > only.  Here are some simple examples of what it
> can do that addresses most
> > of your comments:
> >
> > W $$FMTE^XLFDT(3000000)
> > 2000
> >
> > W $$FMTE^XLFDT($$NOW^XLFDT,"5PZ")
> > 05/17/2005 2:19:25 pm
> >
> > W $$FMTE^XLFDT($$NOW^XLFDT,"P")
> > May 17, 2005 2:19:39 pm
> >
> >  W $$FMTE^XLFDT(3050805)
> > Aug 05, 2005
> >
> > W $$DOW^XLFDT(DT)
> > Tuesday
> >
> > W $$DOW^XLFDT(DT,1)
> > 2
> >
> > Does you utility allow for the conversion of the
> ANSI standard M
> date,time,
> > $H?
> >
> > Does your utility allow for the conversion of FM
> date.time to HL7
> date.time
> > and vice versa?
> >
> > Does you utility allow for the conversion of $H to
> HL7 date.time?
> >
> > Does your utility allow for the adding (or
> subtracting) of either days,
> > hours, minutes, or seconds to a FM (or $H)
> date.time and return a valid FM
> > (or $H) date.time?
> >
> > Does you utility allow for the conversion of
> date.time to a numeric number
> > that can be used in mathematical calculations?
> >
> > Does your utility allow for time zones and as such
> for UCT?
> >
> > Does your utility account for all leap years over
> 1000 year time frame?
> >
> > If you can answer Yes to all of these questions,
> then your utility
> > approaches the robustness of XLFDT.
> >
> > I question the usefulness of "at exactly" in a
> date when dealing with
> > physicians.  When was the last time any patient
> had their scheduled
> > appointment kept by the practice "at exactly" the
> scheduled date and time?
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Tuesday, May 17, 2005 12:37 PM
> > Subject: Re: [Hardhats-members] Custom Fileman
> date output formatting.
> >
> >
> > > > See XLFDT it is more robust than what you show
> here.
> > >
> > > I didn't notice that you say XLFDT is MORE
> robust than
> > > what I showed.  Can you give an example that you
> feel
> > > my function would not be able to do?
> > >
> > > Kevin
> > >
> > >
> > > --- smcphelan <[EMAIL PROTECTED]> wrote:
> > >
> > > > It is nice you have developed a M API to
> convert
> > > > dates.  Everything you show
> > > > here (except for the at exactly) has been part
> of
> > > > VistA for 10 years or
> > > > more...  See XLFDT it is more robust than what
> you
> > > > show here.
> > > >
> > > > ----- Original Message -----
> > > > From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> > > > To: "Hardhats Sourceforge"
> > > > <[email protected]>
> > > > Sent: Sunday, May 15, 2005 8:37 PM
> > > > Subject: [Hardhats-members] Custom Fileman
> date
> > > > output formatting.
> > > >
> > > >
> > > > > I may have just reinvented the wheel, but I
> don't
> > > > > think so.  I have just finished a function
> that
> > > > will
> > > > > format fileman dates in any arbitrary way,
> based
> > > > on
> > > > > format strings.  For example:
> > > > >
> > > > > w $$DTFormat(FMDate,"mm/dd/yy") --> 10/13/79
> > > > > w $$DTFormat(FMDate,"mm/dd/yyyy") -->
> 10/13/1979
> > > > > w $$DTFormat(FMDate,"mmm dd,yyyy") --> Oct
> 13,1979
> > > > > w $$DTFormat(FMDate,"mmmm dd,yyyy") -->
> October
> > > > > 13,1979
> > > > > w $$DTFormat(FMDate,"mmmm dd,yyyy 'at
> exactly'
> > > > HH:MM
> > > > > #") --> October 13,1979 at exactly 2:15 pm
> > > > >
> > > > > The format string allows any mix and match
> order.
> > > > It
> > > > > has appropriate codes for formatting 24 vs
> 12 hr
> > > > > clock.  Month numbers, short-names, or long
> names.
> > > > > Year in 2 or 4 digits.  Numbers with or
> with-out a
> > > > > leading 0.
> > > > >
> > > > > This function is based roughly on the way
> that
> > > > Delphi
> > > > > handles datetime formatting.
> > > > >
> > > > > If anyone wants a copy of the function let
> me
> > > > know.  I
> > > > > just tried to post it on the wikki, and
> apparently
> > > > the
> > > > > Sourceforge host is down for the moment.
> > > > >
> > > > > Kevin
> >
> >
> >
> >
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space
> Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> >
>
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to