-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds some more test coverage on ignored constraint: `telcom or endpoi…
…nt` (pd-1) to the resource_validator. PiperOrigin-RevId: 561157232
- Loading branch information
1 parent
179c690
commit ce405fd
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
testdata/r4/validation/practitioner_role_with_ignored_invalid_constraint.prototxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
id { | ||
value: "12345" | ||
} | ||
meta { | ||
extension { | ||
url { | ||
value: "https://g.co/fhir/medicalrecords/sourceIdentifier" | ||
} | ||
value { | ||
identifier { | ||
system { | ||
value: "test" | ||
} | ||
value { | ||
value: "12345" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
active { | ||
value: 0 | ||
} | ||
period { | ||
start { | ||
value_us: 1663853259000000 | ||
timezone: "+00:00" | ||
precision: SECOND | ||
} | ||
end { | ||
value_us: 4133894400000000 | ||
timezone: "+00:00" | ||
precision: SECOND | ||
} | ||
} | ||
practitioner { | ||
practitioner_id { | ||
value: "12345" | ||
} | ||
} | ||
organization { | ||
display { | ||
value: "test" | ||
} | ||
} | ||
code { | ||
coding { | ||
system { | ||
value: "https://test.com" | ||
} | ||
code { | ||
value: "123" | ||
} | ||
display { | ||
value: "1234" | ||
} | ||
} | ||
text { | ||
value: "1234" | ||
} | ||
} |