OpenLLM-France/wikimedia huggingface dataset:
# Traditional Chinese Medicine
## Wikibooks - Traditional Chinese Medicine Project

TCM | Pulse | TCM Terms | Acupuncture | Formula Design | Single Herbs | Usage Of Herbs | Prescriptions | Usage Of Prescriptions | Sources | Materia Medica | Interactions |
Glossaries
* Introduction
** Overview
** History
* Fundamentals
* Diagnosis and Differentiation
* Diagnosis
** Looking
** Smelling and Listening
** Asking
** Pulse Palpation
* Acupuncture
* TCM Materia Medica
* Formula Design
* Formulas
* Classification Of Prescriptions
* Traditional Chinese Herbology And Pharmacology
* Glossaries

## Medical Disclaimer

Wikibooks contains books on many medical topics; however, no warranty whatsoever is made that any of the books are accurate. There is absolutely no assurance that any statement contained or cited in a book touching on medical matters is true, correct, precise, or up-to-date. The overwhelming majority of such books are written, in part or in whole, by nonprofessionals. Even if a statement made about medicine is accurate, it may not apply to you or your symptoms.
The medical information provided on Wikibooks is, at best, of a general nature and cannot substitute for the advice of a medical professional (for instance, a qualified doctor/physician, nurse, pharmacist/chemist, and so on). Wikibooks is not a doctor.
None of the individual contributors, system operators, developers, sponsors of Wikibooks nor anyone else connected to Wikibooks can take any responsibility for the results or consequences of any attempt to use or adopt any of the information presented on this web site.
Nothing on Wikibooks.org or included as part of any project of Wikimedia Foundation Inc., should be construed as an attempt to offer or render a medical opinion or otherwise engage in the practice of medicine.
# Traditional Chinese Medicine/An Gong Niu Huang Wan

The formula An Gong Niu Huang Wan (安宫牛黄丸), designed to induce resuscitation by clearing away heat, eliminating phlegm and removing toxins, consists of the following:
| No. | Pinyin | Simplified Chinese | Grams |
| 1 | Niu Huang | 牛黄 | 100 |
| 2 | Yu Jin | 郁金 | 100 |
| 3 | Xi Jiao [or Shui Niu Jiao] | 犀角 [水牛角] | 20 [200] |
| 4 | Huang Lian | 黄连 | 100 |
| 5 | Zhu Sha | 朱砂 | 100 |
| 6 | Bing Pian | 冰片 | 25 |
| 7 | She Xiang | 麝香 | 25 |
| 8 | Zhen Zhu | 珍珠 | 50 |
| 9 | Shan Zhi Zi | 山栀子 | 100 |
| 10 | Xiong Huang | 雄黄 | 100 |
| 11 | Huang Qin | 黄芩 | 100 |
| 12 | Jin Bo | 金箔 | |
Caution:
(Further clarified by Traditional Chinese Medicine practitioner, translation provided by person based in the United States.)
back to:
* Inducing Resuscitation By Clearing Away Heat
* Formula Design
* Prescriptions
* Usage Of Prescriptions
# Traditional Chinese Medicine/Aromatic Damp-Dissolving Herbs

* Cang Zhu (Rhizoma Atractylodis)
* Hou Po (Cortex Magnoliae Officinalis)
** Hou Po Hua (Flos Magnoliae Officinalis)
* Huo Xiang (Herba Agastache)
* Guang Huo Xiang (Herba Pogoslemon)
* Pei Lan (Herba Eupatorii)
* Sha Ren (Fructus Amomi)
* Sha Ren Ke (Pericarpium Amomi)
* Bai Dou Kou (Fructus Amomi Rotundus)
* Bai Dou Kou Ke (Pericarpium Amomi Rotundus)
* Cao Guo (Fructus Tsaoko)
* Cao Dou Kou (Semen Alpiniae Katsumadai)
back to : Traditional Chinese Herbology And Pharmacology
# Traditional Chinese Medicine/Anti-Parasitic Prescriptions

