Index: ruby/trunk/terminology/doc/README_FOR_APP
===================================================================
--- ruby/trunk/terminology/doc/README_FOR_APP	(revision 164)
+++ 	(revision )
@@ -1,2 +1,0 @@
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
Index: ruby/trunk/terminology/doc/api
===================================================================
--- ruby/trunk/terminology/doc/api	(revision 164)
+++ 	(revision )
@@ -1,1 +1,0 @@
-link /usr/share/doc/rails/html
Index: ruby/trunk/terminology/doc/openehr_terminology.csv
===================================================================
--- ruby/trunk/terminology/doc/openehr_terminology.csv	(revision 164)
+++ 	(revision )
@@ -1,192 +1,0 @@
-1,0,openehr,en,subject relationship,self,The party is the subject of EHR ,HL7_RoleCode:: CEN: 
-2,3,openehr,en,subject relationship,foetus,The party is a foetus ,HL7: CEN: 
-3,6,openehr,en,subject relationship,donor,The party is a donor of organs or other body products to the EHR subject. ,HL7: CEN: 
-4,7,openehr,en,subject relationship,maternal grandmother,Relationship of maternal grandmother to subject of EHR ,HL7: CEN: 
-5,8,openehr,en,subject relationship,maternal grandfather,Relationship of maternal grandfather to subject of EHR ,HL7: CEN: 
-6,9,openehr,en,subject relationship,father,The party is the father of the subject of the EHR ,HL7: CEN: 
-7,10,openehr,en,subject relationship,mother,The party is the mother of the subject of EHR ,HL7: CEN: 
-8,22,openehr,en,subject relationship,partner/spouse,The husband or wife or life partner of the subject of EHR ,HL7: CEN: 
-9,23,openehr,en,subject relationship,brother,Relationship of brother to subject of EHR ,HL7: CEN: 
-10,24,openehr,en,subject relationship,sister,Relationship of sister to subject of EHR ,HL7: CEN: 
-11,25,openehr,en,subject relationship,step or half brother,Relationship of step or half brother to subject of EHR ,HL7: CEN: 
-12,26,openehr,en,subject relationship,step or half sister,Relationship of step or half sister to subject of EHR ,HL7: CEN: 
-13,27,openehr,en,subject relationship,sibling,Relationship of sibling to subject of EHR ,HL7: CEN: 
-14,28,openehr,en,subject relationship,child,Relationship of child to subject of EHR ,HL7: CEN: 
-15,29,openehr,en,subject relationship,daughter,Relationship of daughter to subject of EHR ,HL7: CEN: 
-16,31,openehr,en,subject relationship,son,Relationship of son to subject of EHR ,HL7: CEN: 
-17,36,openehr,en,subject relationship,paternal grandfather,Relationship of aternal grandfather to subject of EHR ,HL7: CEN: 
-18,37,openehr,en,subject relationship,paternal grandmother,Relationship of paternal grandmother to subject of EHR ,HL7: CEN: 
-19,38,openehr,en,subject relationship,maternal uncle,Relationship of maternal uncle to subject of EHR ,HL7: CEN: 
-20,39,openehr,en,subject relationship,maternal aunt,Relationship of maternal aunt to subject of EHR ,HL7: CEN: 
-21,40,openehr,en,subject relationship,paternal uncle,Relationship of paternal uncle to subject of EHR ,HL7: CEN: 
-22,41,openehr,en,subject relationship,paternal aunt,Relationship of paternal aunt to subject of EHR ,HL7: CEN: 
-23,45,openehr,en,event math function,minimum,Value of the interval-event is the minimum value of the discrete events which the interval-event summarises. ,
-24,121,openehr,en,property,Energy ,,
-25,122,openehr,en,property,Length ,,
-26,123,openehr,en,property,Loudness ,,
-27,124,openehr,en,property,Mass ,,
-28,125,openehr,en,property,Pressure ,,
-29,126,openehr,en,property,Flow rate  volume ,,
-30,127,openehr,en,property,Temperature ,,
-31,128,openehr,en,property,Time ,,
-32,129,openehr,en,property,Volume ,,
-33,130,openehr,en,property,Work ,,
-34,144,openehr,en,event math function,maximum,Value of the interval-event is the maximum value of the discrete events which the interval-event summarises. ,
-35,146,openehr,en,event math function,mean,Value of the interval-event is the average value of the discrete events which the interval-event summarises. ,
-36,147,openehr,en,event math function,change,Value of the interval-event is the net change over the period which the interval-event summarises. ,
-37,148,openehr,en,event math function,total,Value of the interval-event is the sum of the values of the discrete events which the interval-event summarises (typically differential flow measurements  e.g. blood loss). ,
-38,149,openehr,en,event math function,variation,Value of the interval-event is difference between the point maximum and point minimum over the period  in other words the value band into which all sample during a period fit. Useful for specifying a maximal allowed variation in a datum to still be considered the same (approximate) value. ,
-39,166,openehr,en,Instruction transitions,cancel,Cancel a planned Instruction  before it is booked or started. ,
-40,189,openehr,en,subject relationship,neonate,Relationship of neonate to subject of EHR ,HL7: CEN: 
-41,193,openehr,en,participation mode,not specified,Mode of participation is not specified; use only for legacy data. ,
-42,194,openehr,en,participation mode,asynchronous audiovisual; recorded video,Audio-visual communication that is not live ,
-43,195,openehr,en,participation mode,live audiovisual; videoconference; videophone,Any audio-visual communication in real time ,
-44,196,openehr,en,participation mode,recorded video,Recorded video or video mail ,
-45,197,openehr,en,participation mode,videophone,Live audio-visual communication ,
-46,198,openehr,en,participation mode,videoconferencing,Live audio-visual communication over videoconferencing or other similar equipment. ,HL7_ParticipationMode::16548 
-47,199,openehr,en,participation mode,asynchronous audio-only; dictated; voice mail,Audio-only communication that is not live. ,
-48,200,openehr,en,participation mode,dictated,Non-interactive audio-only information recorded on some medium  such as cassette tape. ,HL7_ParticipationMode::16547 
-49,201,openehr,en,participation mode,voice-mail,Audio messaging system ,
-50,202,openehr,en,participation mode,live audio-only; telephone; internet phone; teleconference,Any live audio-only communication. ,HL7_ParticipationMode::V16544 (includes live) 
-51,203,openehr,en,participation mode,teleconference,Live verbal communication over teleconference ,HL7_ParticipationMode::16546 
-52,204,openehr,en,participation mode,internet telephone,Live verbal communication over a the internet. ,HL7_ParticipationMode::16546 
-53,205,openehr,en,participation mode,telephone,Live verbal communication over a telephone. ,HL7_ParticipationMode::16546 
-54,206,openehr,en,participation mode,asynchronous text; email; fax; letter; handwritten note; SMS message,Any text-only communication including email  written text  SMS message etc. ,HL7_ParticipationMode::V16549 
-55,207,openehr,en,participation mode,email,Written communication by email. ,HL7_ParticipationMode::16553 [ inlcude HL7_ParticipationMode::16554 (electronic data)] 
-56,208,openehr,en,participation mode,facsimile/telefax,Non-interactive written communication using a fax machine. ,HL7_ParticipationMode::16552 
-57,209,openehr,en,participation mode,SMS message,Messages sent via mobile/cell phone ,
-58,210,openehr,en,participation mode,printed/typed letter,Written communication by typewritten document. ,HL7_ParticipationMode::16551 
-59,211,openehr,en,participation mode,handwritten note,Written communication by handwritten document. ,HL7_ParticipationMode::16550 
-60,212,openehr,en,participation mode,live text-only; internet chat; SMS chat; interactive written note,Any live text-only communication ,
-61,213,openehr,en,participation mode,internet chat,Live text-only communication over the internet ,
-62,214,openehr,en,participation mode,SMS chat,Live text-only chat over mobile/cell phone ,
-63,215,openehr,en,participation mode,interactive written note,Live text-only communication using written notes ,HL7_ParticipationMode::16550 
-64,216,openehr,en,participation mode,face-to-face communication,Face to face communications between parties in the same room. ,HL7_ParticipationMode::16545 
-65,217,openehr,en,participation mode,signing (face-toface),Live face-to-face communication using a recognised sign language. ,
-66,218,openehr,en,participation mode,signing over video,Live video communication using sign language. ,
-67,219,openehr,en,participation mode,physically present,Participation by actions  where the participant is physically present. ,HL7_ParticipationMode::16556 
-68,220,openehr,en,participation mode,physically remote,Participation by actions  where the participant is not physically present  and the actions are transmitted by electronic means. ,HL7_ParticipationMode::16557 
-69,221,openehr,en,participation mode,translated text,Non-interactive written communication requiring translation ,HL7_ParticipationMode::V16549 
-70,222,openehr,en,participation mode,interpreted audio-only,Any live audio-only communication using an interpreter. ,HL7_ParticipationMode::V16544 (includes live) 
-71,223,openehr,en,participation mode,interpreted face-toface communication,Face to face communications between parties in the same room with an interpreter ,HL7_ParticipationMode::16545 
-72,224,openehr,en,participation mode,interpreted video communication,Live audio-visual communication involving an interpreter ,
-73,240,openehr,en,attestation reason,signed,The attested information has been signed by its signatory. ,HL7_ParticipationSignature::10284 
-74,245,openehr,en,Instruction transitions,active,The instruction is currently being carried out ,
-75,249,openehr,en,audit change type,creation,Change type was creation. ,HL7_CDA: CEN: 
-76,250,openehr,en,audit change type,amendment,Change type was amendment i.e. correction of the previous version. ,HL7_CDA: CEN: 
-77,251,openehr,en,audit change type,modification,Change type was update of the previous version. ,HL7_CDA: CEN: 
-78,252,openehr,en,audit change type,synthesis,Change type was creation synthesis of data due to conversion process  typically a data importer. ,HL7_CDA: CEN: 
-79,253,openehr,en,null flavours,unknown,A possible value exists but is not provided. ,HL7_NullFlavor::V10612 
-80,254,openehr,en,subject relationship,parent,Relationship of parent to subject of EHR ,HL7: CEN: 
-81,255,openehr,en,subject relationship,biological mother,Relationship of biological mother to subject of EHR ,HL7: CEN: 
-82,256,openehr,en,subject relationship,biological father,Relationship of biological father to subject of EHR ,HL7: CEN: 
-83,257,openehr,en,subject relationship,cousin,Relationship of cousin to subject of EHR ,HL7: CEN: 
-84,258,openehr,en,subject relationship,adoptive mother,Relationship of adoptive mother to subject of EHR ,HL7: CEN: 
-85,259,openehr,en,subject relationship,adoptive father,Relationship of adoptive father to subject of EHR ,HL7: CEN: 
-86,260,openehr,en,subject relationship,adopted son,Relationship of adopted son to subject of EHR ,HL7: CEN: 
-87,261,openehr,en,subject relationship,adopted daughter,Relationship of adopted daughter to subject of EHR ,HL7: CEN: 
-88,262,openehr,en,subject relationship,step mother,Relationship of step mother to subject of EHR ,HL7: CEN: 
-89,263,openehr,en,subject relationship,step father,Relationship of step father to subject of EHR ,HL7: CEN: 
-90,264,openehr,en,subject relationship,guardian,Relationship of guardianto subject of EHR ,HL7: CEN: 
-91,265,openehr,en,subject relationship,cohabitee,Lives with the subject of EHR ,HL7: CEN: 
-92,267,openehr,en,event math function,mode,Value of the interval-event is the modal (most common) value of the discrete events which the interval-event summarises. ,
-93,268,openehr,en,event math function,median,Value of the interval-event is the median (centre value in sorted series) value of the discrete events which the interval-event summarises. ,
-94,271,openehr,en,null flavours,no information,No information provided; nothing can be inferred as to the reason why  including whether there might be a possible applicable value or not. ,HL7_NullFlavor::V10610 
-95,272,openehr,en,null flavours,masked,The value has not been provided due to privacy settings. ,HL7_NullFlavor::17932 
-96,273,openehr,en,null flavours,not applicable,No valid value exists for this data item. ,HL7_NullFlavor::10611 
-97,334,openehr,en,property,Electrical current ,,
-98,335,openehr,en,property,Area ,,
-99,336,openehr,en,property,Specific volume ,,
-100,337,openehr,en,property,Specific surface ,,
-101,338,openehr,en,property,Velocity ,,
-102,339,openehr,en,property,Acceleration ,,
-103,340,openehr,en,property,Momentum ,,
-104,341,openehr,en,property,Velocity  angular ,,
-105,342,openehr,en,property,Acceleration  angular ,,
-106,343,openehr,en,property,Momentum  angular ,,
-107,344,openehr,en,property,Moment inertia  area ,,
-108,345,openehr,en,property,Moment inertia  mass ,,
-109,346,openehr,en,property,Momentum  flow rate ,,
-110,347,openehr,en,property,Flow rate  mass ,,
-111,348,openehr,en,property,Flux  mass ,,
-112,349,openehr,en,property,Mass per area ,,
-113,350,openehr,en,property,Density ,,
-114,351,openehr,en,property,Flow rate  mass/volume ,,
-115,352,openehr,en,property,Flow rate  mass/force ,,
-116,355,openehr,en,property,Force ,,
-117,356,openehr,en,property,Surface tension ,,
-118,357,openehr,en,property,Force  body ,,
-119,360,openehr,en,property,Velocity  dynamic ,,
-120,361,openehr,en,property,Velocity  kinematic ,,
-121,362,openehr,en,property,Diffusion coefficient ,,
-122,365,openehr,en,property,Energy per area ,,
-123,366,openehr,en,property,Energy density ,,
-124,367,openehr,en,property,Power  linear ,,
-125,368,openehr,en,property,Power flux ,,
-126,369,openehr,en,property,Power density ,,
-127,370,openehr,en,property,Specific energy ,,
-128,371,openehr,en,property,Specific heat  gas content ,,
-129,373,openehr,en,property,Heat transfer coefficient ,,
-130,374,openehr,en,property,Voltage  electrical ,,
-131,375,openehr,en,property,Resistance ,,
-132,377,openehr,en,property,Electrical field strength ,,
-133,378,openehr,en,property,Magnetic flux ,,
-134,379,openehr,en,property,Inductance ,,
-135,380,openehr,en,property,Qualified real ,This is a number with an arithmetic qualification (which may be no units  103 etc) allowing integers to be expressed as reals raised to a nominated power  or for real numbers alone. ,
-136,381,openehr,en,property,Amount (Eq) ,,
-137,382,openehr,en,property,Frequency ,,
-138,384,openehr,en,property,Amount (mole) ,,
-139,385,openehr,en,property,Mass (IU) ,,
-140,431,openehr,en,composition category,persistent,This Composition contains information which remains valid for (more or less) the life of the EHR. Typical persistent Compositions include family history” problem list” current medications”  and vaccination history”. The usual change type when creating a new version of a persistent composition is modification”. ,
-141,433,openehr,en,composition category,event,This composition pertains to a point in time or brief episode. Change types may usually be modificationor  ,
-142,497,openehr,en,property,Angle  plane ,,
-143,498,openehr,en,property,Electrical charge ,,
-144,499,openehr,en,property,Light intensity ,,
-145,500,openehr,en,property,Angle  solid ,,
-146,501,openehr,en,property,Electrical capacitance ,,
-147,502,openehr,en,property,Electrical conductance ,,
-148,503,openehr,en,property,Magnetic flux density ,,
-149,504,openehr,en,property,Luminous flux ,,
-150,505,openehr,en,property,Illuminance ,,
-151,506,openehr,en,property,Radioactivity ,,
-152,507,openehr,en,property,Proportion ,,
-153,508,openehr,en,property,Energy dose ,,
-154,521,openehr,en,event math function,decrease,This is a change - as in 147 - except indicates that the value  while a positive number  is actually a negative change. Typically used for negative changes like weight loss: 5kgor blood pressure postural drop of 10 mm[Hg]”. ,
-155,522,openehr,en,event math function,increase,This is also a change  but is only a positive change and cannot be expressed as a negative. This can be used for positive changes like Weight gain: 2.5kg”. ,
-156,523,openehr,en,version lifecycle state,deleted,Item has been logically deleted. ,
-157,523,openehr,en,audit change type,deleted,Change type was logical deletion. ,HL7_CDA: CEN: 
-158,524,openehr,en,Instruction transitions,initial,The instruction is recorded but no state is determined ,
-159,526,openehr,en,Instruction transitions,planned,The instruction is planned ,
-160,527,openehr,en,Instruction transitions,postponed,The instruction has been posponed - it had not be commenced ,
-161,528,openehr,en,Instruction transitions,cancelled,The instruction has been cancelled - it had not been commenced and will not commence in the future ,
-162,529,openehr,en,Instruction transitions,scheduled,The instruction has been scheduled to be carried out at a particular time ,
-163,530,openehr,en,Instruction transitions,suspended,The instruction is suspended  it has been activated but is not active at present. It could be active again in the future. ,
-164,531,openehr,en,Instruction transitions,aborted,The instruction is aborted  it has been activated but ceased before it has been completed and will not be restarted in the future. ,
-165,532,openehr,en,version lifecycle state,complete,Item is complete at time of committal. ,
-166,532,openehr,en,Instruction transitions,completed,The instruction has been completed ,
-167,533,openehr,en,Instruction transitions,expired,The instruction has expired  timed out - and assumed to have either been cancelled  aborted or completed ,
-168,535,openehr,en,Instruction transitions,initiate,Initiate the planning of the Instruction. ,
-169,536,openehr,en,Instruction transitions,plan step,Any step in the planned state of the Instruction  e.g. signing  approving. ,
-170,537,openehr,en,Instruction transitions,postpone,Put a planned Instruction on hold  while still in the planning stage  i.e. before it has been booked or started. ,
-171,538,openehr,en,Instruction transitions,restore,Restore a previously postponed Instruction back to the planned state. ,
-172,539,openehr,en,Instruction transitions,schedule,Where booking is required  book the activities in the Instruction in a scheduling system. ,
-173,540,openehr,en,Instruction transitions,start,Start executing the activities in the Instruction  e.g. commence drug administration course. ,
-174,540,openehr,en,Instruction transitions,notify aborted,Occurs when notification of Instruction having been aborted is received after expiry. ,
-175,541,openehr,en,Instruction transitions,do,Do the activities in the Instruction in one go  taking the state machine directly from the planned to the completed state. Used for Instructions whose activities are instantaneous in the practical sense  e.g. a single vaccination  single tablet. ,
-176,542,openehr,en,Instruction transitions,postponed step,Any step in the postponed state of the Instruction. ,
-177,543,openehr,en,Instruction transitions,active step,Any step taken during the active phase of the Instruction  e.g. nurse’s observation  adjustment of dose. ,
-178,544,openehr,en,Instruction transitions,suspend,Suspend the activities from the active phase  with the possibility of later resumption. ,
-179,545,openehr,en,Instruction transitions,suspended step,Any step taken in the suspended state  e.g. nurse’s observation  pathology test to determine if the Instruction should be resumed  remain suspended or aborted. ,
-180,546,openehr,en,Instruction transitions,resume,Resume the Instruction from the suspended state. ,
-181,547,openehr,en,Instruction transitions,abort,Abort the Instruction  i.e. stop its execution permanently after it has started. ,
-182,548,openehr,en,Instruction transitions,finish,Finish performing the Instruction  taking it to the completed state. ,
-183,549,openehr,en,Instruction transitions,time out,Time out has occurred  taking the Instruction from some pervious state into the expired state. ,
-184,551,openehr,en,Instruction transitions,notify completed,Occurs when notification of Instruction having been completed is received after expiry. ,
-185,552,openehr,en,Instruction transitions,notify cancelled,Occurs when notification of Instruction having been cancelled is received after expiry. ,
-186,553,openehr,en,version lifecycle state,incomplete,Item is incomplete at time of committal  in the view of the author. Further editing or review needed before its status will be set to finished”. ,
-187,640,openehr,en,event math function,actual,Value of the datum was the value indicated during the entire time of the event  i.e. it is not an averaged or other computed value. ,
-188,648,openehr,en,attestation reason,witnessed,This attested information has been witnessed by the signatory. ,
-189,666,openehr,en,audit change type,attestation,Existing data were attested. ,HL7_CDA: CEN: 
-190,669,openehr,en,term mapping purpose,public health,Public health related term mapping. ,
-191,670,openehr,en,term mapping purpose,reimbursement,Reimbrusement / billing related term mapping. ,
-192,671,openehr,en,term mapping purpose,research study,Term mapping.for research study ,
