Page History
...
treatmentRelationRequestBody | ||
---|---|---|
Elementer | Beskrivelse | Felt krævet |
OrganisationIdentifier | Organisationen inden for hvilken relationen skal findes. Feltet er struktureret og kan indeholde et sks, ydernummer, sor kode eller EAN-nummer. | Ja |
PatientCpr | Patientens cpr-nummer. | Ja |
HealthProfessionalCpr | Behandlers cpr-nummer. | Ja |
RelationLookupTimeInterval | Tidsinterval inden for hvilket behandleren har foretaget opslaget. Kan f.eks. være validetsperioden for behandlerens ID-kort. | Ja |
TimeLimit | Udløbstidspunkt for opfølgningen efter hvilket der skal oprettes en notifikation, hvis de angivne kriterier ikke er opfyldt (se AcceptableRelations nedenfor). | Ja |
ExternalReferenceId | Et id der vil blive brugt ved returnering af en eventuel notifikation. | Ja |
QueryableCvr | CVR nummer der skal have adgang til en eventuel efterfølgende notifikation. | Ja |
MiinimumAcceptableRelation | Et enkelt minimum acceptabelt forhold. Ud fra dette opbygges en liste af acceptable relationer (f.eks. "A+, A, B") over alle relationer ovenfor og inklusive den mindst acceptable relation. Er alle relationer acceptable, angives værdien "ANY". | Ja |
Followup | Skal der laves en opfølgning, hvis MinimumAcceptableRelations MinimumAcceptableRelation ikke blev nået. | Ja |
AuthorisationIdentifier | Autorisationskode for den behandleren. | Ja |
ServiceProvider | Tekststreng indeholdende navnet på serviceudbyderen (f.eks. FMK). Bruges til logformål. | Ja |
IncludeAllRelations | Hvis denne værdi sættes til "true" vil treatmentRelationResponse inkludere alle evidens kilder. Værdien er sat til at være default "false" og den er ikke påkrævet. | Nej |
Hvis der i kaldet til behandlingsrelationsservicen er angivet at der skal bestilles opfølgninger i opfølgningsservicen, vil der komme alarm-notifikationer, hvis de angivne kriterier ikke er opfyldt indenfor det i kaldet angivne tidsrum.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<treatmentRelationRequestBody xmlns="https://nspop.dk/nsp/behandlingsrelation/2022/03/14/brs"> <OrganisationIdentifier> <DoctorOrganisationIdentifier>561010</DoctorOrganisationIdentifier> </OrganisationIdentifier> <PatientCpr>3112910017</PatientCpr> <HealthProfessionalCpr>1007707419</HealthProfessionalCpr> <RelationLookupTimeInterval> <start>2023-01-01T16:16:31+01:00</start> <end>2024-01-01T16:16:31+01:00</end> </RelationLookupTimeInterval> <MinimumAcceptableRelation>E</MinimumAcceptableRelation> <TimeLimit>2016-01-01T16:16:31+01:00</TimeLimit> <QueryableCvr>46837428</QueryableCvr> <Followup>true<<Followup>false</Followup> <AuthorisationIdentifier /> <ServiceProvider> <Name>myServiceProviderName</Name> <Version>snapshot</Version> <Vendor>arosii</Vendor> </ServiceProvider> <IncludeAllRelations>true</IncludeAllRelations> </treatmentRelationRequestBody> |
...
Følgende er et eksempel på et request til BRS uden IncludeAllRelations:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<treatmentRelationRequestBody xmlns="http://nsi.dk/fmki20110601/brs"> <OrganisationIdentifier> <DoctorOrganisationIdentifier>132435</DoctorOrganisationIdentifier> </OrganisationIdentifier> <PatientCpr>0101601951</PatientCpr> <HealthProfessionalCpr>0101601803</HealthProfessionalCpr> <RelationLookupTimeInterval> <start>2013-09-30T00:00:00+02:00</start> <end>2013-10-25T23:59:00+02:00</end> </RelationLookupTimeInterval> <TimeLimit>2013-09-30T11:04:37+02:00</TimeLimit> <QueryableCvr>31908574</QueryableCvr> <AcceptableRelations> <Relation>A</Relation> <Relation>B</Relation> </AcceptableRelations> <FollowupRelations> <All>All</All> </FollowupRelations> <AuthorisationIdentifier>DM712</AuthorisationIdentifier> <ServiceProvider> <Name>SJ</Name> <Version>0.1</Version> <Vendor>Sundhed.dk</Vendor> </ServiceProvider> </treatmentRelationRequestBody> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8" ?> <ns5<ns6:treatmentRelationResponseBody xmlns:ns5ns6="http://nsi.dk/fmki20110601/2022/03/14/brs" xmlns xmlns="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" > <ns5:SufficientRelation>true</ns5:SufficientRelation> <ns5:ActualRelation Relation="D"/> <ns5:RelationsBySources> <ns5:RelationBySource> <ns5:Source>HENVISNING_SOR</ns5:Source> <ns5:Relation>E</ns5:Relation> </ns5:RelationBySource> <ns5:RelationBySource> <ns5:Source>LPR</ns5:Source> <ns5:Relation>E</ns5:Relation> </ns5:RelationBySource> <ns5:RelationBySource> <ns5:Source>SSR</ns5:Source> <ns5:Relation>D</ns5:Relation> </ns5:RelationBySource> <ns5:RelationBySource> <ns5:Source>SIKREDE</ns5:Source> <ns5:Relation>D</ns5:Relation> </ns5:RelationBySource> <ns5:RelationBySource> <ns5:Source>REFHOST</ns5:Source> <ns5:Relation>D</ns5:Relation> </ns5:RelationBySource> </ns5:RelationsBySources> <ns5:FollowupOrdered>false</ns5:FollowupOrdered> <ns5:UniqueReferenceId>452eff59-6ef3-46b3-98e2-07df9c7ff50d</ns5:UniqueReferenceId> <ns5:ExternalReferenceId>97825e04-c6db-4894-bc8a-ee67070d4453</ns5:ExternalReferenceId> </ns5 xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns5="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns8="http://rep.oio.dk/cvr.dk/xml/schemas/2005/03/22/"> <ns6:SufficientRelation>true</ns6:SufficientRelation> <ns6:ActualRelations> <ns6:Relation>D</ns6:Relation> </ns6:ActualRelations> <ns6:RelationsBySources> <ns6:RelationBySource> <ns6:Source>LPR</ns6:Source> <ns6:Relation>E</ns6:Relation> </ns6:RelationBySource> <ns6:RelationBySource> <ns6:Source>SIKREDE</ns6:Source> <ns6:Relation>D</ns6:Relation> </ns6:RelationBySource> <ns6:RelationBySource> <ns6:Source>REFHOST</ns6:Source> <ns6:Relation>D</ns6:Relation> </ns6:RelationBySource> <ns6:RelationBySource> <ns6:Source>HENVISNING_SOR</ns6:Source> <ns6:Relation>E</ns6:Relation> </ns6:RelationBySource> <ns6:RelationBySource> <ns6:Source>SSR</ns6:Source> <ns6:Relation>D</ns6:Relation> </ns6:RelationBySource> </ns6:RelationsBySources> <ns6:FollowupOrdered>false</ns6:FollowupOrdered> <ns6:UniqueReferenceId>bd80bca9-5f30-4e4c-b30f-0ebceb16ec24</ns6:UniqueReferenceId> <ns6:ExternalReferenceId>040865cd-6a2e-40b9-a574-e9a88e25d5d7</ns6:ExternalReferenceId> </ns6:treatmentRelationResponseBody> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version='1.0' encoding='UTF-8'?> <ns6:treatmentRelationResponseBody xmlns:ns6="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsdnsi.dk/fmki20110601/brs" xmlns="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://wwwdocs.medcomoasis-open.dkorg/dgwswss/20062004/04/dgws01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns5="urn:oasis:names:tc:SAML:2.0:assertion-utility-1.0.xsd" xmlns:ns6ns5="http://nsiwww.medcom.dk/dgws/2006/fmki20110601/brs04/dgws-1.0.xsd" xmlns:ns7="http://rep.oio.dk/cvrcpr.dk/xml/schemas/core/2005/03/2218/" xmlns:ns8="http://rep.oio.dk/cprcvr.dk/xml/schemas/core/2005/03/1822/"> <ns6:SufficientRelation>false<SufficientRelation>true</ns6:SufficientRelation> <ns6:ActualRelations> <ns6:Relation>C<Relation>D</ns6:Relation> </ns6:ActualRelations> <ns6:FollowupOrdered>true<FollowupOrdered>false</ns6:FollowupOrdered> <ns6:UniqueReferenceId>0044ba5aUniqueReferenceId>744bb53a-83783c67-4d334a91-b128a3c1-03522ed26e85<eb91b9bc9e3e</ns6:UniqueReferenceId> <ns6:ExternalReferenceId>e4a4ab3fExternalReferenceId>b1a35898-3f7ff699-4e5d4a76-a311a274-5942c14856b8<c005ee7d763a</ns6:ExternalReferenceId> </ns6:treatmentRelationResponseBody> |
...