Orthogonal local generators of an integral Hermitian lattice
Let $K,F$ be number fields with $F\subseteq K$, and let $c$ be an involution of $K$ with fixed field $F$. Assume $K$ is totally complex, every complex embedding carries $c$ to complex conjugation, and for every maximal ideal $P\subseteq\mathcal O_K$ some $\theta\in\mathcal O_K$ satisfies $\theta-c(\theta)\notin P$.
Let $V$ be a finite-dimensional $K$-vector space with its compatible $\mathcal O_K$-module structure, let $h$ be Hermitian, let $X\subseteq V$ be a subspace on which $h$ is nondegenerate, and let $L\subseteq V$ be a finitely generated $\mathcal O_K$-module spanning $X$. Assume $h(L,L)\subseteq\mathcal O_K$. For every maximal ideal $\mathfrak p\subseteq\mathcal O_F$, there are $b_1,\ldots,b_d\in X$ and nonzero $a_1,\ldots,a_d\in\mathcal O_F$, with $d=\dim_K X$, such that $$L_{\mathfrak p}=\sum_{i=1}^{d}(\mathcal O_K)_{\mathfrak p}b_i,\qquad h(b_i,b_j)=0\ (i\ne j),\qquad h(b_i,b_i)=a_i.$$
Localization inverts elements of $\mathcal O_F\setminus\mathfrak p$, so $(\mathcal O_K)_{\mathfrak p}=\mathcal O_K\otimes_{\mathcal O_F}(\mathcal O_F)_{\mathfrak p}$.