GET [base]/Library?name=b98efd8b-477f-4040-b452-9e5680a53655
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZGFjMTgzNWQtMTcxYS00NWY4LThiNGMtNDMyYWYzMGUzMTRmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "70db3ca7-dcc0-41b0-a7a7-f79ce176c2b2",
"meta": {
"lastUpdated": "2021-04-19T15:09:04.679+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://library.cit-library-551.local/fhir/Library?_format=json&_pretty=true&name=b98efd8b-477f-4040-b452-9e5680a53655"
}
],
"entry": [
{
"fullUrl": "https://library.cit-library-551.local/fhir/Library/34",
"resource": {
"resourceType": "Library",
"id": "34",
"meta": {
"versionId": "1",
"lastUpdated": "2021-04-19T15:09:04.382+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "6df8f3cf-e274-4404-9a49-ac8d65645086"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/74921"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "3473bd5b-590b-47e8-8337-3859392e8984",
"name": "b98efd8b-477f-4040-b452-9e5680a53655",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://library.cit-library-551.local/fhir/Library/32",
"resource": {
"resourceType": "Library",
"id": "32",
"meta": {
"versionId": "1",
"lastUpdated": "2021-04-19T15:09:03.691+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "3fc13f36-ea51-4616-a708-e612aed762dc"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/18395"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1dc375c9-cd94-4e21-8e34-392ea4e6ef7a",
"name": "b98efd8b-477f-4040-b452-9e5680a53655",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Library/36/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOWZjZjA5YmQtMDA0Zi00YTdjLWIxYTUtNjMzYWEyOTM0YTU1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Library",
"id": "36",
"meta": {
"versionId": "2",
"lastUpdated": "2021-04-19T15:09:06.478+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "9d12b742-05b6-4c78-af77-c268c08fbd16"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/7477"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "2c3a1ea3-55d5-4675-8833-eb683de0c20f",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}
POST [base]/Library/31/$evaluate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZmQyNDJiNmUtZDRjNC00ZWNiLWFkN2MtMjA0N2RkZGY3NjYwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "parameters",
"resource": {
"resourceType": "Parameters",
"parameter": [
{
"name": "observationHeight",
"resource": {
"resourceType": "Observation",
"id": "96744",
"meta": {
"versionId": "1",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing",
"extension": [
{
"url": "procedureRequestVersionId",
"valueId": "42"
},
{
"url": "type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
"code": "Adhoc"
}
]
}
}
]
}
],
"basedOn": [
{
"reference": "https://careplan.cit-library-551.local/fhir/ProcedureRequest/12782"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
},
"subject": {
"reference": "https://patient.cit-library-551.local/fhir/Patient/96422"
},
"context": {
"reference": "https://careplan.cit-library-551.local/fhir/EpisodeOfCare/90635"
},
"effectivePeriod": {
"start": "2021-04-19T15:09:01+00:00",
"end": "2021-04-19T15:09:01+00:00"
},
"performer": [
{
"reference": "https://patient.cit-library-551.local/fhir/Patient/96422"
}
],
"valueQuantity": {
"value": 1.7,
"system": "http://unitsofmeasure.org",
"code": "m"
},
"device": {
"reference": "https://device.cit-library-551.local/fhir/Device/10935"
}
}
},
{
"name": "observationWeight",
"resource": {
"resourceType": "Observation",
"id": "19813",
"meta": {
"versionId": "1",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing",
"extension": [
{
"url": "procedureRequestVersionId",
"valueId": "42"
},
{
"url": "type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
"code": "Adhoc"
}
]
}
}
]
}
],
"basedOn": [
{
"reference": "https://careplan.cit-library-551.local/fhir/ProcedureRequest/12782"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
},
"subject": {
"reference": "https://patient.cit-library-551.local/fhir/Patient/15422"
},
"context": {
"reference": "https://careplan.cit-library-551.local/fhir/EpisodeOfCare/80003"
},
"effectivePeriod": {
"start": "2021-04-19T15:09:01+00:00",
"end": "2021-04-19T15:09:01+00:00"
},
"performer": [
{
"reference": "https://patient.cit-library-551.local/fhir/Patient/15422"
}
],
"valueQuantity": {
"value": 100,
"system": "http://unitsofmeasure.org",
"code": "kg"
},
"device": {
"reference": "https://device.cit-library-551.local/fhir/Device/34446"
}
}
}
]
}
}
]
}
Response
{
"resourceType": "GuidanceResponse",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-guidanceresponse"
]
},
"contained": [
{
"resourceType": "ServiceDefinition",
"id": "1",
"status": "active",
"relatedArtifact": [
{
"type": "composed-of",
"resource": {
"reference": "https://library.cit-library-551.local/fhir/Library/31"
}
}
]
},
{
"resourceType": "Parameters",
"id": "2",
"parameter": [
{
"name": "rule-output",
"valueDecimal": 34.60
},
{
"name": "fact",
"valueReference": {
"reference": "https://plan.cit-library-551.local/fhir/ActivityDefinition/98935/_history/1"
}
},
{
"name": "fact",
"valueReference": {
"reference": "https://careplan.cit-library-551.local/fhir/ProcedureRequest/12782/_history/1"
}
},
{
"name": "fact",
"valueReference": {
"reference": "http://patient.cit-library-551/fhir/Patient/96422/_history/1"
}
},
{
"name": "fact",
"valueReference": {
"reference": "https://plan.cit-library-551.local/fhir/PlanDefinition/4492/_history/1"
}
}
]
}
],
"module": {
"reference": "#1"
},
"status": "success",
"subject": {
"reference": "https://patient.cit-library-551.local/fhir/Patient/96422"
},
"context": {
"reference": "https://careplan.cit-library-551.local/fhir/EpisodeOfCare/90635"
},
"outputParameters": {
"reference": "#2"
}
}
POST [base]/Library
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZWExYzNhNDEtZjViNS00ZTAxLWFjMTktMTBhZmNiOTRmMDNkIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; 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": "ca08a2bc-b4e1-4d34-bdec-90481912892e"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/63324"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/8636"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "77fc0338-3605-4f54-964b-929556e894e1",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}
Response
{
"resourceType": "Library",
"id": "15",
"meta": {
"versionId": "1",
"lastUpdated": "2021-04-19T15:08:28.954+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "ca08a2bc-b4e1-4d34-bdec-90481912892e"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/63324"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/8636"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "77fc0338-3605-4f54-964b-929556e894e1",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}
POST [base]/Library/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNGJmOTk0ODgtMDk4MC00YzFlLTk3MTAtYWVjZmYyMjZlYjQ1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"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": "044719bd-59d7-4b12-88ef-14390ff187b9"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/97962"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "ecf6921f-68c4-4574-8464-e1d7d6eed749",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}
}
]
}
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>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
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOWZjZjA5YmQtMDA0Zi00YTdjLWIxYTUtNjMzYWEyOTM0YTU1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkxpYnJhcnkuY3JlYXRlIiwiTGlicmFyeS51cGRhdGUiLCJMaWJyYXJ5LnJlYWQiLCJMaWJyYXJ5LnNlYXJjaCIsIkxpYnJhcnkkZXZhbHVhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.3.0 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Library",
"id": "36",
"meta": {
"versionId": "1",
"lastUpdated": "2021-04-19T15:09:06.090+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "9d12b742-05b6-4c78-af77-c268c08fbd16"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/7477"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "2c3a1ea3-55d5-4675-8833-eb683de0c20f",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}
Response
{
"resourceType": "Library",
"id": "36",
"meta": {
"versionId": "2",
"lastUpdated": "2021-04-19T15:09:06.478+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision",
"valueString": "9d12b742-05b6-4c78-af77-c268c08fbd16"
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-library-551.local/fhir/Organization/7477"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "2c3a1ea3-55d5-4675-8833-eb683de0c20f",
"status": "draft",
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/library-type",
"code": "asset-collection"
}
]
},
"parameter": [
{
"use": "in",
"type": "Address"
}
]
}