File size: 749 Bytes
3f219b5
720aae3
 
3f219b5
720aae3
 
0bccf0e
 
c25ca02
720aae3
 
 
 
 
c25ca02
 
 
 
 
 
 
 
 
 
720aae3
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
defmodule MedicodeWeb.Storybook.CodeSelect do
  use PhoenixStorybook.Story, :live_component

  def component, do: MedicodeWeb.Components.CodeSelect

  def variations do
    text =
      "This 55-year-old man with known coronary artery disease comes for a follow-up visit today."

    [
      %Variation{
        id: :default,
        attributes: %{
          id: "transcription-row-1-code-select",
          text: text,
          current_user: %Medicode.Accounts.User{
            email: "doctor@headway.io"
          },
          chunk: %Medicode.Transcriptions.TranscriptionChunk{
            transcription_id: 1,
            text: text,
            start_mark: "00:00",
            end_mark: "00:07"
          }
        }
      }
    ]
  end
end