CH EPR PPQm (R4)
2.0.0 - draft Switzerland flag

This page is part of the CH EPR PPQm (R4) (v2.0.0: DSTU 2 Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: PPQm Feed Request Bundle for HTTP method POST -- add new policy sets - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "PpqmFeedRequestBundleAdd",
  "meta" : {
    "profile" : [
      🔗 "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmFeedRequestBundle"
    ]
  },
  "type" : "transaction",
  "entry" : [
    {
      "resource" : {
        "resourceType" : "Consent",
        "id" : "Template201Consent",
        "meta" : {
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"
          ]
        },
        "text" : {
          "status" : "empty",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 201 - Full access for the patient</p></div>"
        },
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "policySetId"
                }
              ]
            },
            "value" : "urn:uuid:57ab9b0d-7d97-4d85-9e4b-02bc7c939ad9"
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "templateId"
                }
              ]
            },
            "value" : "201"
          }
        ],
        "status" : "active",
        "scope" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
              "code" : "patient-privacy"
            }
          ]
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                "code" : "INFA"
              }
            ]
          }
        ],
        "patient" : {
          "identifier" : {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
            "value" : "123456789012345678"
          }
        },
        "policyRule" : {
          "coding" : [
            {
              "system" : "urn:ietf:rfc:3986",
              "code" : "urn:e-health-suisse:2015:policies:access-level:full"
            }
          ]
        },
        "provision" : {
          "actor" : [
            {
              "role" : {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "PAT"
                  }
                ]
              },
              "reference" : {
                "identifier" : {
                  "type" : {
                    "coding" : [
                      {
                        "system" : "urn:ietf:rfc:3986",
                        "code" : "urn:e-health-suisse:2015:epr-spid"
                      }
                    ]
                  },
                  "value" : "123456789012345678"
                }
              }
            }
          ]
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Consent"
      }
    },
    {
      "resource" : {
        "resourceType" : "Consent",
        "id" : "Template202Consent",
        "meta" : {
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"
          ]
        },
        "text" : {
          "status" : "empty",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 202 - Access in emergency mode</p></div>"
        },
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "policySetId"
                }
              ]
            },
            "value" : "urn:uuid:bf6c1fb6-2eb9-49ad-b96b-1a4ac55fc7bd"
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "templateId"
                }
              ]
            },
            "value" : "202"
          }
        ],
        "status" : "active",
        "scope" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
              "code" : "patient-privacy"
            }
          ]
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                "code" : "INFA"
              }
            ]
          }
        ],
        "patient" : {
          "identifier" : {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
            "value" : "123456789012345678"
          }
        },
        "policyRule" : {
          "coding" : [
            {
              "system" : "urn:ietf:rfc:3986",
              "code" : "urn:e-health-suisse:2015:policies:access-level:normal"
            }
          ]
        },
        "provision" : {
          "actor" : [
            {
              "role" : {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "HCP"
                  }
                ]
              },
              "reference" : {
                "display" : "all"
              }
            }
          ],
          "purpose" : [
            {
              "system" : "urn:oid:2.16.756.5.30.1.127.3.10.5",
              "code" : "EMER"
            }
          ]
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Consent"
      }
    },
    {
      "resource" : {
        "resourceType" : "Consent",
        "id" : "Template203Consent",
        "meta" : {
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"
          ]
        },
        "text" : {
          "status" : "empty",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 203 - Default provide level</p></div>"
        },
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "policySetId"
                }
              ]
            },
            "value" : "urn:uuid:710e4211-d431-430b-a849-1d689e74e4c2"
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType",
                  "code" : "templateId"
                }
              ]
            },
            "value" : "203"
          }
        ],
        "status" : "active",
        "scope" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
              "code" : "patient-privacy"
            }
          ]
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                "code" : "INFA"
              }
            ]
          }
        ],
        "patient" : {
          "identifier" : {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
            "value" : "123456789012345678"
          }
        },
        "policyRule" : {
          "coding" : [
            {
              "system" : "urn:ietf:rfc:3986",
              "code" : "urn:e-health-suisse:2015:policies:provide-level:restricted"
            }
          ]
        },
        "provision" : {
          "actor" : [
            {
              "role" : {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "HCP"
                  }
                ]
              },
              "reference" : {
                "display" : "all"
              }
            }
          ],
          "purpose" : [
            {
              "system" : "urn:oid:2.16.756.5.30.1.127.3.10.5",
              "code" : "NORM"
            },
            {
              "system" : "urn:oid:2.16.756.5.30.1.127.3.10.5",
              "code" : "AUTO"
            },
            {
              "system" : "urn:oid:2.16.756.5.30.1.127.3.10.5",
              "code" : "DICOM_AUTO"
            }
          ]
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Consent"
      }
    }
  ]
}