Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

nsp-role-mapping.properties

DDS Registry og Repository anvender denne property fil til at mappe hvilken rolle (role), der kommer ned i minlog registreringen.

Property filen vedligeholdes her: https://git.nspop.dk/projects/TOOL/repos/nsp-role-mapping/browse/nsp-role-mapping.properties


...

Eksempel på status tekst, når alt er godt.

200 ok

{ {"Servicens certifikat udløber den 2025-11-28T10:30:24":"OK"}, {"Database DocumentSourcesDataSource":"OK"}, {"Database AuthDataSource":"OK"}, {"Version":"2.7.4"} }


Eksempel på alarm tekst, når der har været for mange kald til person information uden svar:

...

Se eksempel nedenfor:

Code Block
collapsetrue

{
   "time":"2025-09-10T12:08:32.78Z",
   "category":"dk.sds.nsp.audit.log",
   "audit":{
      "timestamp":"2025-09-10T14:08:32.686+02:00",
      "components":[
         {
            "component":"DDS",
            "contexts":[
               {
                  "context":"documentRegistryAdhocQuery",
                  "information":[
                     {
                        "key":"patient-cpr",
                        "type":"SPI",
                        "value":"0207761919"
                     },
                     {
                        "key":"bruger-cpr",
                        "type":"SPI",
                        "value":"0611809735"
                     },
                     {
                        "key":"queryTypecode",
                        "type":"NPI",
                        "value":"('39289-4^^2.16.840.1.113883.6.1')"
                     },
                     {
                        "key":"queryFormatcode",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryEventCode",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryStartTimeFrom",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryStartTimeTo",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryStopTimeFrom",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryStopTimeTo",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"queryAvailabilityStatus",
                        "type":"NPI",
                        "value":"('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')"
                     },
                     {
                        "key":"queryDocumententryType",
                        "type":"NPI",
                        "value":"('ondemand'), ('stable')"
                     },
                     {
                        "key":"queryReferenceIdList",
                        "type":"NPI",
                        "value":"EMPTY"
                     },
                     {
                        "key":"document_entry.0.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.0.documentid",
                        "type":"NPI",
                        "value":"0207761919.678401000016005.10001"
                     },
                     {
                        "key":"document_entry.0.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.1.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.1.documentid",
                        "type":"NPI",
                        "value":"5619531150207761919.6052203964123326052.1537974544003"
                     },
                     {
                        "key":"document_entry.1.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.2.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.2.documentid",
                        "type":"NPI",
                        "value":"5619531150207761919.7052203964123326052.1537974544003"
                     },
                     {
                        "key":"document_entry.2.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.3.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.3.documentid",
                        "type":"NPI",
                        "value":"0207761919.6052203964123326052.1537974544003"
                     },
                     {
                        "key":"document_entry.3.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.4.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.4.documentid",
                        "type":"NPI",
                        "value":"0207761919.7052203964123326052.1537974544003"
                     },
                     {
                        "key":"document_entry.4.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.5.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.5.documentid",
                        "type":"NPI",
                        "value":"0207761919.7152203964123326052.1537974544013"
                     },
                     {
                        "key":"document_entry.5.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.6.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.6.documentid",
                        "type":"NPI",
                        "value":"0207761919.7152203964123326052.1537974544113"
                     },
                     {
                        "key":"document_entry.6.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.7.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.7.documentid",
                        "type":"NPI",
                        "value":"0207761919.7152203964123326052.1537974544123"
                     },
                     {
                        "key":"document_entry.7.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.8.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.8.documentid",
                        "type":"NPI",
                        "value":"0207761919.7152203964123326052.1537974544213"
                     },
                     {
                        "key":"document_entry.8.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.9.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.9.documentid",
                        "type":"NPI",
                        "value":"0207761919.7152203964123326052.1537974544223"
                     },
                     {
                        "key":"document_entry.9.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"document_entry.10.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.10.documentid",
                        "type":"NPI",
                        "value":"5619531150207761919.6052203964123326052.1537974544003"
                     },
                     {
                        "key":"document_entry.10.typecode",
                        "type":"NPI",
                        "value":"39289-4"
                     },
                     {
                        "key":"hsuid-header",
                        "type":"SPI",
                        "value":{
                           "assertion":{
                              "issuer":"Aftale",
                              "attributeStatement":{
                                 "attribute":[
                                    {
                                       "attributeValue":"0207761919",
                                       "name":"NSI_CITIZEN_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"nsi:HealthcareProfessional",
                                       "name":"NSI_USERTYPE",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"0611809735",
                                       "name":"NSI_ACTING_USER_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"33257872",
                                       "name":"NSI_ORG_USING_ID",
                                       "nameFormat":"NSI_SORCODE"
                                    },
                                    {
                                       "attributeValue":"system owner",
                                       "name":"NSI_SYSTEM_OWNER_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"test aftaler",
                                       "name":"NSI_SYSTEM_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"1.0",
                                       "name":"NSI_SYSTEM_VERSION",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"MyOrganisation",
                                       "name":"NSI_ORG_RESPONSIBLE_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"false",
                                       "name":"NSI_CONSENT_OVERRIDE",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"0611809735",
                                       "name":"NSI_RESPONSIBLE_USER_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"6QF17",
                                       "name":"NSI_RESPONSIBLE_USER_AUTHORIZATION_CODE",
                                       "nameFormat":null
                                    }
                                 ],
                                 "id":"HSUIDdata"
                              },
                              "issueInstant":1757506112543,
                              "version":2,
                              "id":"HSUID"
                           }
                        }
                     }
                  ]
               }
            ]
         },
         {
            "component":"MinLog2",
            "contexts":[
               {
                  "context":"addRegistrations",
                  "information":[
                     {
                        "key":"added",
                        "type":"SPI",
                        "values":[
                           "0207761919"
                        ]
                     },
                     {
                        "key":"failed",
                        "type":"SPI",
                        "values":[
                           
                        ]
                     }
                  ]
               }
            ]
         }
      ]
   },
   "access":{
      "code":200,
      "duration":80,
      "httpHeaders":{
         "Content-Type":"text/xml;charset=UTF-8",
         "SOAPAction":"urn:ihe:iti:2007:RegistryStoredQuery"
      },
      "httpHost":"localhost",
      "idCardAttributes":{
         "medcom:CareProviderID":"33257872",
         "medcom:CareProviderName":"Sundhedsdatastyrelsen",
         "medcom:ITSystemName":"Service Consumer Test",
         "medcom:UserAuthorizationCode":"6QF17",
         "medcom:UserRole":"7170",
         "sosi:AuthenticationLevel":"4",
         "sosi:IDCardID":"VhwRkWa9ZDJ2atk5igEBsA==",
         "sosi:IDCardType":"user",
         "sosi:IDCardVersion":"1.0.1"
      },
      "method":"POST",
      "path":"/ddsregistry",
      "query":"",
      "port":9090,
      "protocol":"http",
      "reqSize":9424,
      "resSize":57274,
      "soapHeaders":{
         "FlowID":"e4d2aa20-fcaf-44f5-be93-7e29d7acd3d7",
         "Issuer":"TEST1-NSP-STS",
         "MessageID":"AAABmTOHDKgwkxxDbSVdo1NPU0k=",
         "NameID":"urn:uuid:46559bb9-d720-48b7-b9bd-c280915768d0"
      },
      "threadId":"default task-113",
      "time":"2025-09-10T14:08:32.686+02:00",
      "stats":{
         "handlerDuration":10,
         "RequestContentDuration":0,
         "ResponseContentDuration":0,
         "SecurityProtocolRequestDuration":6,
         "SecurityProtocolResponseDuration":1,
         "bufferAllocated":false,
         "usedBuffers":2,
         "activeBuffersInPool":2,
         "idleBuffersInPool":28
      },
      "reqUUID":"1c00db04-3a73-4434-8e0e-9c26eb66930e"
   }
}

