Kulumikizana kwa MedlinePlus: Web Service
Zamkati
- Zowunikira pa Webusayiti
- Magawo linanena bungwe
- Zofunsira Kuzindikira (Vuto) Ma Code
- Sankhula magawo
- Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Pempho la Code Code
- Zitsanzo Zofunsira Ma Code Amavuto
- Ntchito Zogwirizana ndi Mafayilo
- Zopempha za Chidziwitso cha Mankhwala Osokoneza Bongo
- Sankhula magawo
- Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Zofunsa Zamankhwala
- Zitsanzo Zofunsira Ma Code A Mankhwala Osokoneza bongo
- Zopempha za Mayeso a Labu
- Sankhula magawo
- Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Zofunsira Kuyesa kwa Labu
- Zitsanzo Zofunsira Kuyesedwa kwa Labu
- Ndondomeko Yovomerezeka Yogwiritsira Ntchito
- Zambiri
MedlinePlus Connect imapezeka ngati tsamba la Webusayiti kapena ntchito yapaintaneti. Pansipa pali zidziwitso zakukwaniritsa ntchito yapaintaneti, yomwe imayankha zopempha kutengera:
Mwalandilidwa kulumikizana ndikuwonetsa zomwe zidabwezedwa ndi MedlinePlus Connect. Simungathe kukopera masamba a MedlinePlus patsamba lanu. Ngati mugwiritsa ntchito chidziwitso kuchokera ku MedlinePlus Connect Web Service, chonde dziwitsani kuti chidziwitsochi akuchokera ku MedlinePlus.gov koma osagwiritsa ntchito logo ya MedlinePlus kapena kutanthauza kuti MedlinePlus imavomereza zomwe mwapanga. Chonde onani tsamba la API la NLM kuti mumve zambiri. Kuti mumve zambiri zamomwe mungalumikizire ndi zomwe zili pa MedlinePlus kunja kwa ntchitoyi, chonde onani malangizo ndi malangizo athu polumikizana.
Ngati mungaganize zogwiritsa ntchito MedlinePlus Connect, lembetsani mndandanda wa imelo kuti mukhale ndi zomwe zikuchitika ndikusinthana malingaliro ndi anzanu. Chonde tiuzeni ngati mutagwiritsa ntchito MedlinePlus Connect polumikizana nafe.
Zowunikira pa Webusayiti
Zomwe magawo amafunsira kutsamba la Webusayiti amatsata HL7 Context-Aware Knowledge Retrieval (Infobutton) Knowledge Request URL-based Implementation Guide. Yankho lochokera ku REST limafanana ndi HL7 Context-Aware Knowledge Retrieval (Infobutton) Service-Oriented Architecture Implementation Guide. Zotsatira za pempholi zitha kukhala XML mu mtundu wa chakudya cha Atom, JSON, kapena JSONP.
Kapangidwe ka pempholi kakuwonetsa mtundu wa nambala yomwe mukutumiza. Nthawi zonse, ulalo woyambira pa Webusayiti ndi: https://connect.medlineplus.gov/service
MedlinePlus Connect imagwiritsa ntchito kulumikizana kwa HTTPS. Zopempha za HTTP sizilandiridwa ndipo kukhazikitsa komwe kuli kale pogwiritsa ntchito HTTP kuyenera kusinthidwa kukhala HTTPS.
Magawo linanena bungwe
Izi ndizosankha. Mukawasiya, yankho losasintha ndi chidziwitso cha Chingerezi mu mtundu wa XML.
Chilankhulo
Dziwani ngati mungafune kuti yankho likhale mu Chingerezi kapena Chisipanishi. MedlinePlus Connect itenga Chingerezi ngati chilankhulo ngati sichinafotokozeredwe.
Ngati mukufuna yankho pakuyang'ana nambala yazovuta kuti likhale m'Chisipanishi, gwiritsani ntchito: informationRecipient.languageCode.c = es
(= sp inavomerezedwanso)
Kuti mufotokozere Chingerezi, gwiritsani ntchito izi: informationRecipient.languageCode.c = en
Mtundu
Dziwani ngati mukufuna mtundu wa mayankho kukhala XML, JSON, kapena JSONP. XML ndiye chosasintha.
- Kuti mufunse JSON, gwiritsani ntchito:
- knowledgeResponseType = ntchito / json
- Kwa JSONP, gwiritsani ntchito:
- knowledgeResponseType = application / javascript & callback = CallbackFunction pomwe CallbackFunction ndi dzina lomwe mumayimbiranso ntchito.
- Kuti muyankhe mu XML, gwiritsani ntchito:
- knowledgeResponseType = text / xml kapena siyani chidziwitsoResponseType parameter pempho.
Zofunsira Kuzindikira (Vuto) Ma Code
Kuti mukhale ndi vuto, MedlinePlus Connect ibwezera maulalo ndi zambiri kuchokera kumasamba azamitu a MedlinePlus, masamba amtundu, kapena masamba ochokera ku NIH Institutes.
MedlinePlus Connect ibwezeretsa izi:
Pangakhale kuti sipangakhale masewera ofanana nthawi zonse. Zikatero, MedlinePlus Connect idzabwezera yankho lachabechabe.
Ma URL oyambira a ntchitoyi ndi awa: https://connect.medlineplus.gov/service
Pali magawo awiri ofunikira pakufunsira kulikonse pantchitoyi:
- Ndondomeko ya Code
Dziwani dongosolo lazovuta lomwe mugwiritse ntchito.- Pogwiritsa ntchito ICD-10-CM:
- MainSearchCriteria.v.cs = 2.16.840.1.113883.6.90
- Pogwiritsa ntchito ICD-9-CM:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.103
- Pogwiritsa ntchito SNOMED CT:
- MainSearchCriteria.v.cs = 2.16.840.1.113883.6.96
- Code
Dziwani nambala yomwe mukuyang'ana:
MainSearchCriteria.v.c = 250.33
Sankhula magawo
Mutu Wamakalata
Muthanso kuzindikira dzina / mutu wa nambala yazovuta. Komabe, izi sizikhudza kuyankha (mosiyana ndi pulogalamu ya MedlinePlus Connect Web komwe dzina / dzina lamutu lingagwiritsidwe ntchito). mainSearchCriteria.v.dn = Matenda a shuga ndi mitundu ina ya chikomokere 1 yosalamulirika Onani gawo ili pamwambapa pa Zoyambira Pazambiri zamilankhulo ndi zotulutsa.
Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Pempho la Code Code
Chigawo | Mfundo zamakalasi | Kufotokozera |
---|---|---|
mutu | Mutu wa tsamba lofananira ndi MedlinePlus kapena tsamba la GHR | |
ulalo | Ulalo wofananira tsamba lamitu yazaumoyo ya MedlinePlus kapena tsamba la GHR | |
chidule | Chidule chonse cha mutu wathanzi. Izi zikuphatikiza maulalo ophatikizidwa pamitu ina yathanzi, ndi mitundu yonse, kuphatikiza zipolopolo ndi kutalikirana kwa ndime. Chidulechi chili mu HTML. Kwa masamba a GHR, gawo loyamba la tsamba lathunthu limaperekedwa. | |
chidule | Mawu ofanana ndi mutuwo. Awa amatchedwa "Amatchedwanso" patsamba lamitu yazaumoyo. Si mitu yonse yomwe ili ndi mawu "Otchedwanso". | |
chidule | Kuvomereza kwa Attribution kwa chidule, ngati chidule chonse chidachokera ku bungwe lina la feduro. Sizachidule zonse zomwe zili ndi chidziwitso. Malembo omwe sanaperekedwe ndi ochokera ku MedlinePlus. | |
chidule | Maulalo osankhidwa omwe akukhudzana ndi mutuwo. Izi zikuphatikiza dzina la tsambalo, ulalo, ndi bungwe logwirizana (zikafunika) Maulalo adapangidwa pamndandanda wazolemba. Simitu yonse yomwe ili ndi maulalo. Chiwerengero cha maulalo chimatha kuyambira zero mpaka makumi. |
Zitsanzo Zofunsira Ma Code Amavuto
Pempho lathunthu la Matenda a shuga ndi mitundu ina ya chikomokere 1 yosalamulirika, ICD-9 nambala 250.33, kwa wodwala wolankhula ku Spain adzakhala ndi adilesi iyi: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16 .840.1.113883.6.103 & mainSearchCriteria.vc = 250.33 & mainSearchCriteria.v.dn = Matenda ashuga% 20mellitus% 20with% 20other% 20coma% 20type% 201% 20uncontroll & informationRecipient.languageCode.c = es
Wodwala yemwe ali ndi matenda omwewo koma mawonekedwe omwe afunsidwa ndi JSON ndipo chilankhulo chake ndi Chingerezi: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.103&mainSearchCriteria.vc=250.33&nowledgeResponseType=application / json
Wodwala yemwe amapezeka ndi "Pneumonia chifukwa cha Pseudomonas" pogwiritsa ntchito SNOMED CT code 41381004: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.96&mainSearchCriteria.vc=41381004&mainSearchCriteria.v.dn= Chibayo% 20dzera% 20to% 20Pseudomonas% 20% 28disorder% 29 & informationRecipient.languageCode.c = en
Wodwala yemwe ali ndi matenda omwewo koma mtundu womwe wapemphedwa ndi JSONP: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.96&mainSearchCriteria.v.c=41381004&nowledgeResponseType=application/javascript&callback=Callback
Ntchito Zogwirizana ndi Mafayilo
Kuti mulandire mitu yazaumoyo ya MedlinePlus poyankha kupempha kwamalemba, mosiyana ndi manambala azovuta, fufuzani za MedlinePlus Web service. Komanso, ngati mukufuna mndandanda wathunthu wamitu yazaumoyo ya MedlinePlus mu mtundu wa XML, onani tsamba lathu la mafayilo a XML.
Zopempha za Chidziwitso cha Mankhwala Osokoneza Bongo
MedlinePlus Connect imapereka chidziwitso chabwino kwambiri cha mankhwalawa mukamalandira RXCUI. Zimaperekanso zotsatira zabwino mukalandira nambala ya NDC. MedlinePlus Connect ikhoza kupereka mayankho mu Chingerezi kapena Chisipanishi.
Pofunsira zambiri zamankhwala achingerezi, ngati simutumiza NDC kapena RXCUI kapena ngati sitipeza kufanana pamalondawo, pulogalamuyi imagwiritsa ntchito chingwe chomwe mumatumiza kuti chiwonetsetse chidziwitso chazabwino kwambiri cha mankhwala. Pofunsa zambiri zamankhwala aku Spain, MedlinePlus Connect imayankha ma NDC okha kapena ma RXCUIs okha ndipo sagwiritsa ntchito zingwe zolembera. Ndikotheka kukhala ndi mayankho mu Chingerezi koma osayankhidwa mu Spanish.
Ntchito ya Webusayiti ya MedlinePlus ibwezeretsa izi:
Pakhoza kukhala mayankho angapo pakapempha mankhwala amodzi. Pangakhale sipangakhale zofanana pamipempha iliyonse. Zikatero, MedlinePlus Connect idzabwezera yankho lachabechabe.
Pofunsira zamankhwala, URL yoyambira ndi iyi: https://connect.medlineplus.gov/service
Kutumiza pempho, onaninso izi:
- Ndondomeko ya Code
Dziwani mtundu wa nambala yamankhwala yomwe mumatumiza. (Chofunika pa Chingerezi ndi Chisipanishi)- Pogwiritsa ntchito RXCUI:
- MainSearchCriteria.v.cs = 2.16.840.1.113883.6.88
- Kugwiritsa ntchito NDC:
- MainSearchCriteria.v.cs = 2.16.840.1.113883.6.69
- Code
Dziwani nambala yomwe mukuyang'ana. (Wokonda Chingerezi, Wofunikira ku Spanish)
MainSearchCriteria.v.c = 637188 - Dzina la Mankhwala
Dziwani dzina la mankhwalawa ndi chingwe. (Chosankha mu Chingerezi, Chosagwiritsidwa ntchito ku Spanish)
mainSearchCriteria.v.dn = Chantix 0.5 MG Piritsi Yamlomo
Sankhula magawo
Mutu WamakalataMukatumiza pempho lachingerezi, mutha kuphatikiza dzina la mankhwalawo. Izi zafotokozedwa pamwambapa. mainSearchCriteria.v.dn = Chantix 0.5 MG Piritsi Yamlomo
Onani gawo ili pamwambapa pa Output Parameter kuti mumve zambiri pazilankhulo ndi zotulutsa.
Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Zofunsa Zamankhwala
Chigawo | Kufotokozera |
---|---|
mutu | Mutu wa tsamba lofananira la MedlinePlus |
ulalo | Ulalo wa tsamba lofananira la MedlinePlus |
wolemba | Chidziwitso chazidziwitso zamankhwala |
Zitsanzo Zofunsira Ma Code A Mankhwala Osokoneza bongo
Pempho lanu lazachipatala liyenera kuwoneka ngati limodzi mwa awa.
Kuti mufunse zambiri ndi RXCUI, pempho lanu liyenera kuwoneka motere: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.88&mainSearchCriteria.vc=637188&mainSearchCriteria.v.dn=Chantix% 200.5% 20MG% 20Oral% 20Tablet & informationRecipient.languageCode.c = zn
Kuti mufunse zambiri ndi NDC kwa wokamba nkhani waku Spain, pempho lanu liyenera kuwoneka motere: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.69&mainSearchCriteria.vc=00310-0751- 39 & informationRecipient.languageCode.c = es
Kuti mutumize chingwe chopanda kachidindo ka mankhwala, muyenera kudziwa funso lanu ngati pempho lamtundu wa NDC kuti MedlinePlus Connect idziwe kuti mukufuna zambiri zamankhwala. Izi zigwira ntchito zopempha za Chingerezi zokha. Pempho lanu lingawoneke motere: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.69&mainSearchCriteria.v.dn=Chantix%200.5%20MG%20Oral%20Tablet&informationRecipient.languageCode.c Language. = en
Zopempha za Mayeso a Labu
MedlinePlus Connect imapereka machesi pazidziwitso za labotale mukalandira pempho la LOINC. Ntchitoyi imatha kuyankha mu Chingerezi kapena Chisipanishi.
Ntchito ya Webusayiti ya MedlinePlus ibwezeretsa izi:
Pangakhale kuti sipangakhale masewera ofanana nthawi zonse. Zikatero, MedlinePlus Connect idzabwezera yankho lachabechabe.
Ma URL oyambira a ntchitoyi ndi awa: https://connect.medlineplus.gov/service
Izi ndi magawo awiri ofunikira pakufunsira kulikonse kwa labu kuntchito iyi:
- Ndondomeko ya Code
- Dziwani kuti mukugwiritsa ntchito makina a LOINC. Gwiritsani ntchito:
- MainSearchCriteria.v.cs = 2.16.840.1.113883.6.1
- MedlinePlus Connect ivomerezanso:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.11.79
- Code
dziwani nambala yomwe mukuyang'ana:
MainSearchCriteria.v.c = 3187-2
Sankhula magawo
Mutu WamakalataMuthanso kuzindikira dzina la mayeso a labu. Komabe, izi sizikhudza kuyankha. mainSearchCriteria.v.dn = Factor IX kuyesa
Onani gawo ili pamwambapa pa Output Parameter kuti mumve zambiri pazilankhulo ndi zotulutsa.
Kufotokozera kwa Selected Atom Elements (kapena zinthu za JSON) Poyankha Zofunsira Kuyesa kwa Labu
Chigawo | Kufotokozera |
---|---|
mutu | Mutu wa tsamba loyeserera labu la MedlinePlus |
ulalo | Ulalo wa tsamba loyeserera labu la MedlinePlus |
chidule | Snippet kuchokera patsamba |
wolemba | Chidziwitso chazomwe zimayesedwa mu labu |
Zitsanzo Zofunsira Kuyesedwa kwa Labu
Kuti mufunse zambiri za wolankhula Chingerezi, pempho lanu lingawoneke ngati awa: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&mainSearchCriteria. v.dn = Factor% 20IX% 20assay & informationRecipient.languageCode.c = en https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&informationRecipient.languageCode.cl. = en
Kuti mufunse zambiri za wokamba nkhani waku Spain, pempho lanu lingawoneke ngati awa: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&mainSearchCriteria. v.dn = Factor% 20IX% 20assay & informationRecipient.languageCode.c = es https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&informationRecipient.languageCode.cl. = es
Ndondomeko Yovomerezeka Yogwiritsira Ntchito
Pofuna kupewa kuwonjezera ma seva a MedlinePlus, NLM imafuna kuti ogwiritsa ntchito a MedlinePlus Connect asatumize zopitilira 100 pamphindi pa adilesi iliyonse ya IP. Zopempha zomwe zimadutsa malirewa sizidzathandizidwa, ndipo ntchitoyo siyibwezeretsedwanso kwa masekondi 300 kapena mpaka kuchuluka kwa pempho kugwa pansi pamalire, zomwe zingachitike pambuyo pake. Kuti muchepetse kuchuluka kwa zopempha zomwe mumatumiza ku Connect, NLM imalimbikitsa zotsatira zakusungidwa kwa ola la 12-24.
Ndondomekoyi yakhazikitsidwa pofuna kuonetsetsa kuti ntchitoyi ikupezekabe ndikupezeka kwa ogwiritsa ntchito onse. Ngati muli ndi vuto linalake logwiritsa ntchito lomwe limafuna kuti mutumizire zopempha zambiri ku MedlinePlus Connect, motero mupitirire malire olipirira omwe afotokozedwa mu ndondomekoyi, lemberani. Ogwira ntchito ku NLM awunika pempho lanu ndikuwona ngati mungaperekeko mwayi. Chonde onaninso zolemba za MedlinePlus XML. Mafayilo awa a XML amakhala ndimitu yathunthu yazaumoyo ndipo atha kukhala njira ina yothandizira kupeza zidziwitso za MedlinePlus.