eHealth Infrastructure 3.0.0 - release
Publish Box goes here
No examples are currently available for the profile.
DELETE [base]/Composition/124
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tcG9zaXRpb24ucmVhZCIsIkNvbXBvc2l0aW9uLmNyZWF0ZSIsIkNvbXBvc2l0aW9uLnNlYXJjaCIsIkNvbXBvc2l0aW9uLmRlbGV0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>Successfully deleted 1 resource(s) in 41ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 41ms" } ] }
GET [base]/Composition?title=d7bb7151-fb7e-443d-966f-72263bed8376
{ "resourceType": "Bundle", "id": "aac8186f-87c6-4a55-883d-bf460a7d2cda", "meta": { "lastUpdated": "2024-01-29T20:22:51.408+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://document-transformation.cit-document-transformation-1844.local/fhir/Composition?_format=json&_pretty=true&title=d7bb7151-fb7e-443d-966f-72263bed8376" } ], "entry": [ { "fullUrl": "https://document-transformation.cit-document-transformation-1844.local/fhir/Composition/128", "resource": { "resourceType": "Composition", "id": "128", "meta": { "versionId": "1", "lastUpdated": "2024-01-29T20:22:50.822+00:00", "source": "#9b16ba48-bb90-4e", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition" ] }, "contained": [ { "resourceType": "Patient", "id": "1", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient" ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\">FirstName <b>LASTNAME </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>0101010001</td></tr><tr><td>Address</td><td><span>Scot 2 </span><br/></td></tr></tbody></table></div>" }, "identifier": [ { "system": "urn:oid:1.2.208.176.1.2", "value": "0101010001" } ], "name": [ { "use": "usual", "family": "LastName", "given": [ "FirstName" ] } ], "gender": "female", "address": [ { "use": "home", "line": [ "Scot 2" ] } ], "managingOrganization": { "reference": "https://organization.cit-document-transformation-1844.local/fhir/Organization/2654" } }, { "resourceType": "Practitioner", "id": "2", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner" ] }, "name": [ { "family": "3bd47b0e-a18b-4bb4-8b36-f481769493ed" } ] } ], "status": "preliminary", "type": { "coding": [ { "system": "http://loinc.org", "code": "53576-5" } ] }, "subject": { "reference": "#1" }, "date": "2024-01-29T20:22:50+00:00", "author": [ { "reference": "#2" } ], "title": "d7bb7151-fb7e-443d-966f-72263bed8376" }, "search": { "mode": "match" } }, { "fullUrl": "https://document-transformation.cit-document-transformation-1844.local/fhir/Composition/129", "resource": { "resourceType": "Composition", "id": "129", "meta": { "versionId": "1", "lastUpdated": "2024-01-29T20:22:51.002+00:00", "source": "#34375174-9aca-99", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition" ] }, "contained": [ { "resourceType": "Patient", "id": "1", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient" ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\">FirstName <b>LASTNAME </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>0101010001</td></tr><tr><td>Address</td><td><span>Scot 2 </span><br/></td></tr></tbody></table></div>" }, "identifier": [ { "system": "urn:oid:1.2.208.176.1.2", "value": "0101010001" } ], "name": [ { "use": "usual", "family": "LastName", "given": [ "FirstName" ] } ], "gender": "female", "address": [ { "use": "home", "line": [ "Scot 2" ] } ], "managingOrganization": { "reference": "https://organization.cit-document-transformation-1844.local/fhir/Organization/16738" } }, { "resourceType": "Practitioner", "id": "2", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner" ] }, "name": [ { "family": "dd9e78e0-523d-44b8-85a8-fea8758bc3c1" } ] } ], "status": "preliminary", "type": { "coding": [ { "system": "http://loinc.org", "code": "53576-5" } ] }, "subject": { "reference": "#1" }, "date": "2024-01-29T20:22:50+00:00", "author": [ { "reference": "#2" } ], "title": "d7bb7151-fb7e-443d-966f-72263bed8376" }, "search": { "mode": "match" } } ] }
GET [base]/Composition/123
{ "resourceType": "Composition", "id": "123", "meta": { "versionId": "1", "lastUpdated": "2024-01-29T20:22:48.905+00:00", "source": "#f7547775-7388-49", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition" ] }, "contained": [ { "resourceType": "Patient", "id": "1", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient" ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\">FirstName <b>LASTNAME </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>0101010001</td></tr><tr><td>Address</td><td><span>Scot 2 </span><br/></td></tr></tbody></table></div>" }, "identifier": [ { "system": "urn:oid:1.2.208.176.1.2", "value": "0101010001" } ], "name": [ { "use": "usual", "family": "LastName", "given": [ "FirstName" ] } ], "gender": "female", "address": [ { "use": "home", "line": [ "Scot 2" ] } ], "managingOrganization": { "reference": "https://organization.cit-document-transformation-1844.local/fhir/Organization/68762" } }, { "resourceType": "Practitioner", "id": "2", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner" ] }, "name": [ { "family": "cbd75ce9-e1dd-45b7-9249-7e3bc94e28ef" } ] } ], "status": "preliminary", "type": { "coding": [ { "system": "http://loinc.org", "code": "53576-5" } ] }, "subject": { "reference": "#1" }, "date": "2024-01-29T20:22:48+00:00", "author": [ { "reference": "#2" } ], "title": "37514797-d37c-4e22-bc09-cfdc4f6b2730" }
POST [base]/Composition
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tcG9zaXRpb24ucmVhZCIsIkNvbXBvc2l0aW9uLmNyZWF0ZSIsIkNvbXBvc2l0aW9uLnNlYXJjaCIsIkNvbXBvc2l0aW9uLmRlbGV0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
Body:
{ "resourceType": "Composition", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition" ] }, "contained": [ { "resourceType": "Patient", "id": "1", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient" ] }, "identifier": [ { "system": "urn:oid:1.2.208.176.1.2", "value": "0101010001" } ], "name": [ { "use": "usual", "family": "LastName", "given": [ "FirstName" ] } ], "gender": "female", "address": [ { "use": "home", "line": [ "Scot 2" ] } ], "managingOrganization": { "reference": "https://organization.cit-document-transformation-1844.local/fhir/Organization/68762" } }, { "resourceType": "Practitioner", "id": "2", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner" ] }, "name": [ { "family": "cbd75ce9-e1dd-45b7-9249-7e3bc94e28ef" } ] } ], "status": "preliminary", "type": { "coding": [ { "system": "http://loinc.org", "code": "53576-5" } ] }, "subject": { "reference": "#1" }, "date": "2024-01-29T20:22:48+00:00", "author": [ { "reference": "#2" } ], "title": "37514797-d37c-4e22-bc09-cfdc4f6b2730" }
{ "resourceType": "Composition", "id": "123", "meta": { "versionId": "1", "lastUpdated": "2024-01-29T20:22:48.905+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-composition" ] }, "contained": [ { "resourceType": "Patient", "id": "1", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient" ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\">FirstName <b>LASTNAME </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>0101010001</td></tr><tr><td>Address</td><td><span>Scot 2 </span><br/></td></tr></tbody></table></div>" }, "identifier": [ { "system": "urn:oid:1.2.208.176.1.2", "value": "0101010001" } ], "name": [ { "use": "usual", "family": "LastName", "given": [ "FirstName" ] } ], "gender": "female", "address": [ { "use": "home", "line": [ "Scot 2" ] } ], "managingOrganization": { "reference": "https://organization.cit-document-transformation-1844.local/fhir/Organization/68762" } }, { "resourceType": "Practitioner", "id": "2", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner" ] }, "name": [ { "family": "cbd75ce9-e1dd-45b7-9249-7e3bc94e28ef" } ] } ], "status": "preliminary", "type": { "coding": [ { "system": "http://loinc.org", "code": "53576-5" } ] }, "subject": { "reference": "#1" }, "date": "2024-01-29T20:22:48+00:00", "author": [ { "reference": "#2" } ], "title": "37514797-d37c-4e22-bc09-cfdc4f6b2730" }