Anti-parasitic prescriptions include the following:
* Wu Mei Wan (Mume Pill)
** Li Zhong An Hui Tang (Regulate the Middle and Calm Roundworms Decoction)
** Lian Mei An Hui Tang (Picrorhiza and Mume Decoction to Calm Roundworms)
* Fei Er Wan (Fat Child Pill)
** Jin Jian Fei Er Wan (Golden Pill to Construct a Fat Child)
* Bu Dai Wan (Cloth Sack Pill)
* Hua Chong Wan (Dissolve Parasites Pill)
* Fa Mu Wan (Quell Wood Pill)
back to:
Reference: John K Chen and Tina Chen: "Chinese Herbal Formulas and Applications". Art of Medicine Press Inc. 2009. ISBN-10: 0-9740635-7-6
# Traditional Chinese Medicine/Antiparasitic Herbs

* Shi Jun Li (Fructus Quisqualis)
* Ku Lian Pi (Cortex Meliae)
* Bing Lang (Semen Arecae)
* Nan Gua Zi (Semen Cucurbitae Moschatae)
* Fei Zi (Semen Torreyae)
* He Shi (Fructus Carpesii)
* Wu Yi (Fructus Ulmi Praeparatus)
* Lei Wan (Omphalia)
* He Cao Ya (Gemma Agrimoniae)
* Guan Zhong (Rhizoma Dryopteridis)
back to : Traditional Chinese Herbology And Pharmacology
# Traditional Chinese Medicine/Arresting Bleeding By Clearing Away Heat

* Shi Hui San
* Huai Hua San
* Huai Jiao Wan
back to :
# Traditional Chinese Medicine/Acupuncture

TCM | Pulse | TCM Terms | Acupuncture | Formula Design | Single Herbs | Usage Of Herbs | Prescriptions | Usage Of Prescriptions | Sources | Materia Medica | Interactions |
Glossaries

## Acupuncture Meridians And The Locations Of Points

The points (穴) used in acupuncture can be found along the meridians, channels or other parts of the body.

### The Twelve Regular Meridians

The 12 regular meridans are:
* Lung Meridian
* Large Intestine Meridian
* Stomach Meridian
* Spleen Meridian
* Heart Meridian
* Small Intestine Meridian
* Urinary Bladder Meridian
* Kidney Meridian
* Pericardium Meridian
* San Jiao Meridian
* Gallbladder Meridian
* Liver Meridian

### Extraordinary Meridians

There are eight extraordinary meridians, but only two of these have unique acupuncture points:
* Ren Mai
* Du Mai

### Locations of Points In Other Parts Of The Body

* Head And Neck Acupuncture Points
* Chest And Abdomen Acupuncture Points
* Back Acupuncture Points
* Upper Extremities Acupuncture Points
* Lower Extremities Acupuncture Points

## Acupuncture Meridians And The Dimension Of Time

The qi energy flows throughout the body. Depending on the time of day, qi energy is more prevalent at different meridians as shown in the table below:
| Meridian | Time of Day |
| Lung | 3am – 5am |
| Large Intestine | 5am – 7am |
| Stomach | 7am – 9am |
| Spleen | 9am – 11am |
| Heart | 11am – 1pm |
| Small Intestine | 1pm – 3pm |
| Bladder | 3pm – 5pm |
| Kidney | 5pm – 7pm |
| Pericardium | 7pm -9pm |
| San Jiao | 9pm – 11pm |
| Gallbladder | 11pm – 1am |
| Liver | 1am – 3am |
Lung Meridian | Large Intestine Meridian | Stomach Meridian | Spleen Meridian | Heart Meridian | Small Intestine Meridian | Urinary Bladder Meridian | Kidney Meridian | Pericardium Meridian | San Jiao Meridian | Gallbladder Meridian | Liver Meridian | Ren Mai | Du Mai | Head And Neck Acupuncture Points | Chest And Abdomen Acupuncture Points | Back Acupuncture Points | Upper Extremities Acupuncture Points | Lower Extremities Acupuncture Points
# Traditional Chinese Medicine/Arresting Bleeding By Warming The Spleen

* Huang Tu Tang
* Gan Cao Gan Jiang Tang
* Gu Chong Tang
back to :
# Zoph

Zoph (Zoph Organizes Photos) is a web based digital image presentation and management system. In other words, a photo album. It is built with PHP and MySQL. You can run it on your own server, but it's also compatible with most webhosting solutions.
Many people store their photos in the digital equivalent of a shoe box: lots of directories with names like 'Holiday 2008', 'January 2005' or even 'Photos034'. Like shoe boxes, this is a great way to put your photos away, but not such a great way to find them back or even look at them. Zoph can help you to store your photos and keep them organized.
While most photo album projects are primarily targeted at showing your photos to others, Zoph is primarily targeted at keeping your photos organized for yourself, giving you granular control over what you'd like to show to others, on a per-album or even a per-photo basis.
If you just want to generate a gallery of thumbnails from a bunch of images, you may want to try one of the other numerous photo album projects. But if you want to also store additional information about your photos, search them, or control access to them, take a look at Zoph.

