Stream: Da Vinci/plan-net-connectathon
Topic: Reference data attributes needed to pass Touchstone tests
Steve Munini (Oct 29 2020 at 17:06):
@Saul Kravitz , here are the missing attributes we found in the Touchstone test data with the reference data:
HealthcareService is missing: coverageArea endpoint type
Location is missing:
endpoint
partOf
Organization is missing:
endpoint
partOf
OrganizationAffiliation is missing:
endpoint
organization
PractitionerRole is missing:
endpoint
Saul Kravitz (Oct 29 2020 at 19:35):
Hi @Steve Munini
I haven't looked through all of these, but I did look at location. I think there is a misunderstanding of "required" vs "Must Support".
Truly required is minimum cardinality of >=1.
Must support with a minimum cardinality of 0 means (for a server) if you have it you must provide it, and (for a client) if you receive an instance that includes this element, you have to handle it gracefully.
Location
- partOf is MS 0..1 ("Another Location this one is physically a part of") --> not relevant for our example
- endpoint is MS 0..* --> we don't have any so we can't provide 'em.
Steve Munini (Oct 29 2020 at 19:36):
ok. Touchstone wants to test those search paths, so that is where the failures will occur.
Steve Munini (Oct 29 2020 at 19:37):
To get all the Touchstone tests to pass, I added those attributes manually.
ryan moehrke (Oct 29 2020 at 20:02):
Yup you can still pass the validation without having those elements, but Touchstone cannot test specific Queries (which are SHALL support) without having at least one resource populate those values (and this have at least one resource in the expected response)
We're planning some quality of life asserts to help describe this, but those haven't been written yet.
Last updated: Apr 12 2022 at 19:14 UTC