File size: 1,693 Bytes
157d2d3
 
 
 
 
 
 
 
 
74f20ff
 
 
 
 
 
 
 
 
 
 
 
157d2d3
 
 
 
 
 
 
 
 
74f20ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157d2d3
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
defmodule MedicalTranscriptionWeb.Storybook.TagResult do
  use PhoenixStorybook.Story, :component

  def function, do: &MedicalTranscriptionWeb.Components.tag_result/1

  def variations do
    [
      %Variation{
        id: :default,
        attributes: %{
          code_vector_id: 1,
          text:
            "This 55-year-old man with known coronary artery disease comes for a follow-up visit today. ",
          score: 1.07,
          weighting: [:none],
          code: "74685",
          label: "Coronary artery anomaly"
        }
      },
      %Variation{
        id: :positively_weighted,
        attributes: %{
          code_vector_id: 1,
          text:
            "This 55-year-old man with known coronary artery disease comes for a follow-up visit today. ",
          score: 1.07,
          weighting: [:positive, :positive],
          code: "74685",
          label: "Coronary artery anomaly"
        }
      },
      %Variation{
        id: :negatively_weighted,
        attributes: %{
          code_vector_id: 1,
          text:
            "This 55-year-old man with known coronary artery disease comes for a follow-up visit today. ",
          score: 1.07,
          weighting: [:negative],
          code: "74685",
          label: "Coronary artery anomaly"
        }
      },
      %Variation{
        id: :mixed_weight,
        attributes: %{
          code_vector_id: 1,
          text:
            "This 55-year-old man with known coronary artery disease comes for a follow-up visit today. ",
          score: 1.07,
          weighting: [:negative, :positive],
          code: "74685",
          label: "Coronary artery anomaly"
        }
      }
    ]
  end
end