35
การสร้างความรู้จากข้อมูลที่มีอยู ่แล้วใน 43 แฟ้ ม Shift From Mr. Post man to TheGreat Chef Knowledge Creation from Existing data (43 Files)

Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

การสรางความรจากขอมลทมอยแลวใน 43 แฟม Shift From Mr. Post man to TheGreat Chef

Knowledge Creation from Existing data (43 Files)

Page 2: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Content

1. Standard Data Set (43 แฟม) และ Table ปกปด (Person ,death , Provider)

2. Health Data Center (HDC) 3. Table Nutrition & Related Table 4. Physical File & Logical File Design. 5. คาสง SQL แบบงาย (3 ตวอยาง)

6. การประเมนภาวะโภชนาการ 7. การทา Rapid Survey ทาง 43 แฟม

8. การสรางเครอขาย เพอ Learn and Share

Page 3: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

HospXP

JHCIS

Other

การ Convert ขอมลในโปรแกรมตางๆใหเปน 43 แฟม

43 แฟม

Standard Data Set (Text) Data Base

Page 4: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

ขอมล 43 แฟม

Page 5: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล
Page 6: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล
Page 7: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Data Structure Table Person (Variable Label , Value Labe)

Page 8: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล
Page 9: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล
Page 10: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

สรป HDC • สงขอมลแลวแปลงเปน One record โดยเรยงวาคนเดยวกนนมารบบรการใน

สถานบรการตางๆภายในจงหวด ยอนหลงไปในเวลาอนสมควร (ยกเวนบางกรณ เชน anc ทถาระบรหสสถานบรการทอยคนละจงหวด กสามารถทจะเรยงเปน one Record ได)

• กรองขอมลวาตามเงอนไขทกาหนด ออกมา ทไมไดตามเกณฑจะถกตดออก

• ทาการประมวลผลในสวนทกรองขอมลทกรองแลว แลวไปสราง table สาหรบ report

• การประมวลผล ระดบ อาเภอ /จงหวด/เขต/ประเทศ นนจะประมวลเฉพาะใน Table สาหรบ report เทานน ไมใชเขาไปประมวลใน 43 แฟม

• สงขอมล OPD ภายใน 7 วน IPD ภายใน 1 เดอน และจะ update ขนฐาน สนย.ในชวง 0.00 – 6.00 น.

• ขอมลท Not Null แตไมมขอมล พอ Upload ขน record นนะจะไมเขา

Page 11: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Area type ใน Table Person

Dp pop คอ Area Type 1,3

ใหระวงตวหาร 1.Hospital Base (Percentage) 2.Community base (Coverage)

ขอมล OPD delay <1 week IPD delay < 1 Month Update ทกวน 0.00-6.00 น.

Page 12: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

สงท users จะรองขอจาก IT

• ประชากร (Population) หมายถง ขอมลทงหมด

• ตวอยาง (Sample) หมายถงขอมลบางสวนของประชากร

• พารามเตอร (Parameter) คอ เงอนไขเฉพาะทจะใชในการหาขอมล

• คาสถตทจะใช เชน percente

Page 13: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Data Center สนย

DATA Information Knowledge

Processing Put Meaning

DATA Center

(Province) Information Knowledge

Processing Put Meaning Data Center

Hospital

More Specific More Specific

Data Flow & Feed back

Page 14: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Convert Text Database เพอ Query ได

43 แฟมในรป Text File 43 แฟมในรป Database File

Page 15: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Table Nutrition (23)

Page 16: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Logical File Design

Page 17: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

คาสง MySQL อยางงาย คาสงท 1

• Select * from person • Select * from nutrition

• Select * from nutrition where date_serv between ‘2015-05-01’ and ‘2015-05-31’

เงอนไข = Parameter

Select ชอ Filed from ชอ File where เงอนไข

Page 18: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

คาสง MySQL อยางงาย คาสงท 2

• Select food,count(*) as bf from nutrition where date_serv between ‘2015-05-01’ and ‘2015-05-31’ group by food

• Select childdevelop,count(*) as dev from nutrition where hospcode=‘12286’ group by childdevelop

Select ชอ Filed,count(*) as ชอ field from ชอ File where เงอนไข group by ชอ Field

Page 19: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

คาสง MySQL อยางงาย คาสงท 3

select hospcode,sum(DRUGPRICE) as value from drug_opd GROUP BY hospcode

Select ชอ Filed,sum(*) as ชอ field from ชอ File where เงอนไข group by ชอ Field

Page 20: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

การประเมนภาวะโภชนาการ

1. ตองรวา indicators ทใชในการประเมนภาวะโภชนาการไดแกอะไรบาง

