Versions Compared

Key

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

...

BrugertypeWSDLEndpoint
Borgerfgvhr-citizen.wsdl<server>/fgvhr/20230601/service?wsdl
Administrativfgvhr-admin.wsdl


<server>/fgvhr/20230601/admin?wsdl

Systemfgvhr-fsk.wsdl<server>/fgvhr/20230601/hasNoResuscitation?wsdl

...

OperationBeskrivelse
GetConsent

Administrativ bruger kan se borgers registreringer.

Hvis registreringen er oprettet for mindre end 7 dage vises den med status 'draft'

Ellers vises den med status 'active'

For den administrative bruger hentes også "provisions", hvor man kan se historikken omkring hvornår registreringer er blevet oprettet/slettet eller rettet.

RegisterConsentAdministrativ bruger kan oprette en registrering på vegne af borger ud fra en blanket.
DeleteConsentAdministrativ bruger kan slette en registrering på vegne af borger.
UpdateConsentAdministrativ bruger kan redigere en registrering på vegne af borger. Pt. er det kun underskriftsdatoen, der kan ændres.

WSDL for systembruger

OperationBeskrivelse
HasNoResuscitation

Systembruger kan hente en borgers aktuelle status og operationen kan returnere følgende:

true: hvis borgerens aktuelle registrering for fravalg af genoplivning er "Active".

false: hvis borgerens aktuelle registrering for fravalg af genoplivning enten er "Draft" eller hvis borgeren ikke har nogen registrering.

Serviceoperationer for borger-snitflade

...

Serviceoperationer for FSK snitflade

HasNoResuscitation

Element

Beskrivelse

Type

Optionel

identifier

Angiver personens CPR-nummer (uden bindestreg) 


Nej
Code Block
titleHasNoResuscitationRequest
collapsetrue
request<?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-11-07T07:53:19Z</wsu:Created>
      </wsu:Timestamp>
      <saml:Assertion IssueInstant="2023-11-07T07:47:47Z" 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="2023-11-07T07:47:47Z" NotOnOrAfter="2023-11-08T07:47:47Z"/>
        <saml:AttributeStatement id="IDCardData">
          <saml:Attribute Name="sosi:IDCardID">
            <saml:AttributeValue>Yv2obE+ceGHekrg+gM7QCA==</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>ikFOtMM/YxuEyB9HTNCx8DwwcW0=</ds:DigestValue>
            </ds:Reference>
          </ds:SignedInfo>
          <ds:SignatureValue>bmjDfDhtEOpkY67I69opJqxrDjbcP+Nt0cyjIC+HtsrHkfjGIUf10BXzrrayUBbPTXdIODcQUjToXaqfX6PWAYAOZElNqxVzrKiR7FNTPsoxyR1wr3HK5vF6GcxILsnc9qiQeqUTNr8DWHxwDe3elhCcp+T1f4OGcN38uSTFoDMq1+K7qo4pyN5LCq2ZLINdLpsZr+EQT5b3Tb/wpgBIsCRM05ERyz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Mkd3TNOzuF6Ct8c4X5mv+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>d380f61d-49ca-40c9-b28e-5cba2b94f5dc</medcom:FlowID>
        <medcom:MessageID>5351ca92-4fed-4c1a-bb3f-d9e5f07f7600</medcom:MessageID>
      </medcom:Linking>
      <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
    </medcom:Header>
  </soapenv:Header>
  <soapenv:Body>
    <HasNoResuscitationRequest 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="0511804817"/>
      </identifier>
    </HasNoResuscitationRequest>
  </soapenv:Body>
</soapenv:Envelope>


Code Block
titleHasNoResuscitationResponse
collapsetrue
response<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <HasNoResuscitationResponse xmlns="http://sundhedsdatastyrelsen.dk/Fravalg-Af-Genoplivning/2023/06/01/">true</HasNoResuscitationResponse>
  </soap:Body>
</soap:Envelope>



Adviseringer i NAS

For ændringer af en borgers aktive fravalg (oprettelse og sletninger), laves der en advisering via NAS ved tidspunktet hvor fravalget gøres aktivt. Dvs. hvis fravalget gøres aktivt 7 dage efter oprettelse, vil adviseringen ligeledes sendes 7 dage efter oprettelse.

...