Page History
Navitabs | ||||
---|---|---|---|---|
| ||||
Indhold
Table of Contents |
---|
Overblik
Læsevejledning
Dette dokument er rettet mod udviklere, der skal udvikle eller teste services, der har grænseflader mod opslagsservices i IDSAS. Det vil i praksis kun være NSP services.
Snitflader
Til denne type anvender, findes snitfladen til sløringer.
WSDL'en er både udstillet med og uden sikkerheds-headers:
Snitflade | Endpoint | |
---|---|---|
Uden sikkerheds-header | idsas-lookup | <server>/idsas-lookup/20230601/lookup?wsdl |
Med sikkerheds-header | idsas-lookup | <server>/idsas-lookup/service-contract/secure-wsdl/20230601/idsas-lookup.wsdl |
Datoen "2023060"' angiver versionen af snitfladen. Pt. findes kun denne ene version.
Operationer
GetBlurredOrganisations
Denne operation ligger i idsas-lookup snitfladen og benyttes til at hente alle aktive slørringer for en bestemt borger. Dvs. en liste af alle organisationer, der skal sløres for denne borger.
Operationen benyttes i praksis kun af STS'en.
Elementer
GetBlurredOrganisationsRequest
Element | Beskrivelse | Type | Obligatorisk |
---|---|---|---|
patientId | Angiver borgerens ID. | PatientID | Ja |
PatientID
Element | Beskrivelse | Type | Obligatorisk |
---|---|---|---|
id | Angiver borgerens ID (CPR-nummer uden bindestreg). | string | Ja |
classification | Typen af ID. Gyldige værder er: 'CPR' | string | Ja |
BlurredOrganisationsResponse
Element | Beskrivelse | Type | Obligatorisk |
---|---|---|---|
organisationId | ID på organisation (vilkårligt antal) | OrganisationID | Ja |
OrganisationID
Element | Beskrivelse | Type | Obligatorisk |
---|---|---|---|
id | Angiver organisationens ID | string | Ja |
classification | Typen af ID. Gyldige værdier er: 'CVR' | string | Ja |
Eksempler
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope"> <soapenv:Header> <wsse:Security> <wsu:Timestamp> <wsu:Created>2023-06-26T08:38:13Z</wsu:Created> </wsu:Timestamp> <saml:Assertion IssueInstant="2023-06-26T08:33:09Z" Version="2.0" id="IDCard"> <saml:Issuer>TEST1-NSP-STS</saml:Issuer> <saml:Subject> <saml:NameID Format="medcom:other">SubjectDN={C=DK, OID.2.5.4.97=NTRDK-98021838, O=Testorganisation nr. 98021838, SERIALNUMBER=UI:DK-O:G:62dda762-82f3-4048-ae60-5e6f681a67ab, CN=NSP Test Service Consumer Certifikat},IssuerDN={C=DK, O=Den Danske Stat, OU=Test - cti, CN=Den Danske Stat OCES udstedende-CA 1},CertSerial={146245284873245556887894707042857692882317566182}</saml:NameID> <saml:SubjectConfirmation> <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod> <saml:SubjectConfirmationData> <ds:KeyInfo> <ds:KeyName>OCESSignature</ds:KeyName> </ds:KeyInfo> </saml:SubjectConfirmationData> </saml:SubjectConfirmation> </saml:Subject> <saml:Conditions NotBefore="2023-06-26T08:33:09Z" NotOnOrAfter="2023-06-27T08:33:09Z" /> <saml:AttributeStatement id="IDCardData"> <saml:Attribute Name="sosi:IDCardID"> <saml:AttributeValue>dCktYYv/K4uKt0ycEcO7Eg==</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardVersion"> <saml:AttributeValue>1.0.1</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardType"> <saml:AttributeValue>system</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:AuthenticationLevel"> <saml:AttributeValue>3</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:OCESCertHash"> <saml:AttributeValue>dEjVOMcCEP9weRMSpVGBbGv/cRk=</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <saml:AttributeStatement id="SystemLog"> <saml:Attribute Name="medcom:ITSystemName"> <saml:AttributeValue>http://system.nspop.dk/sts</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber"> <saml:AttributeValue>98021838</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderName"> <saml:AttributeValue>Test organisation 98021838</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <ds:Signature id="OCESSignature"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <ds:Reference URI="#IDCard"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>7QM5bINSgn6Kkai/wV4ldZCgCFg=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> KigPzrkWlgbiFG/PsKby4/FNKpHK2khX/fv1E1aMZzRnUVJsdIVzsh8QEYJP2VN2AhI92ozjJGu0M0pM0/0N6Krk2y91MzE4LMCUKxfvWadeEzmJh5NyEfC3gqwqebEu4+ElH5onglr5YR6zIlAzDbzbQNRv+ZuEE734B7Hv1Xz4nKFkBegs5awiizYvb9Pca//5hi0t+gvNMa3eaHiMt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zuF6Ct8c4X5mv+XKr8m0eDPlh7I7mMZ5zzpVw5Co4Wiwwiv9Hb59P/c182FaSPAA1bpmko9AH+duPcquiQELoSRfqW23B2cejACd95XbyXQVFdbCdhyCGAexbJ4egChJsXPU2zAOXq1/pa5bNSmJMsJgqP36bTbA6r+mjv0FArkrL76W1kmchpj6F4tSuDaaJlUmKvmzzBomwhlQRr/vxZc0FOamnJ8is9wC49tOaEMUx2l2iSWZKXMh4C6LQC8hQsjiXnYsERAWgeqwzqtVE3iKaGhOv+W7ECKFndGjYM95bdVK8x9BymTrPun63BCiVGqhMzsEc2RkvbKgBpb7L+Ont0EAahwcTshBzfe0jhA2thWHNGFxXpNqI0ZaAo/NKJpHK3I0EACAB0/VjiQZ/inSKtPnof1/nQZ32QWX3ij0VkX2mE2Pw=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> </saml:Assertion> </wsse:Security> <medcom:Header> <medcom:SecurityLevel>3</medcom:SecurityLevel> <medcom:Linking> <medcom:FlowID>e7ef735d-1b2e-45c3-83cc-aa03e763aa42</medcom:FlowID> <medcom:MessageID>88f1a19c-be8f-43f0-b177-853014555d00</medcom:MessageID> </medcom:Linking> <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt> </medcom:Header> </soapenv:Header> <soapenv:Body> <GetBlurredOrganisationsRequest xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2023/06/01/"> <patientId> <id>0102031234</id> <classification>CPR</classification> </patientId> </GetBlurredOrganisationsRequest> </soapenv:Body> </soapenv:Envelope> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <BlurredOrganisationsResponse xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2023/06/01/"> <organisationId> <id>33257872</id> <classification>CVR</classification> </organisationId> <organisationId> <id>38163264</id> <classification>CVR</classification> </organisationId> </BlurredOrganisationsResponse> </soap:Body> </soap:Envelope> |
ListOrgBlurringsForCVR
Denne operation ligger i idsas-lookup snitfladen og benyttes til at hente alle aktivt slørede afdelinger under en bestemt virksomhed (CVR). Dvs. en liste af alle afdelinger, hvor der skal sløres for alle borgere.
Sikkerheden er DGWS niveau 3 (System ID-kort).
Der er ingen input til selve requested, da CVR-nummeret tages direkte fra ID-kortet.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope"> <soapenv:Header> <wsse:Security> <wsu:Timestamp> <wsu:Created>2024-04-23T10:41:07Z</wsu:Created> </wsu:Timestamp> <saml:Assertion IssueInstant="2024-04-23T10:35:58Z" Version="2.0" id="IDCard"> <saml:Issuer>TEST1-NSP-STS</saml:Issuer> <saml:Subject> <saml:NameID Format="medcom:other">SubjectDN={C=DK, OID.2.5.4.97=NTRDK-33257872, O=Sundhedsdatastyrelsen, SERIALNUMBER=UI:DK-O:G:8d3fa047-c77e-47e4-bdd2-e91488610ce6, CN=NSP Test Service Consumer},IssuerDN={C=DK, O=Den Danske Stat, OU=Test - cti, CN=Den Danske Stat OCES udstedende-CA 1},CertSerial={132335570455020580755596658041035235745819139305}</saml:NameID> <saml:SubjectConfirmation> <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod> <saml:SubjectConfirmationData> <ds:KeyInfo> <ds:KeyName>OCESSignature</ds:KeyName> </ds:KeyInfo> </saml:SubjectConfirmationData> </saml:SubjectConfirmation> </saml:Subject> <saml:Conditions NotBefore="2024-04-23T10:35:58Z" NotOnOrAfter="2024-04-24T10:35:58Z" /> <saml:AttributeStatement id="IDCardData"> <saml:Attribute Name="sosi:IDCardID"> <saml:AttributeValue>cBi4+cwlB1n8WJEaj/DUCw==</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardVersion"> <saml:AttributeValue>1.0.1</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardType"> <saml:AttributeValue>system</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:AuthenticationLevel"> <saml:AttributeValue>3</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:OCESCertHash"> <saml:AttributeValue>f6ZdJ0CPmwpKVPZQ1NnkpDlB0KE=</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <saml:AttributeStatement id="SystemLog"> <saml:Attribute Name="medcom:ITSystemName"> <saml:AttributeValue>Service Consumer Test</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber"> <saml:AttributeValue>33257872</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderName"> <saml:AttributeValue>Sundhedsdatastyrelsen</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <ds:Signature id="OCESSignature"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <ds:Reference URI="#IDCard"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>GLQr9YD93JmjOTWSEQSRij6u8nk=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> PYPyVOzIE/eZw8YQ7Hh3wkbv6bWYUZn81JFkZ4o2+OMGr/7+t3lpNxhLcLPqG/5WISMrMubGCpzVYM4HX2Tw788JXEPqf7dL6uIGbjSOuGN0EcQbzLjlaOW/m2f7yKfMrnQjRBUSZDoH8+jicUuBOczpF/sAF6G+64JSoIm/BtYWXz8JNkweCDNSwLzaNm9CodNFlEVQPV+1zzpBBRNCKXjpFTetRrj/TOrZ8DiqohwxO86N0bY4bQ4InzKM9GIueyxPNOhAfULVEz0hhFwmevCBYlq2nTZu09BvvTnKQoCQG5eckO+OTk8j99zurFsMHv53RvHPIcr+CO82/lGxY3xBa2UDQzBKnnx4XyDZwl82iLe0zRcqfsvqMj2SqGXlG6auRpkZV56Wf/zpsvo42AkCtvrxol4a9C5FyRPcHEuhp4yt0QNBnwDAzSe0z1katmsflgE2qKNwMMdF3S7SOw6S1ODoZfDOJpsd7rqhIs+Xa7kQmilcacx0BeYCTSO+</ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> <ds:X509Certificate> MIIGiDCCBLygAwIBAgIUR5IfpZdXnxp/UHxA0KWAcKzWcm4wQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMGsxLTArBgNVBAMMJERlbiBEYW5za2UgU3RhdCBPQ0VTIHVkc3RlZGVuZGUtQ0EgMTETMBEGA1UECwwKVGVzdCAtIGN0aTEYMBYGA1UECgwPRGVuIERhbnNrZSBTdGF0MQswCQYDVQQGEwJESzAeFw0yMzA1MTIxMTIzMDFaFw0yNjA1MTExMTIzMDBaMI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CsGAQUFBwEDBC8wLTArBggrBgEFBQcLAjAfBgcEAIvsSQECMBSGEmh0dHBzOi8vdWlkLmdvdi5kazBFBgNVHR8EPjA8MDqgOKA2hjRodHRwOi8vY2ExLmN0aS1nb3YuZGsvb2Nlcy9pc3N1aW5nLzEvY3JsL2lzc3VpbmcuY3JsMB0GA1UdDgQWBBQoPAINYQR2GfgN1KAQMauutePL6jAOBgNVHQ8BAf8EBAMCBaAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQC31Dtgc8+hxB0v+/RL1N3SsyfIxKNVJBhkl2Rfihn700Or5E+0ETyP8mV8MadraDBDYbwMkd3TNOzuF6Ct8c4X5mv+XKr8m0eDPlh7I7mMZ5zzpVw5Co4Wiwwiv9Hb59P/c182FaSPAA1bpmko9AH+duPcquiQELoSRfqW23B2cejACd95XbyXQVFdbCdhyCGAexbJ4egChJsXPU2zAOXq1/pa5bNSmJMsJgqP36bTbA6r+mjv0FArkrL76W1kmchpj6F4tSuDaaJlUmKvmzzBomwhlQRr/vxZc0FOamnJ8is9wC49tOaEMUx2l2iSWZKXMh4C6LQC8hQsjiXnYsERAWgeqwzqtVE3iKaGhOv+W7ECKFndGjYM95bdVK8x9BymTrPun63BCiVGqhMzsEc2RkvbKgBpb7L+Ont0EAahwcTshBzfe0jhA2thWHNGFxXpNqI0ZaAo/NKJpHK3I0EACAB0/VjiQZ/inSKtPnof1/nQZ32QWX3ij0VkX2mE2Pw=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> </saml:Assertion> </wsse:Security> <medcom:Header> <medcom:SecurityLevel>3</medcom:SecurityLevel> <medcom:Linking> <medcom:FlowID>08c05171-11c6-4c62-909e-c43ce3ae691e</medcom:FlowID> <medcom:MessageID>011b3529-6603-449f-a807-2d598382fd9e</medcom:MessageID> </medcom:Linking> <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt> </medcom:Header> </soapenv:Header> <soapenv:Body> <ListOrgBlurringsForCVRRequest xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2024/01/24/" /> </soapenv:Body> </soapenv:Envelope> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Created>2024-04-23T10:43:15Z</wsu:Created> </wsu:Timestamp> </wsse:Security> <medcom:Header xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"> <medcom:Linking> <medcom:FlowID>08c05171-11c6-4c62-909e-c43ce3ae691e</medcom:FlowID> <medcom:MessageID>300f418d-63fe-439f-9f10-da003d5d156a</medcom:MessageID> <medcom:InResponseToMessageID>011b3529-6603-449f-a807-2d598382fd9e</medcom:InResponseToMessageID> </medcom:Linking> <medcom:FlowStatus>flow_finalized_succesfully</medcom:FlowStatus> </medcom:Header> </soapenv:Header> <soap:Body> <ListOrgBlurringsForCVRResponse xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2024/01/24/"> <org> <id>325141000016004</id> <classification>SOR</classification> </org> <org> <id>1234</id> <classification>SHAK</classification> </org> <org> <id>325141000016004</id> <classification>SOR</classification> </org> </ListOrgBlurringsForCVRResponse> </soap:Body> </soap:Envelope> |
ListAllActiveOrgBlurrings
Returnerer listen af alle aktive afdelingssløringer. Skal bruges af tjenester, der skal effektuere afdelingssløringer.
Sikkerheden er DGWS niveau 3 (System ID-kort).
Der er ingen input til selve requested, da CVR-nummeret tages direkte fra ID-kortet.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope"> <soapenv:Header> <wsse:Security> <wsu:Timestamp> <wsu:Created>2024-04-23T10:50:22Z</wsu:Created> </wsu:Timestamp> <saml:Assertion IssueInstant="2024-04-23T10:45:22Z" Version="2.0" id="IDCard"> <saml:Issuer>TEST1-NSP-STS</saml:Issuer> <saml:Subject> <saml:NameID Format="medcom:other">SubjectDN={C=DK, OID.2.5.4.97=NTRDK-98021838, O=Testorganisation nr. 98021838, SERIALNUMBER=UI:DK-O:G:62dda762-82f3-4048-ae60-5e6f681a67ab, CN=NSP Test Service Consumer Certifikat},IssuerDN={C=DK, O=Den Danske Stat, OU=Test - cti, CN=Den Danske Stat OCES udstedende-CA 1},CertSerial={146245284873245556887894707042857692882317566182}</saml:NameID> <saml:SubjectConfirmation> <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod> <saml:SubjectConfirmationData> <ds:KeyInfo> <ds:KeyName>OCESSignature</ds:KeyName> </ds:KeyInfo> </saml:SubjectConfirmationData> </saml:SubjectConfirmation> </saml:Subject> <saml:Conditions NotBefore="2024-04-23T10:45:22Z" NotOnOrAfter="2024-04-24T10:45:22Z" /> <saml:AttributeStatement id="IDCardData"> <saml:Attribute Name="sosi:IDCardID"> <saml:AttributeValue>aHfVsmsxGkIB4Zpcv3yPHQ==</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardVersion"> <saml:AttributeValue>1.0.1</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:IDCardType"> <saml:AttributeValue>system</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:AuthenticationLevel"> <saml:AttributeValue>3</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="sosi:OCESCertHash"> <saml:AttributeValue>dEjVOMcCEP9weRMSpVGBbGv/cRk=</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <saml:AttributeStatement id="SystemLog"> <saml:Attribute Name="medcom:ITSystemName"> <saml:AttributeValue>DRG</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber"> <saml:AttributeValue>98021838</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="medcom:CareProviderName"> <saml:AttributeValue>Test organisation 98021838</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <ds:Signature id="OCESSignature"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <ds:Reference URI="#IDCard"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>xKL+8AKQZJbw772abMYCLa8cU0k=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> MmZuQA8yNA7mbv7r9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utePL6jAOBgNVHQ8BAf8EBAMCBaAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQC31Dtgc8+hxB0v+/RL1N3SsyfIxKNVJBhkl2Rfihn700Or5E+0ETyP8mV8MadraDBDYbwMkd3TNOzuF6Ct8c4X5mv+XKr8m0eDPlh7I7mMZ5zzpVw5Co4Wiwwiv9Hb59P/c182FaSPAA1bpmko9AH+duPcquiQELoSRfqW23B2cejACd95XbyXQVFdbCdhyCGAexbJ4egChJsXPU2zAOXq1/pa5bNSmJMsJgqP36bTbA6r+mjv0FArkrL76W1kmchpj6F4tSuDaaJlUmKvmzzBomwhlQRr/vxZc0FOamnJ8is9wC49tOaEMUx2l2iSWZKXMh4C6LQC8hQsjiXnYsERAWgeqwzqtVE3iKaGhOv+W7ECKFndGjYM95bdVK8x9BymTrPun63BCiVGqhMzsEc2RkvbKgBpb7L+Ont0EAahwcTshBzfe0jhA2thWHNGFxXpNqI0ZaAo/NKJpHK3I0EACAB0/VjiQZ/inSKtPnof1/nQZ32QWX3ij0VkX2mE2Pw=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> </saml:Assertion> </wsse:Security> <medcom:Header> <medcom:SecurityLevel>3</medcom:SecurityLevel> <medcom:Linking> <medcom:FlowID>9a5574cd-ca43-4ada-95cb-30c05869f407</medcom:FlowID> <medcom:MessageID>90f54089-59b7-47fa-8878-07cbe37688f6</medcom:MessageID> </medcom:Linking> <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt> </medcom:Header> </soapenv:Header> <soapenv:Body> <ListAllActiveOrgBlurringsRequest xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2024/01/24/" /> </soapenv:Body> </soapenv:Envelope> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Created>2024-04-23T10:56:46Z</wsu:Created> </wsu:Timestamp> </wsse:Security> <medcom:Header xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"> <medcom:Linking> <medcom:FlowID>d8820212-a68f-42a8-a068-3bf9ba390bb2</medcom:FlowID> <medcom:MessageID>f283e695-8e6d-40b5-bb73-f64efce69e56</medcom:MessageID> <medcom:InResponseToMessageID>9d1b8a6a-5b17-4f01-bcb2-92fe43a619fd</medcom:InResponseToMessageID> </medcom:Linking> <medcom:FlowStatus>flow_finalized_succesfully</medcom:FlowStatus> </medcom:Header> </soapenv:Header> <soap:Body> <ListAllActiveOrgBlurringsResponse xmlns="http://sundhedsdatastyrelsen.dk/identitetssloering/2024/01/24/"> <org> <id>1234</id> <classification>SHAK</classification> </org> <org> <id>325141000016004</id> <classification>SOR</classification> </org> </ListAllActiveOrgBlurringsResponse> </soap:Body> </soap:Envelope> |
Understøttelse af brugerhistorier
Brugerhistorie | Udførsel |
---|---|
Hente CVR-numre, der skal sløres | Udføres ved kald af GetBlurredOrganisations |
Hente alle aktive afdelingssløringer | Udføres ved kald af ListAllActiveOrgBlurrings |
Hente afdelingsløringer for et bestemt CVR | Udføres ved kald af ListOrgBlurringsForCVR |
Fejlbeskeder
Fejlbesked | Noter |
---|---|
Client persistent unique key '%s' er ikke whitelisted for type SALT | Hvis en given client persistent unique key ikke er whitelisted for GetCurrentSalt operationen, gives denne fejlbesked. |
Brugertypen kan ikke bestemmes ud fra den medsendte sikkerhedsbillet | Denne fejl gives, hvis indholdet i sikkerhedsbilletten hverken matcher "sundhedsfaglig"- eller "system"-brugertypen. |
Brugertypen kan ikke entydigt bestemmes ud fra den medsendte sikkerhedsbillet | Denne fejl gives, hvis man ikke ud fra sikkerhedsbilletten entydigt kan afgøre, om brugeren er en "sundhedsfaglig"- eller "system"-bruger. |
Brugertypen '%s' er ikke understøttet | Fejlen gives lige nu kun hvis man forsøger at kalde GetBlurredOrganisations uden at være "system"-bruger. |
Systembruger med clientName "%s" matcher ikke det forventede navn "%s" | Det clientName som STS'en er konfigureret med, skal matche det navn som IDSAS er konfigureret med i property "idsas.allowed.client.system.name". Default value er "http://system.nspop.dk/sts". |
Sikkerhedsbilletten er udløbet |
|
Sikkerhedsbilletten er ikke gyldig endnu |
|
Sikkerhedsbilletten er ikke valid | Generisk fejl hvis årsagen ikke kunne bestemmes nærmere |
Sikkerhedsbilletten mangler |
Kald af IDSAS
Mange programmeringssprog har understøttelse for at danne kode ud fra en snitfladebeskrivelse (WSDL). Det er op til anvenderen at finde en passende udviklingsstak og passende biblioteker, der kan hjælpe med denne proces.
Udover behovet for at kunne generere klientkode ud fra en WSDL, så vil succesfuld anvendelse af IDSAS kræve, at der medsendes gyldig identifikation (gyldigt SOSI Idkort) i kaldet.
Yderligere dokumentation:
Whitelisting
For GetBlurredOrganisations operationen, er kun STS'ens system navn whitelisted.
Der er whitelistning til både Test og Produktion