Sha256: 53b1180c0b76970bf4b856cbfc8cb945519e0e6672993caa5fb785d045a8ce2c

Contents?: true

Size: 1.29 KB

Versions: 19

Compression:

Stored size: 1.29 KB

Contents

  <insuranceProvider xmlns="urn:hl7-org:greencda:c32" id="<%=insurance_provider.id%>">
  <insuranceType code="<%== insurance_provider.type %>" codeSystem="2.16.840.1.113883.3.88.12.3221.5.2" />
  <%== render partial: "organization", locals: {organization: insurance_provider.payer, tag_name: payer} %>
  <% if insurance_provider.subscriber %>
    <subscriber>
      <%== render partial: 'person_attributes', locals: {person: insurance_provider.subscriber} %>
    </subscriber>
  <% end %>
  <% if insurance_provider.relationship %>
  <%== gc32_code_display insurance_provider, "attribute" => "relationship", "tag_name" => "relationshipToSubscriber" %>
  <% end %>
  <% insurance_provider.guarantors.each do |g| %>
  <guarantor>
    <%== gc32_interval(insurance_provider, "financialResponsibilityDateRange", :start_time, :end_time) %>
    <% if g.organization %>
      <%== render partial: 'organization', locals: {organization: g.organization}%>
    <% elsif g.person%>
      <person>
        <%== render partial: 'person_attributes', locals: {person: g.person} %>
      </person>
    <% end %>
  </guarantor>
  <% end %>
  <healthPlanName><%=insurance_provider.name%></healthPlanName>
  <% if insurance_provider.free_text%>
    <freeText><%= insurance_provider.free_text%></freeText>
  <% end %>
</insuranceProvider>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
health-data-standards-3.2.12 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.3.0 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.11 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.10 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.8 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.7 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.6 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.5 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.4 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.3 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.2 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.1 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.2.0 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.1.1 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.1.0 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.0.6 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.0.5 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.0.4 templates/gc32/_insurance_provider.gc32.erb
health-data-standards-3.0.3 templates/gc32/_insurance_provider.gc32.erb