{{#if fError}}

{{errorMsg}}

{{else}}
Date {{formatDate dateTime "MM/DD/YYYY - HH:mm"}}
Type {{typeDisplayName}}
Category {{#if categoryName}} {{categoryName}} {{else}} Blank {{/if}}
Patient Class {{#if patientClassName}} {{patientClassName}} {{else}} Blank {{/if}}
{{#if appointmentStatus}}
Appointment Status {{appointmentStatus}}
{{/if}}
Location {{#if locationDisplayName}} {{locationDisplayName}} {{else}} Blank {{/if}}
Stop Code {{#if stopCodeName}} {{stopCodeName}} {{else}} Blank {{/if}}
Facility {{facilityName}}
{{#if providers}}
Providers
{{#each providers}}
{{#if primary}} Primary: {{else}} Additional Provider: {{/if}} {{providerDisplayName}}
{{/each}} {{/if}} {{#if dischargeDiagnoses}}
Discharge Diagnoses
{{#each dischargeDiagnoses}}
{{#if icdName}} {{icdName}} {{else}} Unknown {{/if}}
{{/each}} {{/if}} {{#if movements}}
Movements
{{#each movements}}
{{formatDate dateTime}} {{#if locationName}} {{locationName}} {{else}} Blank {{/if}} {{movementType}}
{{/each}} {{/if}} {{#if reasonName }}
Reason
{{reasonName}}
{{/if}} {{#if cptInfo}}
Procedures
Date Name Quantity Comment
{{#each cptInfo}}
{{formatDate entered}} {{name}} {{quantity}} {{#if comment}} {{comment}} {{else}} Blank {{/if}}
{{/each}} {{/if}} {{/if}}