Versions Compared

Key

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

...

Code Block
languagexml
titleConsentResponseType
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sbf="urn:liberty:sb" xmlns:sbfprofile="urn:liberty:sb:profile" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <soap:Header>
    <wsse:Security mustUnderstand="1" wsu:Id="security">
      <wsu:Timestamp wsu:Id="ts">
        <wsu:Created>2023-06-09T07:58:02Z</wsu:Created>
      </wsu:Timestamp>
      <ds:Signature>
        <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="#body">
            <ds:Transforms>
              <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>Lqfz504xIr61epzCO5DYg4HpeyI=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#ts">
            <ds:Transforms>
              <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>QsOfd+8CEtPBCgOhAdVQLomHryE=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#messageID">
            <ds:Transforms>
              <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>/maYd8YUgvutHcAATqewLqwZSkI=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#relatesTo">
            <ds:Transforms>
              <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>LOOz9Tts5XbZPZ8SiMjGC7VE8b0=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#action">
            <ds:Transforms>
              <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>I7YPqxQbDObGG3wEtV4S9CbStig=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#to">
            <ds:Transforms>
              <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>e9paQ2jvFbzDTRLZeXsAy4EJBF8=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#sbf">
            <ds:Transforms>
              <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>DrMuEoWp7Uik1KTUOuvtisxvpXA=</ds:DigestValue>
          </ds:Reference>
        </ds:SignedInfo>
        <ds:SignatureValue>G4XpJUF7GPkbvZq+rQdOuQsZMuQqitOx7coTn3Yr6V0mojt95/15hGsg9H5FHkA9h7r1HaVmd8hpbshpRswYc4/q/z4m7PhCADceHARP37uoWpe7MpZHG0gnNXCKSgkHYA43/IfQPXaJpY5WsEHjXJ/cjKIDBeQdmu80NtKpI0r41oMssErev2nUvRii8X+ltccSWvmFi+NIX5+/0KJy0y0B/eb8icTfBI/hPWLrsMC0D6CYO72orUwcXFzw+DPi8nMY7Ilj/aCwE4ApjPFu2vclRaSqTEbVxicrtJCEPkJlfKeM+7tAzjg+lImJQN3DBXCjQdyxHW0F0FibvIZDNQ2cEum5Mt0Tw+5Y5vTaFywTxSJL73JweugNtTSBvXh1J3TdMxYSwS/e+HJLcvXGbuY1paMNUui6TtkNxWX/jK3BCAWFljk/mMokUceoqYpRHS0Hk63WZ5cJYMVNXGDRRzObSWhHhYt8B1mgkRKx33YrtBJsCCdoBDdRHq4g/h0l</ds:SignatureValue>
        <ds:KeyInfo>
          <wsse:SecurityTokenReference>
            <wsse:Reference URI="#X509Token" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
          </wsse:SecurityTokenReference>
        </ds:KeyInfo>
      </ds:Signature>
      <wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="X509Token">MIIGjjCCBMKgAwIBAgIUe14jtRy36DcbgLPOg/F7wJNgVjAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMGsxLTArBgNVBAMMJERlbiBEYW5za2UgU3RhdCBPQ0VTIHVkc3RlZGVuZGUtQ0EgMTETMBEGA1UECwwKVGVzdCAtIGN0aTEYMBYGA1UECgwPRGVuIERhbnNrZSBTdGF0MQswCQYDVQQGEwJESzAeFw0yMjExMjgxMjQyNDlaFw0yNTExMjcxMjQyNDhaMIGkMSMwIQYDVQQDDBpOU1AgVGVzdCBJZGVudGl0eSBQcm92aWRlcjE3MDUGA1UEBRMuVUk6REstTzpHOjBl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VHR8EPjA8MDqgOKA2hjRodHRwOi8vY2ExLmN0aS1nb3YuZGsvb2Nlcy9pc3N1aW5nLzEvY3JsL2lzc3VpbmcuY3JsMB0GA1UdDgQWBBTHpeTaSpjT7UcAkAQgZeF0PaJctzAOBgNVHQ8BAf8EBAMCBaAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQATzKUCm3dOBsegxgQ4NIeOh3Q2K9y7HHN9SlPENOuNmbZDH0SZFtUjs/E3Z9LrB/A+V1HIklC2gfYY1Wud+ioJK+CCjLPoZhVB8oDl6A0Rnnr0tgKbV1x7rg0iFE7S34ZHEw5EJMHerFFFlMOpaERCAgepPrkdKHp8kxSMAZDGQL6i/kbL2BYsuoHekkIf0rbmBjvMKnaTlAwZJ4pnI7yY0qutrBKkOUem8ahLaLk4eb5E1XISYWKDFiQlvY1mr0LmQyBRuhyXCxPMw98vGVi8jU2p/EyhQGGrrdz2eKrDb7ZtKzt2kjdbwUa7X0XpfgAyGSYC/24WUaGK+vBXIop3q7HcAQt5hrLk1Lu6jGf4WswA5zhNmsyQyaodatkmp0Wfqj783fqRCnbVvYFK6AP5FZtlMsGnF17dYTu2bIvdHkPhKQL5q81swVMLkKSImSr2Ntuh8bsXDtTIaVZCeExEf4QhUIXd+SVVsmArZSuDnQmEynNhuWEN2wNWYbMliOI=</wsse:BinarySecurityToken>
    </wsse:Security>
    <Action xmlns="http://www.w3.org/2005/08/addressing" wsu:Id="action">RegisterConsent</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing" wsu:Id="messageID">dfb3300c-afbc-4d78-a5a8-3bc543498c48</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing" wsu:Id="to">http://www.w3.org/2005/08/addressing/anonymous</To>
    <RelatesTo xmlns="http://www.w3.org/2005/08/addressing" wsu:Id="relatesTo">2d27c081-99a7-4eae-ab67-089a3bbe5824</RelatesTo>
    <sbf:Framework sbfprofile:profile="urn:liberty:sb:profile:basic" version="2.0" wsu:Id="sbf"/>
  </soap:Header>
  <soap:Body wsu:Id="body">
    <Consent xmlns="http://sundhedsdatastyrelsen.dk/Fravalg-Af-Genoplivning/2023/06/01/">
      <identifier>
        <use value="official"/>
        <system value="urn:ietf:rfc:4122"/>
        <value value="6ee6b29c-8f9f-40d2-be85-fcce55464da1"/>
      </identifier>
      <status value="draft"/>
      <category>
        <coding>
          <system value="http://loinc.org"/>
          <code value="59284-0"/>
        </coding>
      </category>
      <date value="2023-06-09"/>
      <grantor>
        <type value="Patient"/>
        <identifier>
          <use value="official"/>
          <system value="urn:oid:1.2.208.176.1.2"/>
          <value value="01085012340511804817"/>
        </identifier>
      </grantor>
    </Consent>
  </soap:Body>
