Page History
...
MedicationAllergyIntoleranceReduced | ||
---|---|---|
Beskrivelse | Påkrævet | |
Id på registreringen. | Ja | |
clinicalStatus | Status på registreringen. Er enten Active, Inactive eller Resolved | Ja |
verificationStatus | Altid confirmed. | Nej |
type | Altid allergy. | Nej |
category | Altid medication. | Nej |
criticality | Kritikalitet af allergien. Er enten low, high eller unnable-to-assess. | Nej |
substance | Substans som allergien drejer sig om. Består af en kode og et system. System kan være oid for ATC kode og koden er så en specifik ATC kode. | Ja |
substanceDescription | Tekstuel beskrivelse af substansen. | Nej |
patient | Patient allergien drejer sig om. Består af en code og et system. Hvor code er værdien (CPR nummer) og system er oid koden for CPR systemet. | |
onsetDateTime | Tidspunkt allergien er identificeret. | Ja |
recorder | Lægefaglig person der har indberettet allergien. Består af en code og system. System er oid koden for autorisationskoder og code er autorsationskoden. | Ja |
recorderDescription | Organisation der har indberettet allergien. Består af en code og system. System er oid for SOR og code er SOR koden. | Ja |
note | Note omkring allergien | Nej |
reaction | Reaktion på allergien. Består af:
| Ja |
Eksempler
Eksempler på request of response til de SOAP operationer der udstilles. De enekelte elementer er beskrevet under snitfladebeskrivelse.
RegisterPatientAllergy
Nedenstående er eksempel på SOAP request der anvendes til at registrere oplysninger. . De enekelte elementer er beskrevet under snitfladebeskrivelse.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>...</soap:Header>
<soap:Body>
<ns6:RegisterPatientAllergyRequest xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns5="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns6="http://sds.dk/medicationallergyservice/2018/11/21/" xmlns:ns7="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8="http://sds.dk/medicationallergyservice/allergy/2018/11/21/">
<MedicationAllergyIntoleranceReduced>
<ns8:identifier>494de20b-32ec-4955-8886-5514bd063c25</ns8:identifier>
<ns8:clinicalStatus value="active"/>
<ns8:verificationStatus value="confirmed"/>
<ns8:type value="allergy"/>
<ns8:category value="medication"/>
<ns8:criticality value="high"/>
<ns8:substance>
<ns8:system>urn:oid:2.16.840.1.113883.6.73</ns8:system>
<ns8:code>648005</ns8:code>
</ns8:substance>
<ns8:substanceDescription>648005 description</ns8:substanceDescription>
<ns8:patient>
<ns8:system>urn:oid:1.2.208.176.1.2</ns8:system>
<ns8:code>1601010020</ns8:code>
</ns8:patient>
<ns8:onsetDateTime>2018-11-01T13:30:00.000+01:00</ns8:onsetDateTime>
<ns8:recorder>
<ns8:system>urn:oid:1.2.208.176.1.3</ns8:system>
<ns8:code>1234</ns8:code>
</ns8:recorder>
<ns8:recorderOrganization>
<ns8:system>urn:oid:1.2.208.176.1.1</ns8:system>
<ns8:code>1234567890</ns8:code>
</ns8:recorderOrganization>
<ns8:note>Oil of calamus allergy</ns8:note>
<ns8:reaction>
<ns8:manifestation>
<ns8:system>urn:oid:1.2.208.176.2.4.12</ns8:system>
<ns8:code>5678</ns8:code>
</ns8:manifestation>
<ns8:manifestationDescription>Severe reaction was observed for several hours</ns8:manifestationDescription>
<ns8:onset>2018-11-01T13:30:00.000+01:00</ns8:onset>
<ns8:severity value="mild"/>
</ns8:reaction>
</MedicationAllergyIntoleranceReduced>
</ns6:RegisterPatientAllergyRequest>
</soap:Body>
</soap:Envelope> |
Nedenstående er SOAP svar på ovestående request.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header>...</soap:Header> <soap:Body> <ns6:RegisterPatientAllergyResponse xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns5="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns6="http://sds.dk/medicationallergyservice/2018/11/21/" xmlns:ns7="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8="http://sds.dk/medicationallergyservice/allergy/2018/11/21/"> <ReplyStatus> <ns6:StatusCode>Success</ns6:StatusCode> <ns6:StatusText>Kald til servicen var successfuld</ns6:StatusText> </ReplyStatus> </ns6:RegisterPatientAllergyResponse> </soap:Body> </soap:Envelope> |
GetPatientAllergyList
Nedenstående er eksempel på SOAP reqyet der anvende til at læse data.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>...</soap:Header>
<soap:Body>
<ns6:GetPatientAllergyListRequest xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns5="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns6="http://sds.dk/medicationallergyservice/2018/11/21/" xmlns:ns7="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8="http://sds.dk/medicationallergyservice/allergy/2018/11/21/">
<MedicationAllergyIntoleranceSearchCriteria>
<ns6:patient>
<ns6:system>urn:oid:1.2.208.176.1.2</ns6:system>
<ns6:code>1601010020</ns6:code>
</ns6:patient>
<ns6:requesterOrganization>
<ns6:type value="sor"/>
<ns6:code>12345</ns6:code>
</ns6:requesterOrganization>
<ns6:consentOverride>false</ns6:consentOverride>
</MedicationAllergyIntoleranceSearchCriteria>
</ns6:GetPatientAllergyListRequest>
</soap:Body>
</soap:Envelope> |
Nendenstående er SOAP svar på ovestående request.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>...</soap:Header>
<soap:Body>
<ns6:GetPatientAllergyListResponse xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns5="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns6="http://sds.dk/medicationallergyservice/2018/11/21/" xmlns:ns7="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns8="http://sds.dk/medicationallergyservice/allergy/2018/11/21/">
<ReplyStatus>
<ns6:StatusCode>Success</ns6:StatusCode>
<ns6:StatusText>Kald til servicen var successfuld</ns6:StatusText>
</ReplyStatus>
<MedicationAllergyIntoleranceReduced>
<ns8:identifier>494de20b-32ec-4955-8886-5514bd063c25</ns8:identifier>
<ns8:clinicalStatus value="active"/>
<ns8:verificationStatus value="confirmed"/>
<ns8:type value="allergy"/>
<ns8:category value="medication"/>
<ns8:criticality value="high"/>
<ns8:substance>
<ns8:system>urn:oid:2.16.840.1.113883.6.73</ns8:system>
<ns8:code>648005</ns8:code>
</ns8:substance>
<ns8:substanceDescription>648005 description</ns8:substanceDescription>
<ns8:patient>
<ns8:system>urn:oid:1.2.208.176.1.2</ns8:system>
<ns8:code>1601010020</ns8:code>
</ns8:patient>
<ns8:onsetDateTime>2018-11-01T13:30:00.000+01:00</ns8:onsetDateTime>
<ns8:recorder>
<ns8:system>urn:oid:1.2.208.176.1.3</ns8:system>
<ns8:code>1234</ns8:code>
</ns8:recorder>
<ns8:recorderOrganization>
<ns8:system>urn:oid:1.2.208.176.1.1</ns8:system>
<ns8:code>1234567890</ns8:code>
</ns8:recorderOrganization>
<ns8:note>Oil of calamus allergy</ns8:note>
<ns8:reaction>
<ns8:manifestation>
<ns8:system>urn:oid:1.2.208.176.2.4.12</ns8:system>
<ns8:code>5678</ns8:code>
</ns8:manifestation>
<ns8:manifestationDescription>Severe reaction was observed for several hours</ns8:manifestationDescription>
<ns8:onset>2018-11-01T13:30:00.000+01:00</ns8:onset>
<ns8:severity value="mild"/>
</ns8:reaction>
</MedicationAllergyIntoleranceReduced>
</ns6:GetPatientAllergyListResponse>
</soap:Body>
</soap:Envelope> |