{"node":"mcp.eveseliba-poc.weget.cc","did":"did:web:mcp.eveseliba-poc.weget.cc","simulation":true,"status":"SIMULĀCIJA — NAV PARTNERIS","organisation":"Valsts e-veselības pakalpojuma forma (simulācija)","trust_anchor":"did:web:aimedexchange.pppa.lv:poc-anchor","mcpEndpoints":["https://mcp.eveseliba-poc.weget.cc/mcp/"],"profile":"LV-MCP-MED-0.1-draft","request_envelope":{"type":"object","description":"Carried in MCP request _meta on every call; verified by the called node before any data is returned.","required":["agent_did","org_did","presentation","purpose","correlation_id"],"properties":{"agent_did":{"type":"string","example":"did:web:rakus.weget.cc:agents:rakus-agt-003"},"org_did":{"type":"string","example":"did:web:rakus.weget.cc"},"presentation":{"type":"string","description":"VP (JWT) containing the ExchangeParticipantCredential of the org and the agent mandate credential issued by the org IdP"},"purpose":{"type":"string","enum":["treatment","administration","procurement","ai_governance","secondary_use"]},"legal_basis_ref":{"type":"string","description":"Code of the declared legal basis, e.g. 'lv.treatment_law', 'consent:<credential-id>'; required when the tool's data_tier is T2 or T3, or the tool's legal_basis_required is true"},"treatment_relationship_ref":{"type":"string","description":"Reference to the encounter/episode establishing the treatment relationship (synthetic in the pilot)"},"correlation_id":{"type":"string","format":"uuid"}}},"errors":[{"code":"DENIED_NO_CREDENTIAL","when":"presentation missing, expired, revoked or issuer not in the trust registry"},{"code":"DENIED_PURPOSE","when":"declared purpose not in the tool's allowed_purposes"},{"code":"DENIED_LEGAL_BASIS","when":"legal_basis_ref missing or not accepted for this tool"},{"code":"DENIED_TREATMENT_RELATIONSHIP","when":"tool requires a treatment relationship and none is referenced"},{"code":"DENIED_DATA_TIER","when":"requested data exceeds the tier permitted in this environment (pilot: T0 only for clinical tools)"},{"code":"NOT_FOUND","when":"no record for the given pseudonym or identifier"}],"tools":[{"name":"eveseliba.get_patient_summary_pointer","node":"mcp.eveseliba-poc.weget.cc","title":"Pacienta kopsavilkuma norāde (simulācija)","description":"SIMULATION of a state e-health service shape. Returns whether a patient summary exists and where. Not operated by NVD; NVD is not a partner in the pilot.","x-lv-mcp-med":{"clinical_role":"administrative","data_tier":"T0","mode":"read","allowed_purposes":["treatment"],"legal_basis_required":true,"treatment_relationship_required":true,"simulation":true},"inputSchema":{"type":"object","required":["patient_pseudonym"],"properties":{"patient_pseudonym":{"type":"string","pattern":"^PSN-[A-Z0-9]{10}$","description":"Synthetic patient pseudonym issued by the requesting org's anonymisation gateway"}}},"outputSchema":{"type":"object","properties":{"exists":{"type":"boolean"},"last_updated":{"type":"string","format":"date"}}}},{"name":"eveseliba.get_referral_status","node":"mcp.eveseliba-poc.weget.cc","title":"E-nosūtījuma statuss (simulācija)","description":"SIMULATION. Returns status of a synthetic e-referral.","x-lv-mcp-med":{"clinical_role":"administrative","data_tier":"T0","mode":"read","allowed_purposes":["treatment","administration"],"legal_basis_required":true,"treatment_relationship_required":false,"simulation":true},"inputSchema":{"type":"object","required":["referral_id"],"properties":{"referral_id":{"type":"string"}}},"outputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["issued","booked","completed","cancelled","expired"]}}}}]}