Skip to content

ExternalExposure: identifier: true on FK/concept-id slots forces them required #2

Description

@amc-corey-cox

Heads-up, and no urgency — I started wiring the EnVar → OMOP mapping against this schema a bit early (while it's still in progress), and hit one thing worth flagging.

On ExternalExposure, the FK and concept-id slots (location_id and the *_concept_id columns) are marked identifier: true. In LinkML that implies required, so validating real external_exposure rows fails — OMOP treats these as nullable FKs / 0 for unmapped concepts. Looks like only external_exposure_id should be the identifier.

I've patched it locally for now, so nothing's blocked on my side. Flagging in case it's useful — your call on the fix, since you may be mid-design here. Happy to open a small PR if you'd like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions