Medical Terminologies MCP
このMCPでできること
Provides searchable and hierarchical reference data for medical diagnoses, drugs, laboratory tests, and controlled vocabularies across ICD, SNOMED, LOINC, RxNorm, MeSH, and related systems.
ツール
入力スキーマ
{'type': 'object', 'required': ['drug_name'], 'properties': {'drug_name': {'type': 'string', 'minLength': 1, 'description': 'Drug name to classify (brand or generic, e.g., "metformin")'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['drug_name', 'matches', 'provenance', 'attribution'], 'properties': {'matches': {'type': 'array', 'items': {'type': 'object', 'required': ['rxcui', 'drug_name', 'tty', 'atc_code', 'atc_name', 'atc_level_type'], 'properties': {'tty': {'type': 'string'}, 'rxcui': {'type': 'string'}, 'atc_code': {'type': 'string'}, 'atc_name': {'type': 'string'}, 'drug_name': {'type': 'string'}, 'atc_level_type': {'type': 'string'}}, 'additionalProperties': False}}, 'drug_name': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['atc_code'], 'properties': {'atc_code': {'type': 'string', 'pattern': '^[A-V](\\d{2}([A-Z]([A-Z](\\d{2})?)?)?)?$', 'description': 'ATC code at level 1-4 (1-5 chars). Substance-level codes (7 chars, e.g., A10BA02) are not exposed by this endpoint â\x80\x94 use atc_classify with the drug name instead.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['atc_code', 'found', 'details', 'provenance', 'attribution'], 'properties': {'found': {'type': 'boolean'}, 'details': {'anyOf': [{'type': 'object', 'required': ['atc_code', 'atc_name', 'atc_level_type'], 'properties': {'atc_code': {'type': 'string'}, 'atc_name': {'type': 'string'}, 'atc_level_type': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'atc_code': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['atc_code'], 'properties': {'atc_code': {'type': 'string', 'pattern': '^[A-V](\\d{2}([A-Z]([A-Z](\\d{2})?)?)?)?$', 'description': 'ATC code at any level. Higher levels (1-4) return all member substances; level 5 returns the single substance.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['atc_code', 'members', 'provenance', 'attribution'], 'properties': {'members': {'type': 'array', 'items': {'type': 'object', 'required': ['rxcui', 'name', 'tty', 'source_atc_code'], 'properties': {'tty': {'type': 'string'}, 'name': {'type': 'string'}, 'rxcui': {'type': 'string'}, 'source_atc_code': {'type': 'string'}}, 'additionalProperties': False}}, 'atc_code': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['num'], 'properties': {'num': {'type': 'integer', 'maximum': 22, 'minimum': 1, 'description': 'Chapter number (1-22). CID-10 V2008 has 22 chapters.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['num', 'found', 'chapter', 'groups', 'provenance', 'attribution'], 'properties': {'num': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'found': {'type': 'boolean'}, 'groups': {'type': 'array', 'items': {'type': 'object', 'required': ['code_start', 'code_end', 'title', 'title_short'], 'properties': {'title': {'type': 'string'}, 'code_end': {'type': 'string'}, 'code_start': {'type': 'string'}, 'title_short': {'type': 'string'}}, 'additionalProperties': False}}, 'chapter': {'anyOf': [{'type': 'object', 'required': ['num', 'code_start', 'code_end', 'title', 'title_short'], 'properties': {'num': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'title': {'type': 'string'}, 'code_end': {'type': 'string'}, 'code_start': {'type': 'string'}, 'title_short': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'properties': {}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['chapters', 'provenance', 'attribution'], 'properties': {'chapters': {'type': 'array', 'items': {'type': 'object', 'required': ['num', 'code_start', 'code_end', 'title', 'title_short'], 'properties': {'num': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'title': {'type': 'string'}, 'code_end': {'type': 'string'}, 'code_start': {'type': 'string'}, 'title_short': {'type': 'string'}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['code'], 'properties': {'code': {'type': 'string', 'pattern': '^[A-Z]\\d{2}(\\.?\\d)?$', 'description': 'CID-10 code (e.g., "A00", "A00.1", "A001", "I21"). Dotted and undotted forms both accepted.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['code', 'found', 'hit', 'provenance', 'attribution'], 'properties': {'hit': {'anyOf': [{'type': 'object', 'required': ['level', 'code', 'display', 'classif', 'title', 'title_short', 'refer', 'excluidos', 'restr_sexo', 'causa_obito', 'chapter_num', 'group_range'], 'properties': {'code': {'type': 'string'}, 'level': {'enum': ['category', 'subcategory'], 'type': 'string'}, 'refer': {'type': 'string'}, 'title': {'type': 'string'}, 'classif': {'type': 'string'}, 'display': {'type': 'string'}, 'excluidos': {'type': 'string'}, 'restr_sexo': {'type': 'string'}, 'causa_obito': {'type': 'string'}, 'chapter_num': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'group_range': {'type': ['string', 'null']}, 'title_short': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'code': {'type': 'string'}, 'found': {'type': 'boolean'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'level': {'enum': ['categories', 'subcategories', 'all'], 'type': 'string', 'default': 'all', 'description': 'Restrict search to 3-char categories, 4-char subcategories, or both. Default: all'}, 'query': {'type': 'string', 'minLength': 2, 'description': 'Search terms in Portuguese, AND between words (e.g., "diabetes", "infarto", "câncer de mama"); accents ignored, everyday words resolved to CID-10 wording'}, 'max_results': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of results (1-100). Default: 25'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'level', 'total_count', 'shown_count', 'hits', 'provenance', 'attribution'], 'properties': {'hits': {'type': 'array', 'items': {'type': 'object', 'required': ['level', 'code', 'display', 'classif', 'title', 'title_short', 'refer', 'excluidos', 'restr_sexo', 'causa_obito', 'chapter_num', 'group_range'], 'properties': {'code': {'type': 'string'}, 'level': {'enum': ['category', 'subcategory'], 'type': 'string'}, 'refer': {'type': 'string'}, 'title': {'type': 'string'}, 'classif': {'type': 'string'}, 'display': {'type': 'string'}, 'excluidos': {'type': 'string'}, 'restr_sexo': {'type': 'string'}, 'causa_obito': {'type': 'string'}, 'chapter_num': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'group_range': {'type': ['string', 'null']}, 'title_short': {'type': 'string'}}, 'additionalProperties': False}}, 'level': {'enum': ['categories', 'subcategories', 'all'], 'type': 'string'}, 'query': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'shown_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'total_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'vocabulary_notes': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Identifier of a document returned by `search`'}}}
出力スキーマ
{'type': 'object', 'required': ['id', 'title', 'text', 'url', 'provenance', 'attribution'], 'properties': {'id': {'type': 'string', 'minLength': 1, 'description': 'Unique identifier of the document on this server; what `fetch` takes'}, 'url': {'type': 'string', 'description': "Canonical public URL of the document â\x80\x94 ChatGPT's citation depends on it"}, 'text': {'type': 'string', 'description': 'Full readable content of the document (Markdown)'}, 'title': {'type': 'string', 'description': 'Human-readable title of the document'}, 'metadata': {'type': 'object', 'description': 'Additional key/value pairs about the document (kind, source, periodâ\x80¦)', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['term'], 'properties': {'term': {'type': 'string', 'minLength': 1, 'description': 'Medical term to search (e.g., "diabetes", "aspirin")'}, 'limit': {'type': 'integer', 'maximum': 10, 'minimum': 1, 'description': 'Maximum candidates returned PER terminology (1-10, default 5). This is a cap, not a page: the live fan-out has no stable cursor across five upstreams, so raise the limit instead of paging.'}, 'source_terminology': {'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string', 'description': 'If set, this terminology is excluded from the search. Use this when the term came from this terminology and you want equivalents in the others. Combines with target_terminologies by subtraction (source is removed from the target list).'}, 'target_terminologies': {'type': 'array', 'items': {'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string'}, 'description': 'Limit the search to these terminologies. If omitted, all five are searched.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['term', 'source_terminology', 'searched_terminologies', 'results', 'groups', 'ranking', 'provenance', 'attribution'], 'properties': {'term': {'type': 'string'}, 'groups': {'type': 'array', 'items': {'type': 'object', 'required': ['normalized_title', 'terminologies', 'members'], 'properties': {'members': {'type': 'array', 'items': {'type': 'object', 'required': ['terminology', 'code', 'title', 'match_score'], 'properties': {'code': {'type': 'string'}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'terminology': {'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string'}}, 'additionalProperties': False}}, 'terminologies': {'type': 'array', 'items': {'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string'}}, 'normalized_title': {'type': 'string'}}, 'additionalProperties': False}}, 'ranking': {'type': 'object', 'required': ['method', 'note'], 'properties': {'note': {'type': 'string'}, 'method': {'type': 'string', 'const': 'lexical'}}, 'additionalProperties': False}, 'results': {'type': 'object', 'properties': {'mesh': {'type': 'object', 'required': ['found', 'error', 'items'], 'properties': {'error': {'type': ['string', 'null']}, 'found': {'type': 'boolean'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'uri', 'match_score', 'rank'], 'properties': {'uri': {'type': ['string', 'null']}, 'code': {'type': 'string'}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'icd11': {'type': 'object', 'required': ['found', 'error', 'items'], 'properties': {'error': {'type': ['string', 'null']}, 'found': {'type': 'boolean'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'uri', 'match_score', 'rank'], 'properties': {'uri': {'type': ['string', 'null']}, 'code': {'type': 'string'}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'loinc': {'type': 'object', 'required': ['found', 'error', 'items'], 'properties': {'error': {'type': ['string', 'null']}, 'found': {'type': 'boolean'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'uri', 'match_score', 'rank'], 'properties': {'uri': {'type': ['string', 'null']}, 'code': {'type': 'string'}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'rxnorm': {'type': 'object', 'required': ['found', 'error', 'items'], 'properties': {'error': {'type': ['string', 'null']}, 'found': {'type': 'boolean'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'uri', 'match_score', 'rank'], 'properties': {'uri': {'type': ['string', 'null']}, 'code': {'type': 'string'}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'snomed': {'type': 'object', 'required': ['found', 'error', 'items'], 'properties': {'error': {'type': ['string', 'null']}, 'found': {'type': 'boolean'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'uri', 'match_score', 'rank'], 'properties': {'uri': {'type': ['string', 'null']}, 'code': {'type': 'string'}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'title': {'type': 'string'}, 'match_score': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'provenance': {'type': 'array', 'items': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Bloco de proveniência (contrato v1.1): fonte, URL, competência, extração, diagnóstico de origem, citação e licença', 'additionalProperties': False}, 'description': 'One provenance block per upstream source that contributed to this response (contract v1.1; licenses are never merged; each block carries the origin diagnostics of ITS source)'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'source_terminology': {'anyOf': [{'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string'}, {'type': 'null'}]}, 'searched_terminologies': {'type': 'array', 'items': {'enum': ['icd11', 'snomed', 'loinc', 'rxnorm', 'mesh'], 'type': 'string'}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'properties': {'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['chapters', 'provenance', 'attribution'], 'properties': {'chapters': {'type': 'array', 'items': {'type': 'object', 'required': ['number', 'uri', 'code', 'code_range', 'title', 'error'], 'properties': {'uri': {'type': 'string'}, 'code': {'type': ['string', 'null']}, 'error': {'type': ['string', 'null']}, 'title': {'type': ['string', 'null']}, 'number': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'code_range': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['direction'], 'properties': {'uri': {'type': 'string', 'format': 'uri', 'description': 'Entity URI as returned by icd11_lookup, icd11_search or a previous icd11_hierarchy call'}, 'code': {'type': 'string', 'minLength': 1, 'description': 'ICD-11 code (e.g., "BA00", "5A11") or block range (e.g., "5A10-5A2Y")'}, 'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}, 'direction': {'enum': ['parents', 'children'], 'type': 'string', 'description': 'Direction: "parents" for ancestors, "children" for subtypes'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['code', 'direction', 'entities', 'provenance', 'attribution'], 'properties': {'code': {'type': 'string'}, 'entities': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'code_range', 'title', 'uri'], 'properties': {'uri': {'type': 'string'}, 'code': {'type': ['string', 'null']}, 'title': {'type': 'string'}, 'code_range': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'direction': {'enum': ['parents', 'children'], 'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'properties': {'uri': {'type': 'string', 'format': 'uri', 'description': 'Full ICD-11 foundation URI'}, 'code': {'type': 'string', 'minLength': 1, 'description': 'ICD-11 code (e.g., "BA00", "1A00")'}, 'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['code', 'code_range', 'uri', 'title', 'class_kind', 'block_id', 'definition', 'long_definition', 'diagnostic_criteria', 'coding_note', 'exclusions', 'inclusions', 'index_terms', 'browser_url', 'provenance', 'attribution'], 'properties': {'uri': {'type': 'string'}, 'code': {'type': ['string', 'null']}, 'title': {'type': 'string'}, 'block_id': {'type': ['string', 'null']}, 'class_kind': {'type': ['string', 'null']}, 'code_range': {'type': ['string', 'null']}, 'definition': {'type': ['string', 'null']}, 'exclusions': {'type': 'array', 'items': {'type': 'object', 'required': ['uri', 'label'], 'properties': {'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'inclusions': {'type': 'array', 'items': {'type': 'object', 'required': ['uri', 'label'], 'properties': {'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'browser_url': {'type': ['string', 'null']}, 'coding_note': {'type': ['string', 'null']}, 'index_terms': {'type': 'array', 'items': {'type': 'object', 'required': ['uri', 'label'], 'properties': {'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'long_definition': {'type': ['string', 'null']}, 'diagnostic_criteria': {'type': ['string', 'null']}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['code'], 'properties': {'code': {'type': 'string', 'minLength': 1, 'description': 'ICD-11 code to get postcoordination info for'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['code', 'axes', 'provenance', 'attribution'], 'properties': {'axes': {'type': 'array', 'items': {'type': 'object', 'required': ['axis_name', 'required', 'allow_multiple', 'value_count'], 'properties': {'required': {'type': 'boolean'}, 'axis_name': {'type': 'string'}, 'value_count': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'allow_multiple': {'type': 'boolean'}}, 'additionalProperties': False}}, 'code': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': 'Search text (disease name, symptom, or keyword)'}, 'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}, 'max_results': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of results (1-100). Default: 25'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'total_count', 'entities', 'provenance', 'attribution'], 'properties': {'query': {'type': 'string'}, 'entities': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'score', 'uri', 'is_leaf', 'matching_pvs'], 'properties': {'uri': {'type': 'string'}, 'code': {'type': ['string', 'null']}, 'score': {'type': 'number'}, 'title': {'type': 'string'}, 'is_leaf': {'type': 'boolean'}, 'matching_pvs': {'type': 'array', 'items': {'type': 'object', 'required': ['property_id', 'label', 'score'], 'properties': {'label': {'type': 'string'}, 'score': {'type': 'number'}, 'important': {'type': 'boolean'}, 'property_id': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'total_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['loinc_num'], 'properties': {'loinc_num': {'type': 'string', 'pattern': '^\\d{1,5}-\\d$', 'description': 'LOINC number (e.g., "2339-0")'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['loinc_num', 'answers', 'provenance', 'attribution'], 'properties': {'answers': {'type': 'array', 'items': {'type': 'object', 'required': ['sequence', 'answer_code', 'answer_string'], 'properties': {'sequence': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'answer_code': {'type': 'string'}, 'answer_string': {'type': 'string'}}, 'additionalProperties': False}}, 'loinc_num': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['loinc_num'], 'properties': {'loinc_num': {'type': 'string', 'pattern': '^\\d{1,5}-\\d$', 'description': 'LOINC number (e.g., "2339-0")'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['loinc_num', 'long_common_name', 'short_name', 'component', 'property', 'time_aspect', 'system', 'scale_type', 'method_type', 'class', 'status', 'external_copyright_notice', 'provenance', 'attribution'], 'properties': {'class': {'type': 'string'}, 'status': {'type': 'string'}, 'system': {'type': 'string'}, 'property': {'type': 'string'}, 'component': {'type': 'string'}, 'loinc_num': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'scale_type': {'type': 'string'}, 'short_name': {'type': 'string'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'method_type': {'type': 'string'}, 'time_aspect': {'type': 'string'}, 'long_common_name': {'type': 'string'}, 'external_copyright_notice': {'type': ['string', 'null']}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['loinc_num'], 'properties': {'loinc_num': {'type': 'string', 'pattern': '^\\d{1,5}-\\d$', 'description': 'LOINC number (e.g., "2339-0")'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['loinc_num', 'panel', 'provenance', 'attribution'], 'properties': {'panel': {'anyOf': [{'type': 'object', 'required': ['loinc_num', 'name', 'items'], 'properties': {'name': {'type': 'string'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['sequence', 'loinc_num', 'name', 'required'], 'properties': {'name': {'type': 'string'}, 'required': {'type': 'boolean'}, 'sequence': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'loinc_num': {'type': 'string'}}, 'additionalProperties': False}}, 'loinc_num': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'loinc_num': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': 'Search term (test name, keyword, or partial LOINC code)'}, 'max_results': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of results (1-100). Default: 25'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'total_count', 'shown_count', 'items', 'provenance', 'attribution'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['loinc_num', 'long_common_name', 'short_name', 'component', 'property', 'time_aspect', 'system', 'scale_type', 'method_type', 'class', 'status', 'external_copyright_notice'], 'properties': {'class': {'type': 'string'}, 'status': {'type': 'string'}, 'system': {'type': 'string'}, 'property': {'type': 'string'}, 'component': {'type': 'string'}, 'loinc_num': {'type': 'string'}, 'scale_type': {'type': 'string'}, 'short_name': {'type': 'string'}, 'method_type': {'type': 'string'}, 'time_aspect': {'type': 'string'}, 'long_common_name': {'type': 'string'}, 'external_copyright_notice': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'query': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'shown_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'total_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['icd10_code'], 'properties': {'icd10_code': {'type': 'string', 'minLength': 1, 'description': 'ICD-10 code to query in the ICD-11 search index (e.g., E11, I21.0, J18.9)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'found', 'icd10', 'primary', 'alternatives', 'source', 'provenance', 'attribution'], 'properties': {'found': {'type': 'boolean', 'description': 'Whether the code is in the WHO ICD-10 â\x86\x92 ICD-11 transition table.'}, 'icd10': {'anyOf': [{'type': 'object', 'required': ['code', 'title', 'chapter', 'depth'], 'properties': {'code': {'type': 'string'}, 'depth': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'title': {'type': 'string'}, 'chapter': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Source ICD-10 entry from the WHO table. Null when found=false.'}, 'query': {'type': 'string', 'description': 'The ICD-10 code as submitted (raw, before normalization).'}, 'source': {'type': 'object', 'required': ['publisher', 'version', 'release_date'], 'properties': {'version': {'type': 'string', 'description': 'Transition table release identifier (e.g. "2025-01").'}, 'publisher': {'type': 'string', 'description': 'Authoritative publisher (e.g. "WHO").'}, 'release_date': {'type': 'string', 'description': 'ISO date string for the release.'}}, 'additionalProperties': False}, 'primary': {'anyOf': [{'type': 'object', 'required': ['code', 'title', 'chapter', 'foundationUri', 'linearizationUri', 'classKind', 'depth'], 'properties': {'code': {'type': 'string'}, 'depth': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'title': {'type': 'string'}, 'chapter': {'type': 'string'}, 'classKind': {'type': 'string'}, 'foundationUri': {'type': 'string'}, 'linearizationUri': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Primary 1:1 ICD-11 mapping. Null when found=false.'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'alternatives': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'title', 'chapter', 'foundationUri', 'linearizationUri', 'classKind', 'depth'], 'properties': {'code': {'type': 'string'}, 'depth': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'title': {'type': 'string'}, 'chapter': {'type': 'string'}, 'classKind': {'type': 'string'}, 'foundationUri': {'type': 'string'}, 'linearizationUri': {'type': 'string'}}, 'additionalProperties': False}, 'description': 'Additional ICD-11 candidates WHO documents for this ICD-10 code. Empty when the primary is the only documented mapping (or when found=false). 1,461 of the 11,243 indexed codes have non-empty alternatives.'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['loinc_code'], 'properties': {'loinc_code': {'type': 'string', 'pattern': '^\\d{1,5}-\\d$', 'description': 'LOINC code (e.g., 2339-0 for Glucose)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['loinc_code', 'loinc_details', 'status', 'guidance', 'mapping_sources', 'provenance', 'attribution'], 'properties': {'status': {'enum': ['guidance-only'], 'type': 'string', 'description': 'Always "guidance-only" â\x80\x94 direct LOINC â\x86\x92 SNOMED CT mappings require licensed sources (UMLS Metathesaurus or LOINC SNOMED CT Expression Association). This tool returns pointers, not the mapping itself.'}, 'guidance': {'type': 'string', 'description': 'Short human-readable explanation of why this tool returns guidance instead of a mapping.'}, 'loinc_code': {'type': 'string', 'description': 'The LOINC code as submitted.'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'loinc_details': {'anyOf': [{'type': 'object', 'required': ['code', 'long_common_name', 'component', 'system', 'property'], 'properties': {'code': {'type': 'string'}, 'system': {'type': ['string', 'null']}, 'property': {'type': ['string', 'null']}, 'component': {'type': ['string', 'null']}, 'long_common_name': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'NLM Clinical Tables details for the LOINC code (component, system, property, etc.). Null when the code was not found upstream.'}, 'mapping_sources': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'description', 'url'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': 'string'}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'description': 'Structured list of authoritative LOINC â\x86\x92 SNOMED CT mapping sources (UMLS Metathesaurus, LOINC SNOMED CT Expression Association, Regenstrief RELMA).'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['mesh_id'], 'properties': {'mesh_id': {'type': 'string', 'pattern': '^D\\d+$', 'description': 'MeSH Descriptor ID (e.g., D015242, D003920)'}, 'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['id', 'uri', 'label', 'scope_note', 'tree_numbers', 'concepts', 'qualifiers', 'provenance', 'attribution'], 'properties': {'id': {'type': 'string'}, 'uri': {'type': 'string'}, 'label': {'type': 'string'}, 'concepts': {'type': 'array', 'items': {'type': 'object', 'required': ['uri', 'label', 'is_preferred', 'terms'], 'properties': {'uri': {'type': 'string'}, 'label': {'type': 'string'}, 'terms': {'type': 'array', 'items': {'type': 'string'}}, 'is_preferred': {'type': 'boolean'}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'qualifiers': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'uri', 'label'], 'properties': {'id': {'type': 'string'}, 'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'scope_note': {'type': 'string'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'tree_numbers': {'type': 'array', 'items': {'type': 'object', 'required': ['tree_number', 'uri'], 'properties': {'uri': {'type': 'string'}, 'tree_number': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['mesh_id'], 'properties': {'mesh_id': {'type': 'string', 'pattern': '^D\\d+$', 'description': 'MeSH Descriptor ID (e.g., D015242, D003920)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['mesh_id', 'qualifiers', 'provenance', 'attribution'], 'properties': {'mesh_id': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'qualifiers': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'uri', 'label'], 'properties': {'id': {'type': 'string'}, 'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'match': {'enum': ['exact', 'contains', 'startswith'], 'type': 'string', 'default': 'contains', 'description': 'Match type: exact, contains, or startswith. Default: contains'}, 'query': {'type': 'string', 'minLength': 1, 'description': 'Search term (e.g., "diabetes", "heart failure")'}, 'language': {'enum': ['en', 'es', 'pt', 'fr', 'de', 'it', 'zh', 'ja', 'ar', 'ru'], 'type': 'string', 'default': 'en', 'description': "Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated."}, 'max_results': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of results (1-100). Default: 25'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'match', 'total_count', 'descriptors', 'provenance', 'attribution'], 'properties': {'match': {'enum': ['exact', 'contains', 'startswith'], 'type': 'string'}, 'query': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'descriptors': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'uri', 'label'], 'properties': {'id': {'type': 'string'}, 'uri': {'type': 'string'}, 'label': {'type': 'string'}}, 'additionalProperties': False}}, 'total_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['mesh_id'], 'properties': {'mesh_id': {'type': 'string', 'pattern': '^D\\d+$', 'description': 'MeSH Descriptor ID (e.g., D015242, D003920)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['mesh_id', 'tree_numbers', 'provenance', 'attribution'], 'properties': {'mesh_id': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'tree_numbers': {'type': 'array', 'items': {'type': 'object', 'required': ['tree_number', 'uri'], 'properties': {'uri': {'type': 'string'}, 'tree_number': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['rxcui'], 'properties': {'rxcui': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}], 'description': 'RxCUI of the drug'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['rxcui', 'classes', 'provenance', 'attribution'], 'properties': {'rxcui': {'type': 'string'}, 'classes': {'type': 'array', 'items': {'type': 'object', 'required': ['class_id', 'class_name', 'class_type', 'source'], 'properties': {'source': {'type': 'string'}, 'class_id': {'type': 'string'}, 'class_name': {'type': 'string'}, 'class_type': {'type': 'string'}}, 'additionalProperties': False}}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['rxcui'], 'properties': {'rxcui': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}], 'description': 'RxNorm Concept Unique Identifier (string of digits or integer, e.g. "161" or 161)'}, 'include_related': {'anyOf': [{'type': 'boolean'}, {'enum': ['true', 'false'], 'type': 'string'}], 'description': 'Include related concepts (ingredients, brands, dose forms). Default false; true/false, also accepted as the strings "true"/"false"'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['rxcui', 'found', 'name', 'synonym', 'tty', 'language', 'suppress', 'umlscui', 'status', 'remapped_to', 'related_groups', 'provenance', 'attribution'], 'properties': {'tty': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'found': {'type': 'boolean', 'description': 'false when RxNorm has no concept with this RxCUI (the lookup answered; the fields below are null)'}, 'rxcui': {'type': 'string'}, 'status': {'type': ['string', 'null']}, 'synonym': {'type': ['string', 'null']}, 'umlscui': {'type': ['string', 'null']}, 'language': {'type': ['string', 'null']}, 'suppress': {'type': ['string', 'null']}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'remapped_to': {'type': 'array', 'items': {'type': 'string'}}, 'related_groups': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['tty', 'concepts'], 'properties': {'tty': {'type': 'string'}, 'concepts': {'type': 'array', 'items': {'type': 'object', 'required': ['rxcui', 'name', 'synonym', 'tty', 'language'], 'properties': {'tty': {'type': 'string'}, 'name': {'type': 'string'}, 'rxcui': {'type': 'string'}, 'synonym': {'type': 'string'}, 'language': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, {'type': 'null'}]}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['rxcui'], 'properties': {'rxcui': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}], 'description': 'RxCUI of the drug'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['rxcui', 'ingredients', 'provenance', 'attribution'], 'properties': {'rxcui': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'ingredients': {'type': 'array', 'items': {'type': 'object', 'required': ['rxcui', 'name', 'tty', 'is_multiple'], 'properties': {'tty': {'type': 'string'}, 'name': {'type': 'string'}, 'rxcui': {'type': 'string'}, 'is_multiple': {'type': 'boolean'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'properties': {'ndc': {'type': 'string', 'minLength': 1, 'description': 'NDC code to look up RxCUI (alternative to rxcui)'}, 'rxcui': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}], 'description': 'RxCUI to get NDC codes for'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query_mode', 'rxcui', 'ndc', 'ndcs', 'provenance', 'attribution'], 'properties': {'ndc': {'type': ['string', 'null']}, 'ndcs': {'type': 'array', 'items': {'type': 'object', 'required': ['ndc'], 'properties': {'ndc': {'type': 'string'}}, 'additionalProperties': False}}, 'rxcui': {'type': ['string', 'null']}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'query_mode': {'enum': ['ndcs_for_rxcui', 'rxcui_for_ndc'], 'type': 'string'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': 'Drug name to search (brand or generic)'}, 'max_results': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of results (1-100). Default: 25'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['query', 'total_count', 'drugs', 'provenance', 'attribution'], 'properties': {'drugs': {'type': 'array', 'items': {'type': 'object', 'required': ['rxcui', 'name', 'synonym', 'tty', 'language'], 'properties': {'tty': {'type': 'string'}, 'name': {'type': 'string'}, 'rxcui': {'type': 'string'}, 'synonym': {'type': 'string'}, 'language': {'type': 'string'}}, 'additionalProperties': False}}, 'query': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'total_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'Search terms, natural language or keywords (accents and case are ignored)'}}}
出力スキーマ
{'type': 'object', 'required': ['results', 'provenance', 'attribution'], 'properties': {'results': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'title', 'url'], 'properties': {'id': {'type': 'string', 'minLength': 1, 'description': 'Unique identifier of the document on this server; what `fetch` takes'}, 'url': {'type': 'string', 'description': "Canonical public URL of the document â\x80\x94 ChatGPT's citation depends on it"}, 'title': {'type': 'string', 'description': 'Human-readable title of the document'}}, 'additionalProperties': False}, 'description': 'Matching documents, in relevance order'}, 'provenance': {'type': 'array', 'items': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Bloco de proveniência (contrato v1.1): fonte, URL, competência, extração, diagnóstico de origem, citação e licença', 'additionalProperties': False}, 'description': 'One provenance block per upstream source that contributed to this response (contract v1.1; licenses are never merged; each block carries the origin diagnostics of ITS source)'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['terminology'], 'properties': {'to_version': {'type': 'string', 'description': 'Version you want to compare to. Optional.'}, 'terminology': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string', 'description': 'Which terminology to report on.'}, 'from_version': {'type': 'string', 'description': 'Version you have data from. Optional; behavior depends on terminology.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['terminology', 'from_version', 'to_version', 'diff_available', 'message', 'changelog_url', 'bundled_versions', 'cross_revision_summary', 'provenance', 'attribution'], 'properties': {'message': {'type': 'string'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'to_version': {'type': ['string', 'null']}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'terminology': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string'}, 'from_version': {'type': ['string', 'null']}, 'changelog_url': {'type': ['string', 'null']}, 'diff_available': {'type': 'boolean', 'description': 'True when this server has the data to compute a real diff for the requested terminology. False = guidance-only response.'}, 'bundled_versions': {'type': 'array', 'items': {'type': 'string'}}, 'cross_revision_summary': {'anyOf': [{'type': 'object', 'required': ['icd10_categories_total', 'one_to_one_mappings', 'one_to_many_splits', 'avg_alternatives_when_split'], 'properties': {'one_to_many_splits': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'one_to_one_mappings': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'icd10_categories_total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'avg_alternatives_when_split': {'type': 'number'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Populated only for terminology="icd10" today â\x80\x94 the bundled WHO ICD-10 â\x86\x92 ICD-11 transition tables let us surface a real structural diff between the two WHO revisions.'}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'properties': {'terminology': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string', 'description': 'Filter to a single terminology. Omit to return all 8.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['generated', 'total', 'terminologies', 'provenance', 'attribution'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'generated': {'type': 'string', 'description': 'Date this snapshot was generated.'}, 'provenance': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license', 'additionalProperties': False}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'terminologies': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'name', 'full_name', 'publisher', 'current_version', 'release_date', 'source_url', 'changelog_url', 'update_cadence', 'bundled_in_server', 'notes'], 'properties': {'code': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string'}, 'name': {'type': 'string'}, 'notes': {'type': ['string', 'null']}, 'full_name': {'type': 'string'}, 'publisher': {'type': 'string'}, 'source_url': {'type': 'string'}, 'release_date': {'type': 'string'}, 'changelog_url': {'type': ['string', 'null']}, 'update_cadence': {'type': 'string'}, 'current_version': {'type': 'string'}, 'bundled_in_server': {'type': 'boolean'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
入力スキーマ
{'type': 'object', 'required': ['codes'], 'properties': {'codes': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'terminology'], 'properties': {'code': {'type': 'string', 'minLength': 1, 'description': 'The code to validate (raw, as it appears in your data).'}, 'terminology': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string', 'description': 'Which terminology this code belongs to. Required â\x80\x94 auto-detection isn\'t supported because category-level codes like "A00" exist in both ICD-10 and CID-10.'}}}, 'maxItems': 50, 'minItems': 1, 'description': 'List of code+terminology pairs to validate. Hard cap of 50 per call to keep total latency under ~10 s given upstream rate limits.'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['total', 'valid_count', 'invalid_count', 'error_count', 'results', 'provenance', 'attribution'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Number of codes submitted.'}, 'results': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'terminology', 'valid', 'active', 'title', 'replaced_by', 'source', 'error'], 'properties': {'code': {'type': 'string', 'description': 'The code as submitted.'}, 'error': {'type': ['string', 'null'], 'description': 'When the upstream call failed (timeout, server error, feature flag off), this holds the failure message. Distinct from valid=false: valid=false + error=null means "code not found"; valid=false + error set means "couldn\'t validate".'}, 'title': {'type': ['string', 'null'], 'description': 'Official label/title for the code, when available.'}, 'valid': {'type': 'boolean', 'description': 'True when the upstream API or bundled dataset confirms the code exists.'}, 'active': {'type': ['boolean', 'null'], 'description': "Whether the code is currently active. Null when the source terminology doesn't expose an explicit active/inactive distinction at the category level (e.g. CID-10, ATC)."}, 'source': {'type': 'string', 'description': 'Human-readable identifier of the data source used for validation (terminology + release/version where applicable).'}, 'replaced_by': {'type': ['string', 'null'], 'description': 'When the code has been superseded by another code, this holds the replacement. Populated today only for ICD-10 codes that have a primary ICD-11 mapping in the bundled WHO transition tables; null otherwise.'}, 'terminology': {'enum': ['icd11', 'icd10', 'snomed', 'loinc', 'rxnorm', 'mesh', 'atc', 'cid10'], 'type': 'string'}}, 'additionalProperties': False}}, 'provenance': {'type': 'array', 'items': {'type': 'object', 'required': ['source', 'source_url', 'data_vintage', 'retrieved_at', 'retrieval', 'citation', 'license'], 'properties': {'source': {'type': 'string', 'description': 'Official upstream source of this data'}, 'license': {'type': ['string', 'null'], 'description': 'License / legal regime of the data'}, 'citation': {'type': 'string', 'description': 'Ready-to-use citation/attribution string'}, 'retrieval': {'anyOf': [{'type': 'object', 'required': ['requests', 'attempts', 'anomalies', 'unstable'], 'properties': {'attempts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Tentativas somadas, incluindo as repetidas (>= requests)'}, 'requests': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Idas distintas Ã\xa0 origem que compõem esta resposta (fatias, páginas)'}, 'unstable': {'type': 'boolean', 'description': 'true se houve repetição (attempts > requests) ou alguma anomalia'}, 'anomalies': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'count'], 'properties': {'kind': {'enum': ['timeout', 'network', 'http_4xx', 'http_5xx', 'rate_limited', 'malformed_body'], 'type': 'string', 'description': 'Classe da anomalia (vocabulário fechado do contrato)'}, 'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Ocorrências desta classe na chamada'}}, 'additionalProperties': False}, 'description': 'Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)'}, 'source_url': {'type': 'string', 'description': 'Canonical URL of the source (API base or dataset release)'}, 'data_vintage': {'type': ['string', 'null'], 'description': 'Version/release of the data as exposed by the source; null when not exposed'}, 'retrieved_at': {'type': 'string', 'description': 'Real instant of the upstream extraction (ISO-8601, UTC). Responses served from cache keep the ORIGINAL fetch instant.'}}, 'description': 'Bloco de proveniência (contrato v1.1): fonte, URL, competência, extração, diagnóstico de origem, citação e licença', 'additionalProperties': False}, 'description': 'One provenance block per upstream source that contributed to this response (contract v1.1; licenses are never merged; each block carries the origin diagnostics of ITS source)'}, 'attribution': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canonical source URLs of this response (attribution list)'}, 'error_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': "How many couldn't be validated due to upstream/network errors."}, 'valid_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'How many were confirmed valid.'}, 'invalid_count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'How many were not found.'}}, 'additionalProperties': False}
最近のツール変更
類似のMCPサーバー
Dailymed
Retrieves FDA DailyMed structured drug labels, label histories and diffs, drug classes, recent updates, and label references by d…
Symmap
Provides a Traditional Chinese Medicine association graph for exploring relationships among symptoms, diagnoses, herbs, formulas,…
Opentargets
Provides Open Targets disease, drug, target, therapeutic-area, and disease-association knowledge graph lookups.
Aemps Cima
Searches and retrieves Spanish AEMPS CIMA medicine records, regulatory documents, label sections, medicine changes, and supply-sh…
Nice Guidance
Searches and retrieves NICE guidance, recommendations, publication details, status, and topic-based guidance listings.
Bioportal
Searches biomedical ontologies and retrieves concept definitions, synonyms, hierarchy relationships, and mappings across clinical…
Nci Evs
Searches NCI Enterprise Vocabulary Services and retrieves cancer-research terminology concepts, definitions, relationships, hiera…
Umls
Provides access to UMLS terminology services for searching and resolving biomedical and clinical concepts.