-
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
400c02c
commit 757df7f
Showing
13 changed files
with
837 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.4.33205.214 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PawPanion", "PawPanion\PawPanion.csproj", "{9C58E64B-AE31-43D9-B0D5-1046B93290B8}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9C58E64B-AE31-43D9-B0D5-1046B93290B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{9C58E64B-AE31-43D9-B0D5-1046B93290B8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{9C58E64B-AE31-43D9-B0D5-1046B93290B8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{9C58E64B-AE31-43D9-B0D5-1046B93290B8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {B489C7E0-D6C8-421F-961F-248C79E84795} | ||
EndGlobalSection | ||
EndGlobal |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Microsoft.Extensions.Logging; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace PawPanion.Controllers | ||
{ | ||
[ApiController] | ||
[Route("[controller]")] | ||
public class WeatherForecastController : ControllerBase | ||
{ | ||
private static readonly string[] Summaries = new[] | ||
{ | ||
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" | ||
}; | ||
|
||
private readonly ILogger<WeatherForecastController> _logger; | ||
|
||
public WeatherForecastController(ILogger<WeatherForecastController> logger) | ||
{ | ||
_logger = logger; | ||
} | ||
|
||
[HttpGet] | ||
public IEnumerable<WeatherForecast> Get() | ||
{ | ||
var rng = new Random(); | ||
return Enumerable.Range(1, 5).Select(index => new WeatherForecast | ||
{ | ||
Date = DateTime.Now.AddDays(index), | ||
TemperatureC = rng.Next(-20, 55), | ||
Summary = Summaries[rng.Next(Summaries.Length)] | ||
}) | ||
.ToArray(); | ||
} | ||
} | ||
} |
Submodule Models
added at
e4ec94
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.Extensions.Configuration; | ||
using Microsoft.Extensions.Hosting; | ||
using Microsoft.Extensions.Logging; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace PawPanion | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
CreateHostBuilder(args).Build().Run(); | ||
} | ||
|
||
public static IHostBuilder CreateHostBuilder(string[] args) => | ||
Host.CreateDefaultBuilder(args) | ||
.ConfigureWebHostDefaults(webBuilder => | ||
{ | ||
webBuilder.UseStartup<Startup>(); | ||
}); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/launchsettings.json", | ||
"iisSettings": { | ||
"windowsAuthentication": false, | ||
"anonymousAuthentication": true, | ||
"iisExpress": { | ||
"applicationUrl": "http://localhost:7490", | ||
"sslPort": 44311 | ||
} | ||
}, | ||
"profiles": { | ||
"IIS Express": { | ||
"commandName": "IISExpress", | ||
"launchBrowser": true, | ||
"launchUrl": "swagger", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
} | ||
}, | ||
"PawPanion": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": "true", | ||
"launchBrowser": true, | ||
"launchUrl": "swagger", | ||
"applicationUrl": "https://localhost:5001;http://localhost:5000", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
using Microsoft.AspNetCore.Builder; | ||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.AspNetCore.HttpsPolicy; | ||
using Microsoft.AspNetCore.Mvc; | ||
using Microsoft.Extensions.Configuration; | ||
using Microsoft.Extensions.DependencyInjection; | ||
using Microsoft.Extensions.Hosting; | ||
using Microsoft.Extensions.Logging; | ||
using Microsoft.OpenApi.Models; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace PawPanion | ||
{ | ||
public class Startup | ||
{ | ||
public Startup(IConfiguration configuration) | ||
{ | ||
Configuration = configuration; | ||
} | ||
|
||
public IConfiguration Configuration { get; } | ||
|
||
// This method gets called by the runtime. Use this method to add services to the container. | ||
public void ConfigureServices(IServiceCollection services) | ||
{ | ||
|
||
services.AddControllers(); | ||
services.AddSwaggerGen(c => | ||
{ | ||
c.SwaggerDoc("v1", new OpenApiInfo { Title = "PawPanion", Version = "v1" }); | ||
}); | ||
} | ||
|
||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. | ||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | ||
{ | ||
if (env.IsDevelopment()) | ||
{ | ||
app.UseDeveloperExceptionPage(); | ||
app.UseSwagger(); | ||
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "PawPanion v1")); | ||
} | ||
|
||
app.UseHttpsRedirection(); | ||
|
||
app.UseRouting(); | ||
app.UseAuthentication(); | ||
app.UseAuthorization(); | ||
|
||
app.UseEndpoints(endpoints => | ||
{ | ||
endpoints.MapControllers(); | ||
}); | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
|
||
namespace PawPanion | ||
{ | ||
public class WeatherForecast | ||
{ | ||
public DateTime Date { get; set; } | ||
|
||
public int TemperatureC { get; set; } | ||
|
||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); | ||
|
||
public string Summary { get; set; } | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information" | ||
} | ||
}, | ||
"AllowedHosts": "*", | ||
"ConnectionStrings": { | ||
"DefaultConnection": "server=localhost\\SQLExpress;database=PawPanion;integrated security=true;TrustServerCertificate=true;" | ||
}, | ||
"FirebaseProjectId": "pawpanion-7ad22" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,101 @@ | ||
USE [master] | ||
|
||
IF db_id('PawPanion') IS NULl | ||
CREATE DATABASE [PawPanion] | ||
GO | ||
|
||
USE [PawPanion] | ||
GO | ||
|
||
|
||
DROP TABLE IF EXISTS [User]; | ||
DROP TABLE IF EXISTS [Pet]; | ||
DROP TABLE IF EXISTS [ToDo]; | ||
DROP TABLE IF EXISTS [Record]; | ||
DROP TABLE IF EXISTS [RecordType]; | ||
DROP TABLE IF EXISTS [Appointment]; | ||
GO | ||
|
||
|
||
CREATE TABLE [User] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[FirebaseUserId] nvarchar(255) UNIQUE NOT NULL, | ||
[Name] nvarchar(255) NOT NULL, | ||
[Email] nvarchar(255) NOT NULL, | ||
[Phone] nvarchar(255), | ||
[ImageLocation] nvarchar(255), | ||
[IsVet] bit NOT NULL | ||
) | ||
GO | ||
|
||
CREATE TABLE [Pet] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[Name] nvarchar(255) NOT NULL, | ||
[Breed] nvarchar(255) NOT NULL, | ||
[IsMale] bit NOT NULL, | ||
[Age] float NOT NULL, | ||
[OwnerId] int NOT NULL, | ||
[IsDog] bit NOT NULL, | ||
[ImageLocation] nvarchar(255) | ||
) | ||
GO | ||
|
||
CREATE TABLE [ToDo] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[OwnerId] int NOT NULL, | ||
[PetId] int NOT NULL, | ||
[Message] nvarchar(255) NOT NULL, | ||
[DueDate] datetime, | ||
[IsComplete] bit NOT NULL | ||
) | ||
GO | ||
|
||
CREATE TABLE [Record] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[RecordTypeId] int NOT NULL, | ||
[PetId] int NOT NULL, | ||
[VetId] int NOT NULL, | ||
[Date] datetime NOT NULL, | ||
[Weight] float, | ||
[Medication] nvarchar(255), | ||
[Illness] nvarchar(255), | ||
[Diet] nvarchar(255), | ||
[Note] nvarchar(255) | ||
) | ||
GO | ||
|
||
CREATE TABLE [RecordType] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[Name] nvarchar(255) NOT NULL | ||
) | ||
GO | ||
|
||
CREATE TABLE [Appointment] ( | ||
[Id] int PRIMARY KEY IDENTITY(1, 1), | ||
[PetId] int NOT NULL, | ||
[VetId] int NOT NULL, | ||
[Date] datetime NOT NULL, | ||
[ReasonForVisit] nvarchar(255) NOT NULL | ||
) | ||
GO | ||
|
||
ALTER TABLE [Record] ADD FOREIGN KEY ([PetId]) REFERENCES [Pet] ([Id]) ON DELETE CASCADE | ||
GO | ||
|
||
ALTER TABLE [Record] ADD FOREIGN KEY ([RecordTypeId]) REFERENCES [RecordType] ([Id]) | ||
GO | ||
|
||
ALTER TABLE [Appointment] ADD FOREIGN KEY ([PetId]) REFERENCES [Pet] ([Id]) ON DELETE CASCADE | ||
GO | ||
|
||
ALTER TABLE [Appointment] ADD FOREIGN KEY ([VetId]) REFERENCES [User] ([Id]) | ||
GO | ||
|
||
ALTER TABLE [Record] ADD FOREIGN KEY ([VetId]) REFERENCES [User] ([Id]) | ||
GO | ||
|
||
ALTER TABLE [ToDo] ADD FOREIGN KEY ([OwnerId]) REFERENCES [User] ([Id]) | ||
GO | ||
|
||
ALTER TABLE [ToDo] ADD FOREIGN KEY ([PetId]) REFERENCES [Pet] ([Id]) ON DELETE CASCADE | ||
GO |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
USE [PawPanion]; | ||
GO | ||
|
||
set identity_insert [User] on | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (1, 'J2cSHO1UB5V9bHascob2kOCQkyD3', 'Sonny Bradford', '[email protected]', 8663370606, 'https://www.safarivet.com/wp-content/uploads/2019/04/Sergio_Franco.jpg', 1); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (2, 'iLwSZ6bjH1cEX1RP731YpucVDq33', 'Michaela Summers', '[email protected]', 8663078525, 'https://www.lsu.edu/vetmed/images/headshots/gill_nimar.jpg', 1); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (3, 'c9GkMHeu27di9WYzV7DRYTW4TwI3', 'Rebekah Grandey', '[email protected]', 9316071234, 'https://pasteboard.co/j4zj9fFqAdc6.png', 0); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (4, 'LVnmq6h5I3O6ANa2V2Tt0x1RF4c2', 'Eileen Jones', '[email protected]', 8663053667, 'https://static.vecteezy.com/system/resources/thumbnails/003/492/047/small/closeup-portrait-of-a-charming-girl-over-blue-studio-background-image-free-photo.jpg', 0); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (5, 'z8OtkoZuYMRTYigOqZmwCa0G2Zj1', 'Kellye Perry', '[email protected]', 9317430412, 'https://wp.dailybruin.com/images/2020/08/web.ae_.katyperry.courtesy-128x128.jpg', 0); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (6, 'MoKLbuMewLdwtYyCGzzoybQS4Lk1', 'John Walker', '[email protected]', 8665489055, null, 1); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (7, 'ZvherFg8pKRmZm4vOYFcXxYM32F2', 'Greg Thomas', '[email protected]', 6153345351, null, 0); | ||
insert into [User] ([Id], FirebaseUserId, [Name], Email, Phone, ImageLocation, isVet) values (8, 'e325QlaRsTamAc8NT5Fpyhpg0aW2', 'Anahi Miranda', '[email protected]', 6156579925, null, 0); | ||
set identity_insert [User] off | ||
|
||
set identity_insert [Pet] on | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (1, 'Annie', 'Ragdoll/mix', 0, 6, 3, 0, 'https://pasteboard.co/RTqrisoyChZm.png'); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (2, 'Lottie', 'Britney/Cocker Spaniel', 0, .2, 3, 1, 'https://pasteboard.co/6AOGSiqa4fXP.png'); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (3, 'Banjo', 'Mountain Cur', 1, 2, 4, 1, 'https://www.dogbreedslist.info/uploads/dog-pictures/mountain-cur-2.jpg'); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (4, 'Luna', 'mixed breed', 0, 8, 7, 1, null); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (5, 'Baby Cat', 'Tortie mix', 0, 3, 5, 0, null); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (6, 'Milo', 'Chihuahua mix', 1, 5, 7, 1, null); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (7, 'Eden', 'Calico mix', 0, 13, 5, 0, null); | ||
insert into [Pet] ([Id], [Name], Breed, IsMale, Age, OwnerId, IsDog, ImageLocation) values (8, 'Pepsi', 'Black Persian mix', 0, 6, 5, 0, null); | ||
set identity_insert [Pet] off | ||
|
||
set identity_insert [RecordType] on | ||
insert into [RecordType] ([Id], [Name]) values (1, 'Routine Checkup'); | ||
insert into [RecordType] ([Id], [Name]) values (2, 'Vaccination'); | ||
insert into [RecordType] ([Id], [Name]) values (3, 'Surgery'); | ||
insert into [RecordType] ([Id], [Name]) values (4, 'Treatment'); | ||
insert into [RecordType] ([Id], [Name]) values (5, 'Other'); | ||
set identity_insert [RecordType] off | ||
|
||
set identity_insert [Record] on | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (1, 1, 1, 1, '2016-06-07 14:00:00', 3, 'Revolution Plus Topical Solution for Cats, 2.8-5.5 lbs', 'Ear mites, fleas', null, 'Mild case of ear mites and fleas. Apply Revolution once a month for three months. Squeeze the tube 3 or 4 times to empty on to the skin in one spot. Do not massage into the skin.'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (2, 2, 3, 1, '2019-02-12 13:00:00', 9, null, null, 'Purina One Puppy Food - 1/2 cup three times a day', 'First round of dewormer(StrongIdT) Next round in approximately two weeks'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (3, 2, 3, 1, '2019-02-20 13:30:00', 10.9, null, null, null, 'Second round of dewormer(StrongIdT) Next round in approximately two weeks. Distemper, Hepatitus, and Parainfluenza administered. Will administer Parvovirus vaccine at next visit.'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (4, 1, 1, 2, '2019-02-22 10:00:00', 8.8, null, null, null, 'Routine checkup normal vitals.'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (5, 2, 3, 1, '2019-03-04 11:30:00', 13.7, null, null, null, 'Third round of dewormer(StrongIdT) Final. Parvovirus vaccine administered.'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (6, 4, 3, 2, '2019-09-03 08:30:00', 20.4, 'NexGuard Chewable', null, null, 'NexGuard Chewable 3 pills once/month.'); | ||
insert into Record ([Id], RecordTypeId, PetId, VetId, Date, Weight, Medication, Illness, Diet, Note) values (7, 1, 3, 2, '2020-09-28 08:00:00', 31.2, null, null, null, 'Routine checkup normal vitals.'); | ||
set identity_insert [Record] off | ||
|
||
set identity_insert [ToDo] on | ||
insert into [ToDo] ([Id], OwnerId, PetId, Message, DueDate, isComplete) values (1, 7, 4, 'Buy clicker for training', '2023-02-18 10:00:00', 0); | ||
insert into [ToDo] ([Id], OwnerId, PetId, Message, DueDate, isComplete) values (2, 3, 2, 'Do walk-in for nail trim before they close', '2023-02-20 15:00:00', 0); | ||
set identity_insert [ToDo] off | ||
|
||
set identity_insert [Appointment] on | ||
insert into [Appointment] ([Id], PetId, VetId, Date, ReasonForVisit) values (1, 5, 6, '2023-03-13 08:00:00', 'Rabies vaccination'); | ||
insert into [Appointment] ([Id], PetId, VetId, Date, ReasonForVisit) values (2, 2, 2, '2023-03-15 10:30:00', 'Dewormer round 4'); | ||
set identity_insert [Appointment] off |