Repository navigation
Conversation
Signed-off-by: abrichr <[email protected]>
Signed-off-by: abrichr <[email protected]>
Independent adversarial review: BLOCKHead reviewed: What I ran
FindingsP1: a version-specific reference to the same resource can hide an existing record from duplicate detection. P2: the identity search now sends an absolute URL without validation. P3: a closed contract accepts a display that names someone else. P3: the late recheck can raise. In Checked and found sound
|
Signed-off-by: abrichr <[email protected]>
…array Signed-off-by: abrichr <[email protected]>
Signed-off-by: abrichr <[email protected]>
Signed-off-by: abrichr <[email protected]>
Refs #1855.
Treat version-specific FHIR references as the same logical target when finding existing records, while keeping the requested version separate for read-back checks. Send local references in canonical
Type/idsearch form and refuse a search that omits a freshly known matching record. Typed presentation fields still cannot identify a target on their own.Validation: 389 passed, one opt-in live-service test skipped; package static checks and generality, release and source-boundary guards passed. The final formatting-only commit preserves module ASTs and all test assertions. Regression controls cover historical/current identity, canonical query forms, wrong-target display values, missing known matches and unreadable nested references.
A pinned HAPI FHIR R4 run passed five native identifying-search assertions and one wrong-target assertion. Four query-only observations accepted both absolute and relative forms. Its duplicate control failed closed: after the duplicate was saved and independently read, the native search omitted it, so the guard returned unreadable before the pure judge. That run does not establish a successful native duplicate-judge control or full governed workflow qualification.
Coverage here is scalar Observation.subject and nested CareTeam references. Broader Reference paths, SQL relationship metadata, OpenAPI identities and full real-application qualification remain separate work. This draft does not close #1855.