Skip to main content

Clinical Pathways — Episode title id cleanup

Summary

The future-use Clinical Pathways Public API schema has been tidied to reduce ambiguity around episodes of care.

Episode.title is now an ID containing the practice episode type id. The matching mutation inputs, CreateEpisodeDataInput.title and UpdateEpisodeDataInput.title, now also accept that ID directly.

Episode.type, the EpisodeType enum, EpisodeTitle, and EpisodeTitleInput have been removed from the Public API schema.

Integration guidance

  • Refresh your schema snapshot and regenerate GraphQL clients.
  • Replace selections of Episode.title { value episodeTypeId } with Episode.title.
  • Replace create and update inputs that sent { value, episodeTypeId } with the episode type id string.
  • Remove any references to Episode.type and the EpisodeType enum from generated public client models.
  • Use episodeTypes to discover valid practice episode type ids.