</soap:Envelope>

...

Code Block
languagexml
titleRegisterConsentFromFormRequest
linenumberstrue
collapsetrue
<?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-09T08:19:12Z</wsu:Created>
      </wsu:Timestamp>
      <saml:Assertion IssueInstant="2023-06-09T08:14:10Z" Version="2.0" id="IDCard" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
        <saml:Issuer>TEST1-NSP-STS</saml:Issuer>
        <saml:Subject>
          <saml:NameID Format="medcom:other">urn:uuid:cdd91001-2a74-4985-9963-ab8b952eabea</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-09T08:14:10Z" NotOnOrAfter="2023-06-10T08:14:10Z"/>
        <saml:AttributeStatement id="IDCardData">
          <saml:Attribute Name="sosi:IDCardID">
            <saml:AttributeValue>YeML1AfApJIpSVY7HYZ3JQ==</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>user</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:AuthenticationLevel">
            <saml:AttributeValue>4</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <saml:AttributeStatement id="UserLog">
          <saml:Attribute Name="medcom:UserCivilRegistrationNumber">
            <saml:AttributeValue>1311809535</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserGivenName">
            <saml:AttributeValue>Seymour</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserSurName">
            <saml:AttributeValue>Cray</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserRole">
            <saml:AttributeValue>urn:dk:healthcare:national-federation-role:code:41001:value:SundAssistR1</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>CY8uD+Pa28BqQIuaFGmCNOistls=</ds:DigestValue>
            </ds:Reference>
          </ds:SignedInfo>
          <ds:SignatureValue>UXDmGuI0rRzvBtDrXoi8o4SbBeFRpuXQYtWXOiUQazXXb6RM5PQdBZyRldXmX1iyBlepb9yOIw1pZINKUEkb6+iB6U+ff4tnacwF+EhyiPyCy1WqQQGfvUef9jqmJzyL+BEPrTRZ1lr1+PkXzV7MWFClTFEcJC6OCO4FdVsOxE0dc8tR+wq209p8CLxmQThSUnHa8eFxHa/n7ZPKVMctSrx+MVYYGFAsvoktEcfoZFqtmLfWyUI6vpjUHbN4wAZboksk6liNsGaQuD/CR608MJYwxQwwteoexPCsEQeR0qYZZ6xpTMXlNbFnfRjL8rZBMR63xJkcWjio+xZWtELIdM1JP5vd92khaG27yqVWUIEpeU2o2Fcisw0eG1u4IDRO+h39gKCB2P6XwCgyZ3QV12G6e2reJETXpBDU6xMNZdCizwux5F1yId6ymC9KdoSVtGJpSL526KR5I10luRNKtLP+cPRlgKzRxKQyBpiwIunI30Bc1F05K283eyqp+byc</ds:SignatureValue>
          <ds:KeyInfo>
            <ds:X509Data>
              <ds:X509Certificate>MIIGiDCCBLygAwIBAgIUR5IfpZdXnxp/UHxA0KWAcKzWcm4wQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMGsxLTArBgNVBAMMJERlbiBEYW5za2UgU3RhdCBPQ0VTIHVkc3RlZGVuZGUtQ0EgMTETMBEGA1UECwwKVGVzdCAtIGN0aTEYMBYGA1UECgwPRGVuIERhbnNrZSBTdGF0MQswCQYDVQQGEwJESzAeFw0yMzA1MTIxMTIzMDFaFw0yNjA1MTExMTIzMDBaMIGeMR0wGwYDVQQDDBRTT1NJIFRlc3QgRmVkZXJhdGlvbjE3MDUGA1UEBRMuVUk6REstTzpHOjU4ZjEwNDNkLTNkMmYtNGRlZC1hYjUwLTk0MGRiNDc3NmExODEeMBwGA1UECgwVU3VuZGhlZHNkYXRhc3R5cmVsc2VuMRcwFQYDVQRhDA5OVFJESy0zMzI1Nzg3MjELMAkGA1UEBhMCREswggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCDqOcDXr2tsBXp3QqYpoZCyJAJQ4+rEtmOLJL/Qyol+5e2NyBOqIGdpXdcSI6hCTYEQu/67EDFRcO9yU6yD/u7xOcy+t3eCqx1ydOy20AZCdcKwRmxBzyQN5er+mBErG2+iprTWJdpwCw0mwjNt5edusm7Nwufk0AkN5nxvEEynwesTdTqgLzL99Jk1zdg0uokROg1s13CCvpenYks8+yXwgddO/36WmUn9V8N+1MIu+UpwsULB9zsNCU8qlDzlgg1u6nr8nnKTBBwT2mXl4xCOF2EEJF5lGUaJ+NOu/ljI2WN2pEUsiqpZPvsI14teJKucH4zCV2y7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4tSuDaaJlUmKvmzzBomwhlQRr/vxZc0FOamnJ8is9wC49tOaEMUx2l2iSWZKXMh4C6LQC8hQsjiXnYsERAWgeqwzqtVE3iKaGhOv+W7ECKFndGjYM95bdVK8x9BymTrPun63BCiVGqhMzsEc2RkvbKgBpb7L+Ont0EAahwcTshBzfe0jhA2thWHNGFxXpNqI0ZaAo/NKJpHK3I0EACAB0/VjiQZ/inSKtPnof1/nQZ32QWX3ij0VkX2mE2Pw=</ds:X509Certificate>
            </ds:X509Data>
          </ds:KeyInfo>
        </ds:Signature>
      </saml:Assertion>
    </wsse:Security>
    <medcom:Header>
      <medcom:SecurityLevel>4</medcom:SecurityLevel>
      <medcom:Linking>
        <medcom:FlowID>ca208652-20df-4576-975b-30c4b1332f00</medcom:FlowID>
        <medcom:MessageID>d3885566-84b4-4efe-9c11-c216963ea63c</medcom:MessageID>
      </medcom:Linking>
      <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
    </medcom:Header>
  </soapenv:Header>
  <soapenv:Body>
    <RegisterConsentFromFormRequest
        xmlns="http://sundhedsdatastyrelsen.dk/Fravalg-Af-Genoplivning/2023/06/01/">
        <identifier>
            <use value="official" />
            <system value="urn:oid:1.2.208.176.1.2" />
            <value value="05118048170108501234" />
        </identifier>
        <signingDate>2024-02-21+01:00</signingDate>
    </RegisterConsentFromFormRequest>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