...

Se eksempel nedenfor:

Code Block
collapsetrue

{
   "time":"2025-09-10T12:08:33.026Z",
   "category":"dk.sds.nsp.audit.log",
   "audit":{
      "timestamp":"2025-09-10T14:08:32.94+02:00",
      "components":[
         {
            "component":"DDS",
            "contexts":[
               {
                  "context":"documentRepositoryRetrieveDocumentSet",
                  "information":[
                     {
                        "key":"patient-cpr",
                        "type":"SPI",
                        "value":"0207761919"
                     },
                     {
                        "key":"bruger-cpr",
                        "type":"SPI",
                        "value":"0611809735"
                     },
                     {
                        "key":"document_entry.0.homecommunityid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.0.repositoryid",
                        "type":"NPI",
                        "value":"1.3.6.1.4.1.21367.2010.1.2.1125"
                     },
                     {
                        "key":"document_entry.0.documentid",
                        "type":"NPI",
                        "value":"5619531150207761919.6052203964123326052.1537974544003"
                     },
                     {
                        "key":"hsuid-header",
                        "type":"SPI",
                        "value":{
                           "assertion":{
                              "issuer":"Aftale",
                              "attributeStatement":{
                                 "attribute":[
                                    {
                                       "attributeValue":"0207761919",
                                       "name":"NSI_CITIZEN_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"nsi:HealthcareProfessional",
                                       "name":"NSI_USERTYPE",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"0611809735",
                                       "name":"NSI_ACTING_USER_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"33257872",
                                       "name":"NSI_ORG_USING_ID",
                                       "nameFormat":"NSI_SORCODE"
                                    },
                                    {
                                       "attributeValue":"system owner",
                                       "name":"NSI_SYSTEM_OWNER_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"test aftaler",
                                       "name":"NSI_SYSTEM_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"1.0",
                                       "name":"NSI_SYSTEM_VERSION",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"MyOrganisation",
                                       "name":"NSI_ORG_RESPONSIBLE_NAME",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"false",
                                       "name":"NSI_CONSENT_OVERRIDE",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"0611809735",
                                       "name":"NSI_RESPONSIBLE_USER_CIVIL_REGISTRATION_NUMBER",
                                       "nameFormat":null
                                    },
                                    {
                                       "attributeValue":"6QF17",
                                       "name":"NSI_RESPONSIBLE_USER_AUTHORIZATION_CODE",
                                       "nameFormat":null
                                    }
                                 ],
                                 "id":"HSUIDdata"
                              },
                              "issueInstant":1757506112831,
                              "version":2,
                              "id":"HSUID"
                           }
                        }
                     }
                  ]
               }
            ]
         },
         {
            "component":"MinLog2",
            "contexts":[
               {
                  "context":"addRegistrations",
                  "information":[
                     {
                        "key":"added",
                        "type":"SPI",
                        "values":[
                           "0207761919"
                        ]
                     },
                     {
                        "key":"failed",
                        "type":"SPI",
                        "values":[
                           
                        ]
                     }
                  ]
               }
            ]
         }
      ]
   },
   "access":{
      "code":200,
      "duration":73,
      "httpHeaders":{
         "Content-Type":"text/xml;charset=UTF-8",
         "SOAPAction":"urn:ihe:iti:2007:RetrieveDocumentSet"
      },
      "httpHost":"localhost",
      "idCardAttributes":{
         "medcom:CareProviderID":"33257872",
         "medcom:CareProviderName":"Sundhedsdatastyrelsen",
         "medcom:ITSystemName":"Service Consumer Test",
         "medcom:UserAuthorizationCode":"6QF17",
         "medcom:UserRole":"7170",
         "sosi:AuthenticationLevel":"4",
         "sosi:IDCardID":"YRKgDAkQUL4n2svL+G9JWA==",
         "sosi:IDCardType":"user",
         "sosi:IDCardVersion":"1.0.1"
      },
      "method":"POST",
      "path":"/ddsrepository",
      "query":"",
      "port":9091,
      "protocol":"http",
      "reqSize":8747,
      "resSize":12670,
      "soapHeaders":{
         "FlowID":"e7be2b98-212b-44a3-a2cd-8c9fc91cd103",
         "Issuer":"TEST1-NSP-STS",
         "MessageID":"AAABmTOHDamrJmpBR/TEJlNPU0k=",
         "NameID":"urn:uuid:46559bb9-d720-48b7-b9bd-c280915768d0"
      },
      "threadId":"default task-65",
      "time":"2025-09-10T14:08:32.94+02:00",
      "stats":{
         "handlerDuration":10,
         "RequestContentDuration":0,
         "ResponseContentDuration":0,
         "SecurityProtocolRequestDuration":7,
         "SecurityProtocolResponseDuration":1,
         "bufferAllocated":false,
         "usedBuffers":2,
         "activeBuffersInPool":2,
         "idleBuffersInPool":18
      },
      "reqUUID":"41dd9a97-0998-4cdb-91b7-e08be4a1d5bf"
   }
}

...