Stream: IG creation
Topic: Comparing Capability Statements
Grahame Grieve (Aug 26 2019 at 21:59):
I am writing a tool that takes 2 capability statements (a and b) and checks that a is a subset of b - e.g. if a server implements, b, then it also implements a. I'm not sure how to describe this.
Specifically, I'm not sure how to structure the messages about compatibility. Take this as an example:
The focus capability statement specifies some security requirements but the other capability statement doesn't
Grahame Grieve (Aug 26 2019 at 21:59):
I don't think that's coherent but I don't know how to express it better
Bryn Rhodes (Aug 26 2019 at 22:43):
Can you include the security requirements in the message? Something like The focus capability statement specifies the following security requirements that are not present in the compared statement: <blah blah blah>
Grahame Grieve (Aug 26 2019 at 23:06):
well, perhaps, I'm more interested in the focus/other. In your text, which way round is the compared statement?
Grahame Grieve (Aug 27 2019 at 06:16):
well:
INFORMATION @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa: Comparing focus to other, to see if a server that implements other also implements focus (src = ProfileComparer) INFORMATION @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa: Focus: http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa|0.0.0 (src = ProfileComparer) INFORMATION @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa: Other: http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server|3.0.0 (src = ProfileComparer) ERROR @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.security.cors: The focus capability statement specifies the resource AuditEvent but the other capability statement does not (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'DiagnosticReport').security.cors: The focus capability statement does not specify the resource CREATE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'DocumentReference').security.cors: The focus capability statement does not specify the resource CREATE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'Location').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'Medication').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'Organization').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'Patient').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'Practitioner').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) WARNING @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.resource.where(type = 'PractitionerRole').security.cors: The focus capability statement does not specify the resource SEARCHTYPE but the other capability statement requires it (src = ProfileComparer) ERROR @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.security.cors: The focus capability statement specifies the resource Provenance but the other capability statement does not (src = ProfileComparer) ERROR @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.security.cors: The focus capability statement specifies the resource Questionnaire but the other capability statement does not (src = ProfileComparer) ERROR @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.security.cors: The focus capability statement specifies the resource QuestionnaireResponse but the other capability statement does not (src = ProfileComparer) ERROR @ http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa.security.cors: The focus capability statement specifies the resource RelatedPerson but the other capability statement does not (src = ProfileComparer)
Grahame Grieve (Aug 27 2019 at 06:16):
comments welcome
Eric Haas (Aug 27 2019 at 15:14):
focus and other is confusing can you just name them ? : "US Core CS specifies blah but IPA CS does not blah ..." ?
Grahame Grieve (Aug 27 2019 at 21:04):
where would I get the names from?
Grahame Grieve (Aug 28 2019 at 06:00):
see https://chat.fhir.org/#narrow/stream/179177-conformance/topic/Comparison.20of.20CapabilityStatements - I did some more work
Last updated: Apr 12 2022 at 19:14 UTC