Oh nice, I kinda like that.

There is a central Admissions department, that manages what Ward and/or
services a Patient goes to.

Makes sense to me.

Mark

On Wed, Dec 15, 2010 at 10:06 AM, Barry Beattie <[email protected]>wrote:

> IMHO Hospital is too big.
>
> the way I see it, it's admissions that
>
> Admissions.admit(patient)
>
> and
>
> Admissions.dischard(patient)
>
> my 2c only.
>
>
>
> On Wed, Dec 15, 2010 at 8:11 AM, Mark Mandel <[email protected]>wrote:
>
>> Well how does a hopsital manage this?
>>
>> On Wed, Dec 15, 2010 at 8:30 AM, Gavin Beau Baumanis <[email protected]
>> > wrote:
>>
>>> * Patient Admissions
>>>
>>
>> A Hospital has a series of patients that it has admitted. So I expect you
>> would have:
>>
>> Hospital.admit(patient)
>>
>>
>>> * Patient Discharges
>>>
>>
>> Ditto:
>>
>> Hopsital.dischard(patient)
>>
>> I wouldn't be shocked if a Hospital had a series of Wards, which then had
>> the patients, but you probably know this domain better than I do.
>>
>> [image: [Hospital]++1->*[Ward], [Ward]+1->*[Patient]]
>> http://yuml.me/diagram/scruffy;/class/[Hospital]++1-<http://yuml.me/diagram/scruffy;/class/%5BHospital%5D++1->>*[Ward],
>> [Ward]+1->*[Patient]
>>
>>
>>
>>>  * the Patient's Care teams
>>>
>>
>> A Hospital would have a series of Care Teams, I assume then that the
>> CareTeam would have a series of patients they belong to.
>>
>> [image:
>> %5BHospital%5D++1-%3E*%5BCareTeam%5D,%20%5BCareTeam%5D+1-%3E*%5BPatient%5D]
>>
>> http://yuml.me/diagram/scruffy;/class/%5BHospital%5D++1-%3E*%5BCareTeam%5D,%20%5BCareTeam%5D+1-%3E*%5BPatient%5D
>>
>> (Maybe Care Teams also belong to a Ward?)
>>
>>
>>> * the Patient's Physical locations
>>>
>>
>> Well, I would expect the Patient probably knows what Hospital it is in in,
>> and the Hospital knows it's own Physical address.
>>
>> [image: [Patient]+*->0..1[Hospital], [Hospital]++1->1[Location]]
>> http://yuml.me/diagram/scruffy;/class/[Patient]+*-<http://yuml.me/diagram/scruffy;/class/%5BPatient%5D+*->>0..1[Hospital],
>> [Hospital]++1->1[Location]
>>
>>
>> Or maybe not, maybe there is a global registry of Patients, i.e. a global
>> medical record, which ties it all together. (Maybe patients really don't
>> often know what Hospital they are in, and you need to ask the Medial
>> History, or maybe both should really know)
>>
>> [image: [HistoryRegistery]++1->*[Record], [Record]+1->1[Patient],
>> [Record]+1-current>0..1[Hospital]]
>> http://yuml.me/diagram/scruffy;/class/[HistoryRegistery]++1-<http://yuml.me/diagram/scruffy;/class/%5BHistoryRegistery%5D++1->>*[Record],
>> [Record]+1->1[Patient], [Record]+1-current>0..1[Hospital]
>>
>>
>> Again, just modelling the real world objects. You just need to go a few
>> levels below just a 'Hospital' and get a little deeper.
>>
>> There are a variety of ways you could model this, just depends on your
>> domain really.
>>
>> HTH
>>
>> Mark
>>
>>
>> --
>> E: [email protected]
>> T: http://www.twitter.com/neurotic
>> W: www.compoundtheory.com
>>
>> cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia
>> http://www.cfobjective.com.au
>>
>> Hands-on ColdFusion ORM Training
>> www.ColdFusionOrmTraining.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<cfaussie%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<cfaussie%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>



-- 
E: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia
http://www.cfobjective.com.au

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to