Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new licensed health care facilities page #2789

Merged
merged 3 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/data/downloadMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,13 @@ export const dataPages: DownloadMetadata = {
openSgid: 'health.health_care_facilities',
layerId: 0,
},
'Utah Licensed Health Care Facilities': {
itemId: '925570c858174b2aa04dbec0896cee91',
name: 'Utah Licensed Health Care Facilities',
featureServiceId: 'UtahLicensedHealthCareFacilities',
openSgid: 'health.licensed_health_care_facilities',
layerId: 0,
},
'Utah Emergency Medical Services': {
itemId: '4d29084d6e434ef397ae5922ba7402b4',
name: 'Utah Emergency Medical Services',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
import Layout from '@layouts/DataPage.astro';

import type { IMetadata, IPageMetadata } from '@models/types';
import { ProductType, SgidCategory } from '@models/types';

import HubDownloads from '@components/data/HubDownloads.astro';
import Metadata from '@components/data/Metadata.astro';
import UpdateHistory from '@components/data/UpdateHistory.astro';

import CardWithPopularLink from '@components/page/CardWithPopularLink.astro';
import CardWithSmallLink from '@components/page/CardWithSmallLink.astro';
import GridForMoreResources from '@components/page/GridForMoreResources.astro';
import GridForYouMightLike from '@components/page/GridForYouMightLike.astro';
import Section from '@components/page/Section.astro';

import { dataPages } from '@data/downloadMetadata';

export const metadata: IMetadata = {
pageTitle: 'Utah Licensed Health Care Facilities',
pageDescription: `Hospitals, clinics, etc`,
stewards: ['UGRC', 'DHHS'],
type: ProductType.POINT,
category: SgidCategory.HEALTH,
};

const page: IPageMetadata = {
...metadata,
application:
'https://docs.google.com/spreadsheets/d/e/2PACX-1vT8pLW5yVrV9EY811pE3leFw9u65FtXkMaADaYYdBi0zpjAhrIhaGDQpdQA-jPn8D07DxStjKcWXUcF/pubhtml?gid=1835834361&single=true',
updateHistory: [`June 2024`],
hub: {
...dataPages[metadata.pageTitle],
steveoh marked this conversation as resolved.
Show resolved Hide resolved
},
};
---

<Layout {...page} subTitle={page.updateHistory[0]}>
<Metadata slot="metadata" {...page} />

<Fragment slot="summary">
<p>
Health care facilities licensed by the Division of Licensing and Background Checks (DLBC) Office of Licensing (OL)
under the authority of the Utah Department of Health and Human Services (DHHS). These locations are regularly
inspected to ensure programs and facilities are in compliance with state and federal health treatment and safety
standards. Some of the facilities in this dataset include but are not limited to hospitals, assisted living,
hospice care, mammography, and ambulatory surgical facilities.
</p>
</Fragment>

<Section title="Use the data" slot="downloads" titlePosition="center">
<HubDownloads {...page.hub} />
</Section>

<UpdateHistory slot="update-history" updates={page.updateHistory} />

<Section title="More resources" slot="more-resources" titlePosition="center">
<GridForMoreResources>
<CardWithPopularLink
title="DHHS facility information"
href="https://dlbc.utah.gov/home/office-of-licensing/health-facilities/health-facilities-information/"
>Licensed health care facility rules, documents and other information.</CardWithPopularLink
>
<CardWithPopularLink title="DHHS" href="https://dhhs.utah.gov"
>The homepage for the Utah Department of Health and Human Services</CardWithPopularLink
>
</GridForMoreResources>
</Section>

<Section title="You might also like" slot="you-might-also-like" stripe titlePosition="center">
<GridForYouMightLike>
<CardWithSmallLink
title="Health Small Statistical Areas"
href="/products/sgid/health/health-small-statistical-areas/"
>Areas used by DHHS for reporting.</CardWithSmallLink
>
<CardWithSmallLink title="CDC" href="https://www.cdc.gov/"
>Nationwide health information at The Centers for Disease Control and Prevention</CardWithSmallLink
>
</GridForYouMightLike>
</Section>
</Layout>