# GrokClient

- [`chooseEncounterReasonsFromList`](../operations/connectors.grokChooseEncounterReasonsFromList.md) — Ports ``ChooseEncounterReasonsFromList``
- [`chooseHealthServiceFromList`](../operations/connectors.grokChooseHealthServiceFromList.md) — Ports ``ChooseHealthServiceFromList``
- [`chooseTemplatesFromList`](../operations/connectors.grokChooseTemplatesFromList.md) — Ports ``ChooseTemplatesFromList``
- [`convertCcdaToFhir`](../operations/connectors.grokConvertCcdaToFhir.md) — Ports ``ConvertCCDAToFHIR``: CCDA XML -> FHIR JSON Bundle
- [`convertFhirToCcda`](../operations/connectors.grokConvertFhirToCcda.md) — Ports ``ConvertFHIRToCCDA``: FHIR JSON Bundle -> CCDA XML, with a ``birthTime value="…"`` element injected inside the patient element
- [`convertFhirToCcdaWithChunking`](../operations/connectors.grokConvertFhirToCcdaWithChunking.md) — Ports ``ConvertFHIRToCCDAWithChunking``
- [`createClinicalNotes`](../operations/connectors.grokCreateClinicalNotes.md) — Ports ``CreateClinicalNotes``: symptoms conversation -> Clinical Notes FHIR JSON
- [`createEhrSummary`](../operations/connectors.grokCreateEhrSummary.md) — Ports ``CreateEHRSummary``: patient-data JSON -> health record summary, as knowledge-graph TTL when ``is_kg_format`` else bullet points
- [`createHpiSummary`](../operations/connectors.grokCreateHpiSummary.md) — Ports ``CreateHPISummary``: patient encounter information -> HPI text, per ``_HPI_PROMPT`` (natural clinical sentences, explicitly- stated details only, no diagnosis/ROS/exam/plan content, empty string if unsupported) -- see that constant for the full rule set, shared ``_GLOBAL_SECTION_RULES`` included
- [`createScreeningSummary`](../operations/connectors.grokCreateScreeningSummary.md) — Ports ``CreateScreeningSummary``
- [`generalRequest`](../operations/connectors.grokGeneralGrokRequest.md) — Ports ``GeneralGrokRequest``: free-form prompt; max_tokens 20000
- [`getUmlsCodes`](../operations/connectors.grokGetUmlsCodes.md) — Ports ``GetUMLSCodes``: sends the caller's content as-is (the UMLS instructions are embedded upstream); max_tokens 3000
