|
| 1 | +{% extends "_layouts/default.njk" %} |
| 2 | + |
| 3 | +{% set title = __("patient.pds.title") %} |
| 4 | + |
| 5 | +{% block beforeContent %} |
| 6 | + {{ breadcrumb({ |
| 7 | + items: [{ |
| 8 | + text: __("home.show.title"), |
| 9 | + href: "/" |
| 10 | + }, { |
| 11 | + text: __("patient.list.title"), |
| 12 | + href: "/patients" |
| 13 | + }, { |
| 14 | + text: patient.fullName, |
| 15 | + href: patient.uri |
| 16 | + }] |
| 17 | + }) }} |
| 18 | +{% endblock %} |
| 19 | + |
| 20 | +{% block content %} |
| 21 | + <div class="nhsuk-grid-row"> |
| 22 | + <div class="nhsuk-grid-column-two-thirds"> |
| 23 | + {{ super() }} |
| 24 | + |
| 25 | + {{ appHeading({ |
| 26 | + caption: patient.fullName, |
| 27 | + title: title |
| 28 | + }) }} |
| 29 | + |
| 30 | + {{ __("patient.pds.description") | nhsukMarkdown }} |
| 31 | + |
| 32 | + {{ appTimeline({ |
| 33 | + items: [{ |
| 34 | + isPastItem: true, |
| 35 | + headingText: "Non-fuzzy search (with history)", |
| 36 | + description: "No matches found." |
| 37 | + }, { |
| 38 | + isPastItem: true, |
| 39 | + headingText: "Non-fuzzy search (with history and wildcard postcode)", |
| 40 | + description: "Found " + patient.formatted.nhsn |
| 41 | + }, { |
| 42 | + isPastItem: true, |
| 43 | + headingText: "Non-fuzzy search (with history, wildcard postcode and wildcard forename)", |
| 44 | + description: "Found " + patient.formatted.nhsn | replace("999", "908") |
| 45 | + }, { |
| 46 | + isPastItem: true, |
| 47 | + headingText: "Non-fuzzy search (with history, wildcard postcode and wildcard surname)", |
| 48 | + description: "Found " + patient.formatted.nhsn |
| 49 | + }, { |
| 50 | + isPastItem: true, |
| 51 | + headingText: "Fuzzy search (without history)", |
| 52 | + description: "Found " + patient.formatted.nhsn |
| 53 | + }, { |
| 54 | + active: true, |
| 55 | + headingText: "NHS number is " + patient.formatted.nhsn, |
| 56 | + description: today |
| 57 | + }] |
| 58 | + }) }} |
| 59 | + |
| 60 | + {{ appHeading({ |
| 61 | + level: 2, |
| 62 | + size: "m", |
| 63 | + title: "Expressions used in this lookup" |
| 64 | + }) }} |
| 65 | + |
| 66 | + {{ __("patient.pds.details") | nhsukMarkdown }} |
| 67 | + </div> |
| 68 | + </div> |
| 69 | +{% endblock %} |
0 commit comments