eHealth Infrastructure 2.6.0 - Release 13
Publish Box goes here
No examples are currently available for the profile.
GET [base]/Library?name=1d8fdabd-92ec-442b-adac-ebe8c79a2862
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOTE4NWJkM2YtMDE1Yy00NzliLWE1NzEtZTA3OTAwZWEyMGQ1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "Bundle", "id": "5004c25f-6c66-4142-b999-29ca306d14e3", "meta": { "lastUpdated": "2023-01-06T07:43:03.160+00:00" }, "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "https://library.cit-library-774.local/fhir/Library?_format=json&_pretty=true&name=1d8fdabd-92ec-442b-adac-ebe8c79a2862" } ], "entry": [ { "fullUrl": "https://library.cit-library-774.local/fhir/Library/31", "resource": { "resourceType": "Library", "id": "31", "meta": { "versionId": "1", "lastUpdated": "2023-01-06T07:43:02.961+00:00", "source": "#338083be-e40e-9f", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "bcd87343-d1bc-40b5-992a-f24cfdc424d0" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/21574" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "53fc0d4d-6bf4-429a-a16a-549aa67d5dc3", "name": "1d8fdabd-92ec-442b-adac-ebe8c79a2862", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }, "search": { "mode": "match" } } ] }
GET [base]/Library/36/_history/2
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZDEyOTBlNmItYTExYy00YTU0LWE2ZjAtOTc4OThmMTI0YzU2IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "Library", "id": "36", "meta": { "versionId": "2", "lastUpdated": "2023-01-06T07:43:12.058+00:00", "source": "#a361b3e6-c80e-9b", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "new revision value" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/67451" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/2550" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "73beb43e-52f1-4d27-b9a9-92c70d7ae1e1", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }
POST [base]/Library
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZDEyOTBlNmItYTExYy00YTU0LWE2ZjAtOTc4OThmMTI0YzU2IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "Library", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "cfdea1a5-34b9-465a-9dd5-dfcfae993f12" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/67451" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/2550" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "73beb43e-52f1-4d27-b9a9-92c70d7ae1e1", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }
{ "resourceType": "Library", "id": "36", "meta": { "versionId": "1", "lastUpdated": "2023-01-06T07:43:09.483+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "cfdea1a5-34b9-465a-9dd5-dfcfae993f12" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/67451" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/2550" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "73beb43e-52f1-4d27-b9a9-92c70d7ae1e1", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }
POST [base]/Library/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNzM3YWM1ZjAtMjkyZC00MjdjLTkzZmYtNDg1MzMzYzZiZDc1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "Library", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "ddb4a469-a789-458a-b385-25d99f51a6c7" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/35517" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "98837c01-7469-467a-859d-4a2670e0836e", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] } } ] }
{ "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>No issues detected during validation</pre></td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "No issues detected during validation" }, { "severity": "information", "code": "informational", "diagnostics": "No issues detected during validation" } ] }
PUT [base]/Library/36
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZDEyOTBlNmItYTExYy00YTU0LWE2ZjAtOTc4OThmMTI0YzU2IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. If-Match: "1" 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
{ "resourceType": "Library", "id": "36", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "new revision value" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/67451" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/2550" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "73beb43e-52f1-4d27-b9a9-92c70d7ae1e1", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }
{ "resourceType": "Library", "id": "36", "meta": { "versionId": "2", "lastUpdated": "2023-01-06T07:43:12.058+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision", "valueString": "new revision value" }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/67451" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-library-774.local/fhir/Organization/2550" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "73beb43e-52f1-4d27-b9a9-92c70d7ae1e1", "status": "draft", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "asset-collection" } ] }, "parameter": [ { "use": "in", "type": "Address" } ] }