[uf-discuss] best practices to represent "person working at"

Arnaud Sahuguet sahuguet at google.com
Mon Apr 26 14:05:35 PDT 2010


How would you cope with this kind of information, a doctor working for
multiple hospitals.
e.g. http://www.healthgrades.com/directory_search/physician/profiles/dr-md-reports/Dr-Joseph-Castrejon-MD-208D4271/hospital-affiliations/?cid=prt_google_physician_affilh_20100228

Is there an agreed upon way to represent this structure using hCards?

regards,

Arnaud

On Fri, Apr 23, 2010 at 6:54 AM, Toby Inkster <mail at tobyinkster.co.uk> wrote:
>
> > say I want to represent a doctor working at a hospital.
> > What's the preferred way to represent that?
> >
> > <div class="vcard">
> >  <span class="fn">Perry Cox, MD</span>
> >  <div class="org">Sacred Heart hospital</div>
> >  <div class="adr">
> >   <div class="street-address">1 Hospital Avenue</div>
> >   <span class="locality">San Diego</span>,
> >   <span class="region">CA</span>
> >   <span class="postal-code">92101</span>
> >  </div>
> >  <div class="tel">619) 555-5020 x 1234</div>
> > </div>
>
> The other way to do it would be to invert it and create an hCard for the
> organisation, listing the doctor (or doctors) as an agent:
>
> <div class="vcard">
>  <h1 class="fn org">Sacred Heart hospital</h1>
>  <div class="adr">
>  <div class="street-address">1 Hospital Avenue</div>
>  <span class="locality">San Diego</span>,
>  <span class="region">CA</span>
>  <span class="postal-code">92101</span>
>  </div>
>  <h2>Staff</h2>
>  <ul>
>   <li class="agent vcard">
>     <b class="fn">Perry Cox, MD</b>
>     <div class="tel">(619) 555-5020 x 1234</div>
>   </li>
>   <li class="agent vcard">
>     <b class="fn">John "<span class="nick">J.D.</span>" Dorian</b>
>     <div class="tel">(619) 555-5020 x 4321</div>
>   </li>
>   <!-- etc -->
>  </ul>
> </div>
>
> -Toby
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss



--
Arnaud Sahuguet
Geo Infrastructure PM, New York office
-- competing with God to build the world in less than 6 days --
-- and propagate updates to maps.google.com in less than 15 minutes (2010 OKR)



More information about the microformats-discuss mailing list