MedlinePlus Haɗa: Sabis ɗin Yanar Gizo
Wadatacce
- Bayanin Sabis na Yanar Gizo
- Sigogi masu fitarwa
- Buƙatun don ganewar asali (Matsala) Lambobin
- Sigogin Zaɓi
- Bayani na Zaɓaɓɓun Atom Elements (ko abubuwan JSON) a cikin Amsawa ga Buƙatun Code Matsala
- Misalan Buƙatu don Lambobin Matsala
- Ayyuka masu dangantaka da Fayiloli
- Buƙatun don Bayanin Magunguna
- Sigogin Zaɓi
- Bayani na Zaɓaɓɓun Atom Elements (ko abubuwa JSON) a cikin Amsawa ga Buƙatun Magunguna
- Misalan Buƙatu don Lambobin Magunguna
- Buƙatu don Bayanin Gwajin Lab
- Sigogin Zaɓi
- Bayani na Zaɓaɓɓun Atom Elements (ko abubuwa JSON) a cikin Amsawa ga Buƙatun Gwajin Lab
- Misalan Buƙatu don Gwajin Lab
- Manufa Amfani da Amfani
- Informationarin Bayani
MedlinePlus Haɗa yana samuwa azaman aikace-aikacen gidan yanar gizo ko sabis ɗin Yanar gizo. Da ke ƙasa akwai cikakkun bayanai na fasaha don aiwatar da sabis ɗin Yanar Gizo, wanda ke amsa buƙatun bisa:
Maraba don haɗi zuwa da kuma nuna bayanan da MedlinePlus Connect ya dawo. Ba za ku iya yin kwafin shafukan MedlinePlus ba a rukunin yanar gizonku. Idan kayi amfani da bayanai daga Sabis ɗin Yanar gizo na MedlinePlus Connect, da fatan za a nuna cewa bayanin daga MedlinePlus.gov ne amma kar a yi amfani da tambarin MedlinePlus ko kuma in ba haka ba yana nuna cewa MedlinePlus yana goyon bayan samfurinku na musamman. Da fatan za a duba shafin API na NLM don ƙarin jagora. Don ƙarin bayani game da yadda za a haɗa zuwa abun ciki na MedlinePlus a wajen wannan sabis ɗin, da fatan a duba jagororinmu da umarnin kan haɗawa.
Idan ka yanke shawarar amfani da MedlinePlus Connect, yi rajista don jerin imel don ci gaba da ci gaba da musayar ra'ayoyi tare da abokan aikin ka. Da fatan za a gaya mana idan kun aiwatar da MedlinePlus Connect ta hanyar tuntuɓar mu.
Bayanin Sabis na Yanar Gizo
Sigogi don buƙatun sabis na Gidan yanar gizo sun dace da HL7 Maimaita Ilimin Ilimin Hankali (Infobutton) Neman Ilimi na Jagorar Aiwatar da Jagora. Amsar tushen REST tana dacewa da HL7 Context-Aware Iri Iri (Infobutton) Jagorar Aiwatar da Gine-ginen Hanya. Sakamakon nema na iya zama XML a cikin tsarin samar da Atom, JSON, ko JSONP.
Tsarin buƙatun yana nuna irin nau'in lambar da kuke aikawa. A kowane hali, tushen URL don sabis ɗin Gidan yanar gizo shine: https://connect.medlineplus.gov/service
MedlinePlus Connect yana amfani da haɗin HTTPS. Ba za a karɓi buƙatun HTTP ba kuma aiwatarwar data kasance ta amfani da HTTP ya kamata sabunta zuwa HTTPS.
Sigogi masu fitarwa
Waɗannan sigogin zaɓi ne. Idan ka bar su, tsoffin amsa shine bayanin Ingilishi a cikin tsarin XML.
Harshe
Gano idan kuna son amsar ta kasance cikin Turanci ko Sifen. MedlinePlus Connect zai ɗauka Turanci shine yare idan ba'a bayyana shi ba.
Idan kuna son amsar lambar neman lambar matsala ta kasance cikin Spanish, yi amfani da: informationRecipient.languageCode.c = es
(= an kuma yarda da shi)
Don tantance Ingilishi, yi amfani da waɗannan: informationRecipient.languageCode.c = en
Tsarin
Gano idan kuna son tsarin amsawa ya zama XML, JSON, ko JSONP. XML shine tsoho.
- Don neman JSON, yi amfani da:
- ilmiResponseType = aikace-aikace / json
- Don JSONP, yi amfani da:
- ilmiResponseType = aikace-aikace / javascript & callback = CallbackFunction inda CallbackFunction suna ne wanda kuke bawa aikin dawo da kira.
- Don amsawa a cikin XML, yi amfani da:
- ilmiResponseType = rubutu / xml ko barin saitin ilmin amsawa daga bukatar.
Buƙatun don ganewar asali (Matsala) Lambobin
Don lambar matsala, MedlinePlus Connect zai dawo da haɗin kai da bayanai daga shafukan kiwon lafiya na MedlinePlus, shafukan jinsin jini, ko shafuka daga wasu Cibiyoyin NIH.
MedlinePlus Connect zai dawo da masu zuwa:
Kila koyaushe ba wasa ga kowane lamba. A waɗancan lokuta, MedlinePlus Connect zai dawo da martani mara amfani.
Tushen URL na sabis ɗin shine: https://connect.medlineplus.gov/service
Akwai sigogi biyu da ake buƙata don kowace tambaya ga wannan sabis ɗin:
- Tsarin Code
Gano tsarin lambar matsala da zaku yi amfani da shi.- Don ICD-10-CM amfani:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.90
- Don amfani da ICD-9-CM:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.103
- Don SNOMED CT amfani da:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.96
- Lambar
Gano ainihin lambar da kuke ƙoƙarin dubawa:
mainSearchCriteria.v.c = 250.33
Sigogin Zaɓi
Lakabin Code
Hakanan zaka iya gano suna / taken lambar matsala. Koyaya, wannan bayanin baya tasiri tasiri (sabanin aikace-aikacen Gidan yanar gizo na MedlinePlus Connect inda za'a iya amfani da sunan / taken taken). mainSearchCriteria.v.dn = Ciwan sukari tare da wasu nau'ikan coma 1 wanda ba a sarrafawa ba Duba sashin da ke sama akan Sigogin Siyarwa don cikakkun bayanai kan tsarin yare da fitarwa.
Bayani na Zaɓaɓɓun Atom Elements (ko abubuwan JSON) a cikin Amsawa ga Buƙatun Code Matsala
Eleananan abubuwa | Kundin aji | Bayani |
---|---|---|
take | Takaddun dace da shafi na batun kiwon lafiya na MedlinePlus ko shafin GHR | |
mahada | Adireshin URL don dacewar shafi na batun kiwon lafiya na MedlinePlus ko shafin GHR | |
a taƙaice | Cikakken bayani game da batun kiwon lafiya. Wannan ya haɗa da haɗin haɗin da aka haɗa zuwa wasu batutuwan kiwon lafiya masu dacewa, da duk tsarin, gami da harsasai da tazarar sakin layi. Takaitawar tana cikin HTML. Don shafukan GHR, an bayar da sashin farko na cikakken shafin. | |
a taƙaice | Ma'anoni iri ɗaya don batun. Wadannan ana kiransu "An kuma kira su" a shafi na batun kiwon lafiya. Ba duk batutuwa bane suke da sharuɗɗa "Kuma ake kira". | |
a taƙaice | Bayanin sanarwa don rubutu a taƙaice, idan yawancin taƙaice daga wata hukumar tarayya ce. Ba duk taƙaitawa suke da sifa ba. Rubutun da ba'a raba shi asali ga MedlinePlus. | |
a taƙaice | Zaɓaɓɓun hanyoyin haɗi masu alaƙa da batun. Wannan ya haɗa da sunan shafi, URL, da ƙungiyar haɗin gwiwa (lokacin da ya dace). An tsara hanyoyin haɗin yanar gizon a cikin jerin jerin harsasai. Ba duk batutuwa suke da waɗannan hanyoyin ba. Yawan hanyoyin haɗi na iya kaiwa daga sifili zuwa dozin. |
Misalan Buƙatu don Lambobin Matsala
Cikakken fata na Ciwon suga Mellitus tare da wasu nau'ikan coma 1 wanda ba a sarrafawa ba, lambar ICD-9 250.33, ga mai jin magana da Sifaniyanci zai sami adireshin URL ɗin mai zuwa: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16 .840.1.113883.6.103 & mainSearchCriteria.vc = 250.33 & mainSearchCriteria.v.dn = Ciwon suga% 20mellitus% 20with% 20other% 20coma% 20type% 201% 20ungurect & informationRecipient.languageCode.c = es
Mai haƙuri da irin wannan cutar amma tsarin da aka nema shine JSON kuma yaren shine Ingilishi: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.103&mainSearchCriteria.vc=250.33&knowledgeResponseType=application / json
Mai haƙuri da aka gano tare da "Ciwon huhu saboda Pseudomonas" ta amfani da lambar SNOMED CT 41381004: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.96&mainSearchCriteria.vc=41381004&mainSearchCriteria.v.dn= Ciwon huhu% 20due% 20to% 20Pseudomonas% 20% 28disorder% 29 & bayaniRecipient.languageCode.c = en
Mai haƙuri da irin wannan cutar amma tsarin da aka nema shine JSONP: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.96&mainSearchCriteria.v.c=41381004&knowledgeResponseType=application/javascript&callback=Callbackun
Ayyuka masu dangantaka da Fayiloli
Don karɓar batutuwan kiwon lafiya na MedlinePlus dangane da buƙatun rubutu, sabanin lambobin matsala, bincika sabis ɗin Yanar gizo na MedlinePlus. Hakanan, idan kuna buƙatar cikakken saitin maganganun kiwon lafiya na MedlinePlus a cikin tsarin XML, duba shafin fayilolin XML ɗinmu.
Buƙatun don Bayanin Magunguna
MedlinePlus Connect yana ba da mafi kyawun matakan bayanin maganin lokacin karɓar RXCUI. Hakanan yana bayar da sakamako mai kyau lokacin karɓar lambar NDC. MedlinePlus Connect na iya bayar da martani a cikin Ingilishi ko Spanish.
Don buƙatun neman bayanin magani na Ingilishi, idan baku aika NDC ko RXCUI ba ko kuma idan ba mu sami daidaituwa bisa lambar ba, aikace-aikacen zai yi amfani da layin rubutu da kuka aika don nuna mafi kyawun wasan bayanin magani. Don buƙatun don bayanin maganin Sifen, MedlinePlus Connect yana amsawa kawai ga NDCs ko RXCUI kuma baya amfani da kalmomin rubutu. Zai yiwu a sami amsa a cikin Ingilishi amma ba amsa a cikin Mutanen Espanya.
Sabis ɗin Yanar Gizo na MedlinePlus zai dawo da mai zuwa:
Za a iya samun martani da yawa kan buƙatar magani ɗaya. Zai yiwu ba koyaushe a yi wasa don kowane buƙata ba. A waɗancan lokuta, MedlinePlus Connect zai dawo da martani mara amfani.
Don buƙatun don bayanin magunguna, tushen URL shine: https://connect.medlineplus.gov/service
Don aika buƙata, haɗa waɗannan ɓangarorin bayanan:
- Tsarin Code
Gano nau'in lambar magani da kuke aikawa. (Da ake bukata don Turanci da Spanish)- Don RXCUI amfani da:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.88
- Don amfani da NDC:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.69
- Lambar
Gano ainihin lambar da kuke ƙoƙarin neman sama. (An fi so don Ingilishi, Ana buƙata don Mutanen Espanya)
mainSearchCriteria.v.c = 637188 - Sunan Magunguna
Gano sunan magani tare da kirtani na rubutu. (Zabi na Turanci, Ba a amfani da shi don Sifen)
mainSearchCriteria.v.dn = Chantix 0.5 MG Rubutun baka
Sigogin Zaɓi
Lakabin CodeLokacin aika buƙata don bayanin Ingilishi, zaku iya haɗawa da zaɓin zaɓi na sunan magani. Wannan dalla-dalla ne a cikin ɓangaren da ke sama. mainSearchCriteria.v.dn = Chantix 0.5 MG Rubutun baka
Dubi sashin da ke sama akan Sigogin Fitarwa don cikakkun bayanai akan tsarin harshe da fitarwa.
Bayani na Zaɓaɓɓun Atom Elements (ko abubuwa JSON) a cikin Amsawa ga Buƙatun Magunguna
Eleananan abubuwa | Bayani |
---|---|
take | Take don dacewar shafin magani na MedlinePlus |
mahada | URL don dacewar maganin magani na MedlinePlus |
marubucin | Bayanin asalin don bayanin magani |
Misalan Buƙatu don Lambobin Magunguna
Neman bayanin ku na magani ya zama kamar ɗayan masu zuwa.
Don neman bayani ta hanyar RXCUI, bukatar ku ya kamata ta kasance kamar haka: 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 & bayanaiRecipient.languageCode.c = en
Don neman bayani ta hanyar NDC don mai magana da Sifaniyanci, buƙatarku ya kamata tayi kama da wannan: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.69&mainSearchCriteria.vc=00310-0751- 39 & bayaniRecipient.languageCode.c = es
Don aika layin rubutu ba tare da lambar magunguna ba, dole ne ku gano tambayarku azaman buƙata na nau'in NDC don haka MedlinePlus Connect ya san kuna neman bayanin magunguna. Wannan zai yi aiki don buƙatun Ingilishi kawai. Nemanku na iya zama kamar haka: 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 = ha
Buƙatu don Bayanin Gwajin Lab
MedlinePlus Connect yana samar da ashana zuwa bayanan gwajin dakin gwaje-gwaje lokacin karɓar roƙon LOINC. Sabis ɗin na iya samar da amsa a cikin Ingilishi ko Spanish.
Sabis ɗin Yanar Gizo na MedlinePlus zai dawo da mai zuwa:
Kila koyaushe ba wasa ga kowane lamba. A waɗancan lokuta, MedlinePlus Connect zai dawo da martani mara amfani.
Tushen URL na sabis ɗin shine: https://connect.medlineplus.gov/service
Waɗannan sigogi biyu ne da ake buƙata don kowane tambayar gwajin gwaji zuwa wannan sabis ɗin:
- Tsarin Code
- Gane cewa kuna amfani da tsarin lambar LOINC. Yi amfani da:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.6.1
- MedlinePlus Connect shima zai yarda:
- mainSearchCriteria.v.cs = 2.16.840.1.113883.11.79
- Lambar
gano ainihin lambar da kuke ƙoƙarin dubawa:
mainSearchCriteria.v.c = 3187-2
Sigogin Zaɓi
Lakabin CodeHakanan zaka iya gano sunan gwajin gwajin. Koyaya, wannan bayanin baya tasiri tasirin. mainSearchCriteria.v.dn = Factor IX gwaji
Dubi sashin da ke sama akan Sigogin Fitarwa don cikakkun bayanai akan tsarin harshe da fitarwa.
Bayani na Zaɓaɓɓun Atom Elements (ko abubuwa JSON) a cikin Amsawa ga Buƙatun Gwajin Lab
Eleananan abubuwa | Bayani |
---|---|
take | Sunan shafin gwajin gwaji na MedlinePlus wanda ya dace |
mahada | Adireshin URL don shafin gwajin gwaji na MedlinePlus wanda yayi daidai |
a taƙaice | Snippet daga abun cikin shafi |
marubucin | Alamar tushe don abun cikin gwajin lab |
Misalan Buƙatu don Gwajin Lab
Don neman bayani ga mai magana da Ingilishi, buƙatarku na iya zama kamar ɗayan masu zuwa: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&mainSearchCriteria. v. = ha
Don neman bayani ga mai magana da sifaniyanci, buƙatarku na iya zama kamar ɗayan masu zuwa: https://connect.medlineplus.gov/service?mainSearchCriteria.v.cs=2.16.840.1.113883.6.1&mainSearchCriteria.vc=3187-2&mainSearchCriteria. v. = es
Manufa Amfani da Amfani
Don kaucewa yin lodi da yawaitar sabobin MedlinePlus, NLM yana buƙatar masu amfani da MedlinePlus Connect su aika da buƙatu sama da 100 a cikin minti ɗaya a kowane adireshin IP. Buƙatun da suka wuce wannan iyakar ba za a yi musu aiki ba, kuma ba za a sake dawo da sabis ɗin na sakan 300 ko kuma har sai adadin buƙatun ya faɗi ƙasa da iyaka, duk wanda ya zo daga baya. Don iyakance yawan buƙatun da kuka aika zuwa Haɗa, NLM yana bada shawarar sakamakon sakamako na tsawon awa 12-24.
Wannan manufar tana nan don tabbatar da cewa sabis ɗin ya kasance wadatacce kuma mai sauƙi ga duk masu amfani. Idan kana da takamaiman shari'ar amfani da ita wacce ke buƙatar ka aika da adadi mai yawa na buƙatun zuwa MedlinePlus Connect, kuma don haka ya wuce iyakar ƙimar buƙatun da aka bayyana a cikin wannan manufar, da fatan za a tuntube mu. Ma'aikatan NLM za su kimanta buƙatarku kuma su yanke hukunci idan za a ba da keɓaɓɓu. Da fatan za a sake nazarin fayilolin fayilolin MedlinePlus XML. Waɗannan fayilolin XML suna ƙunshe da cikakkun bayanan batutuwan kiwon lafiya kuma suna iya zama azaman madadin hanyar samun bayanan MedlinePlus.