languagexml
titleDeleteConsentRequest
collapsetrue
<?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-09T08:48:28Z</wsu:Created>
      </wsu:Timestamp>
      <saml:Assertion IssueInstant="2023-06-09T08:43:28Z" Version="2.0" id="IDCard" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
        <saml:Issuer>TEST1-NSP-STS</saml:Issuer>
        <saml:Subject>
          <saml:NameID Format="medcom:other">urn:uuid:cdd91001-2a74-4985-9963-ab8b952eabea</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-09T08:43:28Z" NotOnOrAfter="2023-06-10T08:43:28Z"/>
        <saml:AttributeStatement id="IDCardData">
          <saml:Attribute Name="sosi:IDCardID">
            <saml:AttributeValue>DFuHtWW29pIOaq1ljbgVTQ==</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>user</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:AuthenticationLevel">
            <saml:AttributeValue>4</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <saml:AttributeStatement id="UserLog">
          <saml:Attribute Name="medcom:UserCivilRegistrationNumber">
            <saml:AttributeValue>1311809535</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserGivenName">
            <saml:AttributeValue>Seymour</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserSurName">
            <saml:AttributeValue>Cray</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:UserRole">
            <saml:AttributeValue>urn:dk:healthcare:national-federation-role:code:41001:value:SundAssistR1</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>YSOFoz0sQ0xs5tV+MwfnVF0325s=</ds:DigestValue>
            </ds:Reference>
          </ds:SignedInfo>
          <ds:SignatureValue>FoPXpL+8bu213ASaHsKtQ6rPWSAlPGvraUlpm0ikK54MfVHqygjjXdIYMWxmuz9v67fd/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cNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQC31Dtgc8+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>4</medcom:SecurityLevel>
      <medcom:Linking>
        <medcom:FlowID>37e03f81-3e8d-42a3-8140-3c3c2d85b7d7</medcom:FlowID>
        <medcom:MessageID>2318c563-0c55-4758-8859-e1664077a942</medcom:MessageID>
      </medcom:Linking>
      <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
    </medcom:Header>
  </soapenv:Header>
  <soapenv:Body>
    <DeleteConsentRequest xmlns="http://sundhedsdatastyrelsen.dk/Fravalg-Af-Genoplivning/2023/06/01/">
        <identifier>
            <use value="official" />
            <system value="urn:oid:1.2.208.176.1.2" />
            <value value="05118048170108501234" />
        </identifier>
        <signingDate>2023-06-09+01:00</signingDate>
    </DeleteConsentRequest>
   </soapenv:Body>
</soapenv:Envelope>

...