CH EPR FHIR (R4)
4.0.1-ballot - ballot Switzerland flag

This page is part of the CH EPR FHIR (R4) (v4.0.1-ballot: DSTU 4 Ballot 2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: PpqmFeedRequestBundle - Detailed Descriptions

Active as of 2024-05-16

Definitions for the PpqmFeedRequestBundle resource profile.

Guidance on how to interpret the contents of this table can be found here

0. Bundle
Invariantsch-epr-ppqm-method-equality: HTTP methods of all request shall be the same (entry.request.method.distinct().count() = 1)
2. Bundle.type
Pattern Valuetransaction
4. Bundle.entry
Control1..?
Invariantsch-epr-ppqm-constistent-ids: For PUT, policy set ID in the embedded resource shall be the same as in the entry URL ((request.method != 'PUT') or (resource.identifier.where( type.coding.exists((system = 'http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType') and (code = 'policySetId')) ).value.lower() = request.url.substring(19).lower()))
6. Bundle.entry.resource
TypeConsent(CH PPQm Consent)
8. Bundle.entry.request
Invariantsch-epr-ppqm-url-format: URL format shall suit the HTTP method (( (method = 'POST') and (url = 'Consent') ) or ( (method != 'POST') and url.startsWith('Consent?identifier=') and url.lower().matches('^consent\\?identifier=urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$') ))
10. Bundle.entry.request.method
BindingThe codes SHALL be taken from CH PPQm Feed Request HTTP Method
(required to http://fhir.ch/ig/ch-epr-fhir/ValueSet/PpqmFeedRequestHttpMethod)
12. Bundle.entry.request.ifNoneMatch
Control0..0
14. Bundle.entry.request.ifModifiedSince
Control0..0
16. Bundle.entry.request.ifMatch
Control0..0
18. Bundle.entry.request.ifNoneExist
Control0..0