CH ATC (R4)
3.3.0 - draft Switzerland flag

This page is part of the CH ATC (R4) (v3.3.0: Draft Draft) 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

: CH ATC - Reponse Audit Trail - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "ch-atc-iti-81-response-sample",
  "meta" : // <id value="56562bcf-2a5a-48d4-9a83-0f0dbbef74cc"/>
  {
    "lastUpdated" : "2020-03-11T22:25:25.507+00:00",
    "profile" : [
      🔗 "http://fhir.ch/ig/ch-atc/StructureDefinition/CH-ATC.ITI-81.Response"
    ]
  },
  "type" : "searchset",
  "total" : 3,
  "link" : [
    {
      "relation" : "self",
      "url" : "/r4/*/AuditEvent"
    }
  ],
  "entry" : [
    {
      "fullUrl" : "http://fhir.ch/r4/AuditEvent/1",
      "resource" : {
        "resourceType" : "AuditEvent",
        "id" : "1",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-03-11T22:23:48.511+00:00",
          "source" : "#7FDh4yxxyvETdamP",
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-atc/StructureDefinition/DocumentAuditEvent"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Upload of Record artifact 10.10.2020 18:29 from Julia Helfe-Gern on behalf of Jakob Wieder-Gesund\n          </div>"
        },
        "type" : {
          "system" : "http://dicom.nema.org/resources/ontology/DCM",
          "code" : "110106",
          "display" : "Export"
        },
        "subtype" : [
          {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.7",
            "code" : "ATC_DOC_CREATE",
            "display" : "Document upload"
          }
        ],
        "action" : "C",
        "recorded" : "2020-10-10T16:29:00Z",
        "outcome" : "0",
        "purposeOfEvent" : [
          {
            "coding" : [
              {
                "system" : "urn:oid:2.16.756.5.30.1.127.3.10.5",
                "code" : "NORM",
                "display" : "Normal Access"
              }
            ]
          }
        ],
        "agent" : [
          {
            "role" : [
              {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "PAT",
                    "display" : "Patient"
                  }
                ]
              }
            ],
            "name" : "Jakob Wieder-Gesund",
            "requestor" : false
          },
          {
            "role" : [
              {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "REP",
                    "display" : "Representative"
                  }
                ]
              }
            ],
            "who" : {
              "identifier" : {
                "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
                "value" : "761322222222222222"
              }
            },
            "name" : "Julia Helfe-Gern",
            "requestor" : true
          }
        ],
        "source" : {
          "observer" : {
            "identifier" : {
              "system" : "urn:ietf:rfc:3986",
              "value" : "urn:oid:7.8.9.10.11"
            }
          }
        },
        "entity" : [
          {
            "what" : //  Patient 
            {
              "identifier" : {
                "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
                "value" : "761337610469261945"
              }
            },
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
              "code" : "1",
              "display" : "Person"
            },
            "role" : {
              "system" : "http://terminology.hl7.org/CodeSystem/object-role",
              "code" : "1",
              "display" : "Patient"
            }
          },
          {
            "what" : //  Document 
            {
              "identifier" : {
                "system" : "urn:ihe:iti:xds:2013:uniqueId",
                "value" : "1.2.3.4.5"
              }
            },
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
              "code" : "2",
              "display" : "System Object"
            },
            "role" : {
              "system" : "http://terminology.hl7.org/CodeSystem/object-role",
              "code" : "3",
              "display" : "Report"
            },
            "detail" : [
              {
                "type" : "Repository Unique Id",
                "valueBase64Binary" : "MS4yLjM="
              },
              //  base64 of OID eg 1.2.3 == 
              {
                "type" : "homeCommunityID",
                "valueBase64Binary" : "NS42LjcuOA=="
              },
              //  base64 of OID URN homeCommunityId e.g. 5.6.7.8 
              {
                "type" : "EprDocumentTypeCode",
                "valueBase64Binary" : "NDE5ODkxMDA4"
              },
              //  base64 typeCode 419891008 
              {
                "type" : "title",
                "valueBase64Binary" : "QXVzdHJpdHRzYmVyaWNodCB2b24gSnVsaWEgSGVsZmUtR2Vybg=="
              }
            ]
          }
        ]
      },
      "search" : //  base64 title Austrittsbericht von Julia Helfe-Gern  
      {
        "mode" : "match"
      }
    },
    {
      "fullUrl" : "http://fhir.ch/r4/AuditEvent/2",
      "resource" : {
        "resourceType" : "AuditEvent",
        "id" : "2",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-03-11T22:24:23.670+00:00",
          "source" : "#qP0MBxruH7EoT2Wk",
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-atc/StructureDefinition/AccessAuditTrailEvent"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Jakob Wieder-Gesund accessed the audit trail 22.09.2020 10:47\n          </div>"
        },
        "type" : {
          "system" : "http://dicom.nema.org/resources/ontology/DCM",
          "code" : "110106",
          "display" : "Export"
        },
        "subtype" : [
          {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.7",
            "code" : "ATC_LOG_READ",
            "display" : "Accessing the Patient Audit Record Repository"
          }
        ],
        "action" : "C",
        "recorded" : "2020-09-22T08:47:00Z",
        "outcome" : "0",
        "agent" : [
          {
            "role" : [
              {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "PAT",
                    "display" : "Patient"
                  }
                ]
              }
            ],
            "name" : "Jakob Wieder-Gesund",
            "requestor" : true
          }
        ],
        "source" : {
          "observer" : {
            "identifier" : {
              "system" : "urn:ietf:rfc:3986",
              "value" : "urn:oid:7.8.9.10.11"
            }
          }
        },
        "entity" : [
          //  oid of system generating this audit event 
          {
            "what" : {
              "identifier" : //  Patient 
              {
                "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
                "value" : "761337610469261945"
              }
            },
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
              "code" : "1",
              "display" : "Person"
            },
            "role" : {
              "system" : "http://terminology.hl7.org/CodeSystem/object-role",
              "code" : "1",
              "display" : "Patient"
            }
          }
        ]
      },
      "search" : {
        "mode" : "match"
      }
    },
    {
      "fullUrl" : "http://fhir.ch/r4/AuditEvent/3",
      "resource" : {
        "resourceType" : "AuditEvent",
        "id" : "3",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-03-11T22:24:45.116+00:00",
          "source" : "#0nwVbjxxC0ZrSG2w",
          "profile" : [
            🔗 "http://fhir.ch/ig/ch-atc/StructureDefinition/PolicyAuditEvent"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">22.09.2020 09:47: Jakob Wieder-Gesund assigned Access Level delegation-and-restricted till 31.12.2020 08:00 to Dr. med. Hans Allzeitbereit\n          </div>"
        },
        "type" : {
          "system" : "http://dicom.nema.org/resources/ontology/DCM",
          "code" : "110106",
          "display" : "Export"
        },
        "subtype" : [
          {
            "system" : "urn:oid:2.16.756.5.30.1.127.3.10.7",
            "code" : "ATC_POL_CREATE_AUT_PART_AL",
            "display" : "Authorize participants to access level/date"
          }
        ],
        "action" : "C",
        "recorded" : "2020-10-09T07:47:00Z",
        "outcome" : "0",
        "agent" : [
          {
            "role" : [
              {
                "coding" : [
                  {
                    "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
                    "code" : "PAT",
                    "display" : "Patient"
                  }
                ]
              }
            ],
            "name" : "Jakob Wieder-Gesund",
            "requestor" : true
          }
        ],
        "source" : {
          "observer" : {
            "identifier" : {
              "system" : "urn:ietf:rfc:3986",
              "value" : "urn:oid:7.8.9.10.12"
            }
          }
        },
        "entity" : [
          //  oid of system generating this audit event 
          {
            "what" : {
              "identifier" : {
                "system" : "urn:oid:2.16.756.5.30.1.127.3.10.3",
                "value" : "761337610469261945"
              }
            },
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
              "code" : "1",
              "display" : "Person"
            },
            "role" : {
              "system" : "http://terminology.hl7.org/CodeSystem/object-role",
              "code" : "1",
              "display" : "Patient"
            }
          },
          {
            "what" : //  Resource 
            {
              "identifier" : {
                "system" : "urn:oid:2.51.1.3",
                "value" : "7601000234438"
              }
            },
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
              "code" : "2",
              "display" : "System Object"
            },
            "role" : {
              "system" : "urn:oid:2.16.756.5.30.1.127.3.10.6",
              "code" : "HCP",
              "display" : "Healthcare professional"
            },
            "name" : "Dr. med. Hans Allzeitbereit",
            "detail" : [
              {
                "type" : "AccessLevel",
                "valueBase64Binary" : "dXJuOmUtaGVhbHRoLXN1aXNzZToyMDE1OnBvbGljaWVzOmFjY2Vzcy1sZXZlbDpkZWxlZ2F0aW9uLWFuZC1yZXN0cmljdGVk"
              },
              //  base64 of urn:e-health-suisse:2015:policies:access-level:delegation-and-restricted 
              {
                "type" : "AccessLimitedToDate",
                "valueBase64Binary" : "MjAyMC0xMi0zMQ=="
              }
            ]
          }
        ]
      },
      "search" : //  base64 of 2020-12-31 
      {
        "mode" : "match"
      }
    },
    {
      "fullUrl" : "urn:uuid:6b3ecd02-e4bc-460c-b2ef-5bfe96f0fe7c",
      "resource" : {
        "resourceType" : "OperationOutcome",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"OperationOutcome_null\"> </a><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome </b></p><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td></tr><tr><td style=\"display: none\">*</td><td>Warning</td><td>Incomplete Results</td><td><span title=\"Codes:\">The community ABC did not respond</span></td></tr></table></div>"
        },
        "issue" : [
          {
            "severity" : "warning",
            "code" : "incomplete",
            "details" : {
              "extension" : [
                {
                  "url" : "http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-mhd-home-community-id",
                  "valueIdentifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "urn:ihe:iti:xca:2010",
                          "code" : "homeCommunityId"
                        }
                      ]
                    },
                    "value" : "urn:oid:1.2.334483.3.337395864.7"
                  }
                }
              ],
              "text" : "The community ABC did not respond"
            }
          }
        ]
      },
      "search" : {
        "mode" : "outcome"
      }
    }
  ]
}