-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d1317f
commit 39c1e6c
Showing
27 changed files
with
826 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
/dist | ||
/tmp | ||
/public | ||
/app/data/generated/ | ||
app/data/generated/ | ||
reference | ||
|
||
# Runtime data | ||
pids | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,61 @@ | ||
// app/data/breast-screening-units.js | ||
const generateId = require('../lib/utils/id-generator'); | ||
|
||
module.exports = [ | ||
{ | ||
id: "f66f2a7d-99a8-4793-8371-3d075e1a7c54", | ||
id: "m5ekcxvu", // Must be hardcoded so it matches generated data | ||
name: "Oxford Breast Imaging Centre", | ||
address: `Surgery and Diagnostics Centre | ||
Churchill Hospital | ||
Old Road, | ||
Headington | ||
Oxford | ||
OX3 7LE`, | ||
phoneNumber: "01865 235621", | ||
abbreviation: "OXF" | ||
address: { | ||
line1: "Surgery and Diagnostics Centre", | ||
line2: "Churchill Hospital", | ||
line3: "Old Road", | ||
line4: "Headington", | ||
city: "Oxford", | ||
postcode: "OX3 7LE" | ||
}, | ||
phoneNumber: "01865235621", | ||
abbreviation: "OXF", | ||
locations: [ | ||
{ | ||
id: generateId(), | ||
name: "Churchill Hospital breast unit", | ||
type: "hospital", | ||
isMainSite: true, | ||
address: { | ||
line1: "Surgery and Diagnostics Centre", | ||
line2: "Churchill Hospital", | ||
line3: "Old Road", | ||
line4: "Headington", | ||
city: "Oxford", | ||
postcode: "OX3 7LE" | ||
} | ||
}, | ||
// { | ||
// id: generateId(), | ||
// name: "Horton Hospital breast unit", | ||
// type: "hospital", | ||
// isMainSite: false, | ||
// address: { | ||
// line1: "Horton General Hospital", | ||
// line2: "Oxford Road", | ||
// city: "Banbury", | ||
// postcode: "OX16 9AL" | ||
// } | ||
// }, | ||
{ | ||
id: generateId(), | ||
name: "Mobile Unit WX71 HCP", | ||
type: "mobile_unit", | ||
isMainSite: false, | ||
registration: "WX71 HCP" | ||
}, | ||
{ | ||
id: generateId(), | ||
name: "Mobile Unit WX71 HCR", | ||
type: "mobile_unit", | ||
isMainSite: false, | ||
registration: "WX71 HCR" | ||
} | ||
] | ||
} | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.