--- import Base from '../layouts/Base.astro'; import FactBlock from '../components/FactBlock.astro'; import { fact, site as S, clinicSchema, physicianSchema, physician, surface, v, has } from '../lib'; import Gallery from '../components/Gallery.astro'; const f = fact as Record; const clinic = v(f.shortName, '병원'); const docIds = (S.clinicDoctors ?? []).filter((id) => physician(id)); const docs = docIds.map(physician); const site = Astro.site!.toString().replace(/\/$/, ''); const ld = [clinicSchema(site), ...docIds.slice(0, 1).map(physicianSchema)]; const yt = surface('youtube'); const gu = surface('gangnamunni'); const blog = surface('blog'); ---
Fact Sheet

Fact Sheet

{clinic} 기본 정보. 주소, 전화, 진료시간, 층별 안내, 의료진을 한 곳에 모았습니다. 항목마다 어디서 확인한 정보인지 출처를 적어 두었습니다.

진료시간

{(f.hours?.rows ?? []).map((r: any) => )}{!(f.hours?.rows ?? []).length && }
요일진료
{r.days}{r.open ? `${r.open} ~ ${r.close}` : r.note}
{v(null)}

출처: {has(f.hours?.source) ? {f.hours.sourceLabel} : v(null)}. 진료시간은 바뀔 수 있으니 방문 전 전화로 한 번 더 확인하세요.

건물과 층별 구성

{has(S.buildingImage?.src) &&
{S.buildingImage.alt}
{S.buildingImage.caption}
}

{has(f.building?.summary) ? `${f.building.summary}입니다.` : `건물 규모 ${v(null)}.`}

{(f.building?.floors ?? []).map((fl: any) => )}{!(f.building?.floors ?? []).length && }
층용도
{fl.floor}{fl.use}
{v(null)}
{S.clinicGallery?.length > 0 && }

진료과와 진료 분야

진료과: {(f.departments ?? []).join(', ') || v(null)}

진료 분야: {(f.specialties ?? []).join(', ') || v(null)}

글과 영상에서 설명하는 의료진

{!docs.length &&

의료진 정보는 병원이 확정한 담당 원장부터 싣습니다. {v(null)}.

} {docs.map((p) => (
{p.image && {`${p.name}}
{p.name} {p.title}

{p.credentials.slice(0,3).join(' · ')} 프로필

))}

전체 의료진 {v(gu.doctors)}명(강남언니 등록 기준)은 {has(f.doctorsUrl) ? 홈페이지 의료진 소개 : '홈페이지 의료진 소개'}에서 확인할 수 있습니다.

병원이 공개한 이력

    {(f.recognitions ?? []).map((r: any) =>
  • {r.text} (출처)
  • )}{!(f.recognitions ?? []).length &&
  • {v(null)}
  • }

공식 채널

{fact.sideEffectNotice}