diff --git a/code/code/.vs/MDT5/v15/.suo b/code/code/.vs/MDT5/v15/.suo
index e6abca0..6db5bcd 100644
Binary files a/code/code/.vs/MDT5/v15/.suo and b/code/code/.vs/MDT5/v15/.suo differ
diff --git a/code/code/exercise05/app/css/mobile.css b/code/code/exercise05/app/css/mobile.css
new file mode 100644
index 0000000..4fb2c70
--- /dev/null
+++ b/code/code/exercise05/app/css/mobile.css
@@ -0,0 +1,27 @@
+.btn-style{
+ min-width: 150px;
+ margin-right: 10px;
+ margin-top: 20px;
+}
+
+body{
+ padding-top: 70px;
+}
+
+.menu {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: 100%;
+ height: 30px;
+ padding: 10px;
+ color: white;
+ background-color: black;
+}
+
+.img-center{
+ margin-top: 30px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
diff --git a/code/code/exercise05/app/data/patient.json b/code/code/exercise05/app/data/patient.json
new file mode 100644
index 0000000..40e56cd
--- /dev/null
+++ b/code/code/exercise05/app/data/patient.json
@@ -0,0 +1,101 @@
+{
+ "active": true,
+ "address": [
+ {
+ "city": "Amsterdam",
+ "country": "NLD",
+ "line": [ "Van Egmondkade 23" ],
+ "postalCode": "1024 RJ",
+ "use": "home"
+ }
+ ],
+ "birthDate": "1944-11-17",
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "nl",
+ "display": "Dutch",
+ "system": "urn:ietf:bcp:47"
+ }
+ ],
+ "text": "Nederlands"
+ },
+ "preferred": true
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": [ "Abels" ],
+ "given": [ "Sarah" ],
+ "use": "usual"
+ },
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "partner",
+ "system": "http://hl7.org/fhir/patient-contact-relationship"
+ }
+ ]
+ }
+ ],
+ "telecom": [
+ {
+ "system": "phone",
+ "use": "mobile",
+ "value": "0690383372"
+ }
+ ]
+ }
+ ],
+ "deceasedBoolean": false,
+ "gender": "male",
+ "id": "f001",
+ "identifier": [
+ {
+ "system": "urn:oid:2.16.840.1.113883.2.4.6.3",
+ "use": "usual",
+ "value": "738472983"
+ }
+ ],
+ "managingOrganization": {
+ "display": "Burgers University Medical Centre",
+ "reference": "Organization/f001"
+ },
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://hl7.org/fhir/v3/MaritalStatus"
+ }
+ ],
+ "text": "Getrouwd"
+ },
+ "multipleBirthBoolean": true,
+ "name": [
+ {
+ "family": [ "van de Heuvel" ],
+ "given": [ "Pieter" ],
+ "suffix": [ "MSc" ],
+ "use": "usual"
+ }
+ ],
+ "photo": [],
+ "resourceType": "Patient",
+ "telecom": [
+ {
+ "system": "phone",
+ "use": "mobile",
+ "value": "0648352638"
+ },
+ {
+ "system": "email",
+ "use": "home",
+ "value": "p.heuvel@gmail.com"
+ }
+ ]
+}
diff --git a/code/code/exercise05/app/img/bootstrap.png b/code/code/exercise05/app/img/bootstrap.png
new file mode 100644
index 0000000..827be8b
Binary files /dev/null and b/code/code/exercise05/app/img/bootstrap.png differ
diff --git a/code/code/exercise05/app/img/css3.png b/code/code/exercise05/app/img/css3.png
new file mode 100644
index 0000000..df97055
Binary files /dev/null and b/code/code/exercise05/app/img/css3.png differ
diff --git a/code/code/exercise05/app/img/html5.png b/code/code/exercise05/app/img/html5.png
new file mode 100644
index 0000000..1d2c265
Binary files /dev/null and b/code/code/exercise05/app/img/html5.png differ
diff --git a/code/code/exercise05/app/img/jQuery.png b/code/code/exercise05/app/img/jQuery.png
new file mode 100644
index 0000000..ae8e551
Binary files /dev/null and b/code/code/exercise05/app/img/jQuery.png differ
diff --git a/code/code/exercise05/app/img/js.png b/code/code/exercise05/app/img/js.png
new file mode 100644
index 0000000..d9f240f
Binary files /dev/null and b/code/code/exercise05/app/img/js.png differ
diff --git a/code/code/exercise05/app/img/react.png b/code/code/exercise05/app/img/react.png
new file mode 100644
index 0000000..1333eb9
Binary files /dev/null and b/code/code/exercise05/app/img/react.png differ
diff --git a/code/code/exercise05/app/index.html b/code/code/exercise05/app/index.html
new file mode 100644
index 0000000..261e0e3
--- /dev/null
+++ b/code/code/exercise05/app/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/code/code/exercise05/app/scripts/Patient.js b/code/code/exercise05/app/scripts/Patient.js
new file mode 100644
index 0000000..464f4f6
--- /dev/null
+++ b/code/code/exercise05/app/scripts/Patient.js
@@ -0,0 +1,46 @@
+function Patient(fhirpatient) {
+ var patient = fhirpatient;
+
+ return {
+ "lastname": () => {
+ if (patient.name) {
+ var nameElement = patient.name.find((element) => {
+ return (element.use == "usual");
+ });
+ if (nameElement)
+ return nameElement.family;
+ }
+ return undefined;
+ },
+ "gender": () => {
+ if(patient.gender)
+ return patient.gender;
+ return undefined;
+
+ },
+ "date": () => {
+ if(patient.birthDate)
+ return patient.birthDate;
+ },
+ "home": () => {
+ if (patient.address) {
+ var addressElement = patient.address.find((element) => {
+ return (element.use == "home");
+ });
+ if (addressElement)
+ return (addressElement.postalCode + " " + addressElement.city);
+ }
+ return undefined;
+ },
+ "country": () => {
+ if (patient.address) {
+ var addressElement = patient.address.find((element) => {
+ return (element.use == "home");
+ });
+ if (addressElement)
+ return (addressElement.country);
+ }
+ return undefined;
+ },
+ }
+}
\ No newline at end of file
diff --git a/code/code/exercise05/app/scripts/app.js b/code/code/exercise05/app/scripts/app.js
new file mode 100644
index 0000000..871f5be
--- /dev/null
+++ b/code/code/exercise05/app/scripts/app.js
@@ -0,0 +1,3 @@
+function loadTemplates() {
$('#navigation').load('templates/NavbarTemplate.html');
+ $('#content').load('templates/AboutTemplate.html');
+}
$(document).ready(loadTemplates);
\ No newline at end of file
diff --git a/code/code/exercise05/app/scripts/fhirService.js b/code/code/exercise05/app/scripts/fhirService.js
new file mode 100644
index 0000000..345e015
--- /dev/null
+++ b/code/code/exercise05/app/scripts/fhirService.js
@@ -0,0 +1,5 @@
+var patient = {};
+
+$.getJSON("data/patient.json", (data) => {
+ patient = Patient(data);
+});
\ No newline at end of file
diff --git a/code/code/exercise05/app/scripts/landung.js b/code/code/exercise05/app/scripts/landung.js
new file mode 100644
index 0000000..a1cabfb
--- /dev/null
+++ b/code/code/exercise05/app/scripts/landung.js
@@ -0,0 +1,77 @@
+function simulation() {
+ var v;
+ var s;
+ var fuel;
+ var schub = false;
+
+ setStartValues(50000, -1000, 10000);
+
+ function switchon() {
+ schub = true;
+ update();
+ checkGameOver();
+ }
+
+ function switchoff() {
+ schub = false;
+ update();
+ checkGameOver();
+ }
+
+ function a() {
+ if (schub == false || fuel <= 0)
+ return -1.63;
+ else {
+ fuel = fuel - 100;
+ return -1.63 + 12;
+ }
+ }
+
+ function showValues() {
+ $("#height").html("Höhe: " + s + " m");
+ $("#speed").html("Geschwindigkeit: " + v + " m/s");
+ $("#fuel").html("Teibstoffvorrat: " + fuel + " l");
+ }
+
+
+ function update() {
+ v = v + a();
+ s = s + v;
+ showValues();
+ }
+
+ function checkGameOver() {
+ if (s <= 0) {
+ if (v < -10)
+ alert("Fehlschlag");
+ else
+ alert("Erfolgreich");
+
+ setStartValues(50000, -1000, 10000);
+ showValues();
+ }
+ }
+
+ function setStartValues(height, velocity, Newfuel) {
+ v = velocity;
+ s = height;
+ fuel = Newfuel;
+ }
+
+ $('#content').html("Mondlandung
");
+ $("#content").append("")
+ $("#content").append("Höhe:
");
+ $("#content").append("Geschwindikgiet:
");
+ $("#content").append("Treibstoffvorrat:
");
+ $("#content").append("");
+ $("#content").append("");
+
+
+
+ $("#energy").click(switchon);
+ $("#no-energy").click(switchoff);
+
+ showValues();
+}
+
+
diff --git a/code/code/exercise05/app/templates/AboutTemplate.html b/code/code/exercise05/app/templates/AboutTemplate.html
new file mode 100644
index 0000000..d44ecb3
--- /dev/null
+++ b/code/code/exercise05/app/templates/AboutTemplate.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
HTML5
+
Strukturierte Inhalte für den Browser
+
+
+
+
CSS3
+
Flexibles Design und Layout
+
+
+
+
Bootstrap3
+
Responsive und schick
+
+
+
+
+
JQuery
+
Zugriff auf das DOM
+
+
+
+
REACT
+
Building User Interfaces
+
+
+
+
JavaScript
+
Die Programmiersprache im Browser
+
+
diff --git a/code/code/exercise05/app/templates/NavbarTemplate.html b/code/code/exercise05/app/templates/NavbarTemplate.html
new file mode 100644
index 0000000..aaa8e06
--- /dev/null
+++ b/code/code/exercise05/app/templates/NavbarTemplate.html
@@ -0,0 +1,22 @@
+
+
diff --git a/code/code/exercise05/app/templates/PatientDetailsTemplate.html b/code/code/exercise05/app/templates/PatientDetailsTemplate.html
new file mode 100644
index 0000000..8ae330e
--- /dev/null
+++ b/code/code/exercise05/app/templates/PatientDetailsTemplate.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ Geschlecht
+
+
+
+
+
+
+ Geburtsdatum
+
+ Geburtsdatum
+
+
+
+
+ Wohnort:
+
+ Patientenname
+
+
+
+
+ Land:
+
+ Land:
+
+
\ No newline at end of file