## Table of contents

* Requirements
* Installation
* Configuration
** config.inc.php
** zoph.ini
* Upgrading
* Using the Webinterface
** Importing photos
* Using the commandline tools
** Detailed overview of the zoph CLI client
* Solving problems
** Debug
* Changelog
* Roadmap
# Zoph/Configuration/zoph.ini

As of Zoph 0.8.2 zoph.ini is one of the two configuration files for Zoph. config.inc.php is the other one, which is described in the chapter on configuration.
In zoph.ini tells Zoph where it can find the database and it tells Zoph's CLI scripts where it can find your Zoph installation. Normally, zoph.ini will be placed in /etc. If you have no write access in /etc or have another reason to not put this file there, you should change the INI_FILE setting in config.inc.php and the 'zoph' CLI utility.
Never, ever, place it in the same directory as the Zoph PHP files. This will enable everyone to download it and read your passwords.
An example zoph.ini file called zoph.ini.example is included in the cli dir of the Zoph tarball.

## Contents of zoph.ini

zoph.ini consists of one or more sections. A section starts with the name of the section between square brackets.
You should create a section for each Zoph installation on your system. The section name is a descriptive name that you can choose yourself. Each section must contain the following settings:

### db_host

    The hostname of the system that is running your MySQL server, usually "localhost".

### db_name

    The name of the database. If you have followed the installation instructions closely, this will be zoph, but of course you are free to use any other name.

### db_user

    The user to connect to your Zoph database. If you have followed the installation instructions closely, this will be zoph_rw, but of course you are free to use any other name.

### db_pass

    Password to connect to the database. This is what you have set while creating users for Zoph in MySQL.

### db_prefix

    Zoph can prefix all MySQL table names with a prefix string. This is especially useful for people who only have a single database to use and want to use multiple applications on, for example, a shared hosting environment. By default, this is "zoph_".

### php_location

    With the php_location setting, you define where the PHP-files for your Zoph installation are located. This is necessary for the Zoph CLI scripts to locate the rest of your Zoph installation.
All values that contain non-alphanumeric characters must be enclosed in double quotes. It won't hurt to use quotes even if the values are purely alphanumeric.

## Examples
### Single installation

Most Zoph users will have only one Zoph installation on their system. This is how a zoph.ini for a single installation looks:

### Multiple installations

You can have multiple Zoph installations on one system. For example, one for yourself and one for a family member or friend; or, if you are a Zoph developer, a development and a productions environment. If you have more than one Zoph installation, simply create a section per installation. For example:
The webinterface of Zoph will be able to determine which settings it should use with the php_location setting. The CLI scripts need the --instance parameter to determine that. If you omit the --instance parameter, it will use the first one in zoph.ini.
# Zoph/Configuration
## Database access parameters

Access to the database needs to be configured through /etc/zoph.ini. You will need to do this prior to accessing Zoph via the Web GUI. Please see the installation documentation and zoph.ini for details.

## Web GUI

Most of Zoph can be configured from the Web GUI. Log in as a user with admin rights. If you haven't created a user for yourself, you can login with the user admin. Go to "admin" in the top menu and then choose "config". The configuration items should be self-explanatory.
When you first get started with Zoph, you should at least change the following:

### Images path

Images directory under paths. This is the directory where your photos are stored. It should be an absolute path (that is: referenced from the root) and it should not be in your webroot. See the installation documentation for how to set the correct access rights for this directory.

### Sharing Salt