2. ตองรวาตวแปรทใชในการคานวณภาวะโภชนาการ เกบอยใน Table ใด ใน 43 แฟม

3. ตองรวา จะนาตวแปรดงกลาว ไปเปรยบเทยบกบมาตรฐานใด

4. ตองรวาวธการแปลผล (interpretation) 1. รอยละของภาวะโภชนาการ ระดบตางๆ

2. คาทไดจากขอ 1 เมอเปรยบเทยบกบพนทอนๆแลว เปนปญหาสาธารณสข หรอไม

5. ตองรวา Information ทไดมความนาเชอถอเพยงไร

Page 21: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Indicator ทเกยวกบภาวะโภชนาการ

1. Weight for Age (WFA) 2. Height for Age (HFA) 3. Weight for Height (WFH) 4. BMI for Age 5. Head circumference for age ? พฒนาการ

Page 22: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

ตองรวาตวแปรทใชคออะไร และอยท Table ใด

1. ตวแปรทใช คอ

1. ตวแปรรวม อาย เพศ ,id (hospcode,pid) 2. นาหนก สวนสง WFA,HFA,WFH,BMI for age 3. เสนรอบศรษ HCA (Head Circumference for age)

2. Table ทใช

1. Table person hospcode,pid,sex,birthdate 2. Table nutrition

Page 23: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

จะใช Standard ใดในการประเมนภาวะโภชนาการ

Page 24: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Standard (องเกณฑ) & Reference (องกลม)

• Growth Standard ของ กรมอนามยทาแบบองกลม อาย 0-15 ป ศกษาป 2542 ทากบเดกไทยทสมได ไมม exclusion criteria ภายใตสมมตฐานวา สวนสง & นาหนก เปน Normal Distribution ปรบขนบนไดของกราฟดวยวธการ Moving Average

• WHO Growth Standard ทาแบบองเกณฑ อาย 0-5 ป ประกาศใช 2006 วตถประสงค เพอเปรยบเทยบเดกทวโลกกบ gold Standard น ม Exclusion Criteria คอแมสมบรณ ไมสบบหร และ Breast feeding สวนเดกนน Exclude เดกผดปกต เนองจากการกระจายของ สวนสงเทานนทเปน Linear สวนของ นาหนก/อาย นาหนก/สวนสง BMI นนไมเปน Linear จงใช BCPE (Box Cox Power Exponential) โดยใช LMS Method

คาท + 2 SD = M(t)*[1+L(t)*S(t)*2]^1/L(t)

Page 25: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Data Distribution Linear or Non Linear

Page 26: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

WHO Growth

คาท + 2 SD = 9.1649*[1+0.082*0.10891*2]^1/0.082

Page 27: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

HC & BMI

Page 28: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

WFL WFH

Page 29: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Interpretation WFA

Page 30: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Interprete HFA

stunt

Page 31: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Interprete WFH

Page 32: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

L= 0.082M 9.1649S 0.10891

interpret<-2SD 1-2 SD 7.356558 2-1.5 SD 7.774988+1.5 SD 10.77966+2SD 11.37341 4>2 SD 5

3

WFA ชาย อาย 10 เดอน นาหนก 10.8 kg

Page 33: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Derived Data จากการประมวลผล

Growth = Growth ของ กรมอนามย เปน Character 3 หลก คอ 343 (เรยงตามลาดบดงน WFA,HFA,WFH) * Growth_who Character 5 หลก เรยงตามลาดบดงน (WHF,HFA,WFH,BMIFA,HCFA) Select substr(growth,1,1) as wfa,count(*) as number From nutritions Group by substr(growth,1,1)

Page 34: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Valid Data กรณตวอยางเรอง Growth

Input

Process

Output

1.Man = ความร / ทกษะ /

2.Material = เครองชงนาหนก/ เครองวดสวนสง

1.SamplingMethod /Bias 2.เทคนคการชงนาหนก / การวดสวนสง /หนวยวด/ทศนยม

เดกอาย < 2 ปใชวดความยาวแทนวดสวนสง

3.การคดอาย

Raw Data ทจาเปน เพอใชในการประเมน Growth Age , Sex , Weight ,Height

Processing Raw Data

1.วธการคานวณ

2.Standard ท

จะใชเปรยบเทยบ

Information/ Knowledge

1.Interpret 2.Conclusion

Page 35: Shift From Mr. Post man to TheGreat Chefdoh.hpc.go.th/data/plan58/knowledgeCreationFormExisting...การสร างความร จากข อม ลท ม อย แล

Population & Sample

เขตเมอง (เทศบาล)

เขตชนบท (อบต)

Cluster Sampling

Stratified Sampling

Non Homogeneus Population

Homogeneus Poupulation

Sample

Sample