Salt for sharing full size images and Salt for sharing mid size images under Sharing. You should set these salts to unique values. You can do so by clicking the generate buttons. Even though you will not need these unless you enable Sharing, it is a good idea to make sure you have a unique salt set. (and Zoph will refuse to save your configuration if you don't).

### Enable import and upload

Import through webinterface and Upload through webinterface under Import. Unless you plan to use the CLI import exclusively, you should enable import through the web interface here.

### Interface title

Title under Interface settings. You probably want to change the name Zoph will show on the login page and in the title bar.

## config.inc.php

There are a few configuration settings that can only be changed in config.inc.php. Most users will never need to change anything here. For details see config.inc.php.
# XForms/Horizontal File Tab Menu Highlighted
## Motivation

Complex web forms frequently break tasks up into multiple views that can be navigated by the user. These views are access by a set of "file tabs" at the top of a screen. But the user needs feedback on which tab is the current tab and we would like to do this without resorting to complex JavaScript.

## Approach: Use the CSS-3 :target pseudo element

This example uses the CSS-3 :target pseudo element to highlight the selected tab. This tag is associated with the part of a web page that is specified by the label. For example you can append a label to a URL like the following:
http://www.example.com/mypage.html#mylabel
Note: This works only in CSS-3 and will not work under IE-6.
Note that this example is very similar to the prior example but it uses a HTML anchor instead of a trigger.

## Discussion

The selected file-tab should highlight in a light gray. The other menus should be in a dark gray and appear to be more in the background. The content associated with each tab should be visible.
Note that if you want the first tab to highlight on page load, you must use the #tab1 in the URL.

## Possible areas for improvement

Although this "hack" works and it does get rid of some commonly occurring JavaScript, it is still lacking in several ways.
* You can only have a single selected tab on a page.
* There is no way to highlight the initial tab without adding the label in the URL
* The label gets stuck in the URL and makes things like bookmarking problematic
Ideally XForms would include a :selected pseudo element that would allow you to apply a different style to a selected item within a group. Perhaps someone will do this as a custom control to FireFox.
I should also note I have tried to add a class to the tab1 div called "selected" and added it to the CSS to select it initially, but then it does not unselect when I select a different tab. I can't find an easy way to dynamically add or remove a class to an element in the body of an XForm. There does not appear to be a <xf:class add="selected"> command. Perhaps that will be added to future version of the XForms specification.

## Other Examples

The following example shows how tab elements can be stored within a model: Kurt Cagle Tab Example
# XForms/Hierarchical Bookmarks
## Motivation

We often need to be able to edit groupings of data. This example demonstrates how groupings of records (a section of bookmarks) can be modified as a block. This example uses nested <repeat> to achieve this.

## Link to working example

Bookmarks Example

## Sample bookmarks.xml File

This is the file that is read into the instance and updated when save is clicked.

## Discussion

This example does not have re-ordering.

## References

This version was inspired by an example program on the w3c web site.
# XForms/Horizontal File Tab Menu
## Sample Horizontal Tab Menu

This is an example of a horizontal tab menu using CSS and the XForms switch and case statements. Both the tab inside the horizontal tab menu and the div inside the case have the same background color giving the appearance of the selected tab popping to the front of the others.

## Screen Image

You should see a menu that looks similar to this when running under the FireFox browser:
Note that the tab that is selected has the same color of the content.

## Link to XForms Application

Horizontal Tabbox

## Testing

Note that the text under the selected tab changes when you click on the tab.

## Discussion

One of the best ways to reduce your JavaScript is to start converting your menus to use XForms.
This example can be modified to also conditionally display tabs based on state variables in the model.
This example should be made consistent with the XUL tabbox element. If XForms used all the XUL elements this entire example would be much easier to be a standard.
Hopefully XUL and XForms will be consistent in the future.

## Using the target pseudo element

Here is an example that uses the CSS-3 target pseudo element:
W3C Target Example
We could also modify the example to work with XForms.

## Using the Non-Standard Attribute Value Templates (AVT)

XForms version 1.0 does not include the ability to put conditional statements within attribute values. Attribute values are text right of the equal sign usually enclosed in double quotes.
Some vendors that have implemented a feature called "AVT" that can be used to conditionally change the values of class attributes. For example:
This effectively will change the style for each tab to use the selected or not-selected style.
Future versions of XForms standards may include AVT functions.

## References

Kurt Cagle's Article on Tabs on XML Today
# XForms/Incremental Many to One
## Motivation

Sometimes a single input field will be used to create a new output. Not only does the input field need to be updated, but other fields that depend on this input also need to change.
Here is an example program that has three input fields. As an example, it uses a data dictionary entry (called a Data Element). The name of the Data Element is a concatenation of three fields: the Object Class Name, the Property Name and the Representation Term. The first two are text fields and the third is a value that is picked from a list.
This form creates a single output based on the values of the input fields. This shows that the model can take many different inputs and create a single output.

## Link to working XForms Application

Load XForms Application

## Discussion

How can you then take that output and put it back into the model? This will be covered later in the tutorial.
# XForms/Incremental Find
## Motivation

You want to show a sample list of search keywords as the user types them into a search field.

## Acknowledgments

This example was created by Alain Couthures of agencexml.com
# XForms/HelloWorld
## Background and Motivation

Since K&R wrote the first book on C programming, it has become tradition for programming books to begin with a "Hello World" program. Running this program will indicate if you have XForms installed correctly.
Here is a sample "hello world" program in XForms. It uses one input, one variable in the model, and one output. You should be able to just copy and paste the text into a program such as Notepad and save it to a file such as hello.htm. This will tell you if you have the Firefox or other browser extension installed correctly.

## Screen Image

(Note that this is only a .jpg and NOT an actual form!)

## Link to Working Example

Hello World
Hosted *hello world* example

## Program

To run this program, just copy the following text into a file "hello.xhtml" and open it with your web browser with the appropriate XForms extension loaded.

## Problems

If this program does not work, you may not have the extension or plug-in installed in your browser.
For help see Installing XForms in FireFox.
Note that if you have the NoScript Firefox extension installed, you may need to configure NoScript to allow scripts from the location from which you are loading HelloWorld.
Also note, in Firefox the file has to be saved with a xhtml or xml extension. A file with a .html exension won't show the XForms.

## Discussion

Note that the file looks much like a standard HTML file with a few exceptions.
* there is a namespace declaration at the beginning of the file and there are two elements with a xf: prefix in front of them.
* there is something called a model inside the HTML <head> element
* There are some new elements: input and output.
The two important lines are:
and
As the user types, this line takes the input that the user types in and copies it to the instance variable "PersonGivenName". Each time you type a character this program updates the output and using the XPath concat function to wrap the string "Hello " in front of the name and the string ". We hope you like XForms!" after it.
You should also note that there is not a single line of JavaScript required to run this program. Getting rid of JavaScript is one of the biggest reasons people are migrating their applications to XForms.

## Experiment

Try changing the input attribute incremental from:
to:
The output should update only after you enter "Tab" or press the "Enter" (Return) key.
# XForms/Highlight Selected Row
## Motivation

It is very often useful to highlight the selected row. This is done with a xform-repeat-index pseudo element in the style sheet.

## CSS

By adding the following to your CSS the selected row will be highlighted in blue:

## Screen Image

This example highlights the background of the selected row.
This example was run using the FormFaces system.

## Discussion

Note that this only works when you select a row an click your cursor on the input field. The result is that the value of the index for the selected list will change. This can be used by the functions that add or delete a selected row.

## Known bugs

This appears to not be functional under the FireFox extension as of 0.6.
# XForms/Horizontal File Tab Menu Highlighted With Binding
## Motivation

This is another approach for a horizontal file tab menu.

## Approach: Use a binding with a relevant attribute and the CSS-3 :enabled and :disabled pseudo classes

This example uses an instance to record which tab is currently selected. In conjunction with a binding with a relevant attribute it is possible to use the CSS-3 :enabled and :disabled pseudo classes to highlight the selected tab. The relevant condition is the selected attribute of a tab. The triggers refer to the instance. If a tab in the instance has a selected attribute set to "true" the corresponding trigger is "enabled" the other triggers are disabled (and by default not visible). They are made visible in the CSS statement for the disabled triggers. Two additional lines are needed in the case statements to toggle the selected attribute in the instance for each tab. The two events "xforms-select" and "xforms-deselect" are used to set the values.
Note: This approach is only tested with Firefox 3.0 and the Mozilla XForms Plugin 0.8.6ff3.
Note that this example is based on the Horizontal File Tab Menu Highlighted example but uses a trigger, menu and events to toggle the tabs instead.

## Sample XForms Application

Load XForms Application

## Discussion

The selected file-tab should highlight in a light grey. Setting the selected attribute of a tab to "true" in the instance, highlights the tab on page load. The corresponding selected attribute of the case should be set accordingly. Some additional code is needed to simulate the toggeling of the triggers. A better approach would be to have a build in mechanism doing something similar.
# XForms/IIS

The authors have not yet tried to configure IIS to work with XForms but there is plenty of documentation on the web about how to do this. One example is:
This example includes screen images of the IIS administration tool.
IIS also has an access log file that will put 405 errors in it if there are still problems.
Any contributions would be helpful.