This page is part of the FUT Infrastructure (v3.3.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
POST [base]/$import-organizations
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMGYyMTgyMjQtN2M5OS00ODJhLWFhMWEtYzhhMzQ1ZTJhODI0IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.10.5 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "organizations",
"resource": {
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:f86ef3ac-d4e4-4664-b2c8-61c6faf228d3",
"resource": {
"resourceType": "Organization",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/organization-source",
"code": "SOR"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/organization-synchronization-status",
"code": "NotSynchronized"
}
]
}
}
],
"identifier": [
{
"use": "official",
"system": "urn:oid:2.16.840.1.113883.2.24.1.1",
"value": "11111111",
"period": {
"start": "2024-07-29T09:15:10+00:00"
}
},
{
"use": "official",
"system": "urn:oid:1.2.208.176.1.1",
"value": "43616",
"period": {
"start": "2024-07-29T09:15:10+00:00"
}
}
],
"type": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/sor-organization-type",
"code": "56781000005109"
}
]
}
],
"name": "b6e10dae-be34-48dc-9b86-38543ce0e0de"
},
"request": {
"method": "POST",
"url": "Organization"
}
}
]
}
}
]
}
Response
{
"resourceType": "Bundle",
"type": "transaction-response",
"entry": [
{
"response": {
"status": "200 OK",
"location": "https://organization.cit-organization-1209.local/fhir/Organization/122/_history/2",
"etag": "2",
"lastModified": "2024-07-29T09:15:10.826+00:00",
"outcome": {
"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>Successfully updated resource "Organization/122/_history/2".</td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"details": {
"coding": [
{
"system": "https://hapifhir.io/fhir/CodeSystem/hapi-fhir-storage-response-code",
"code": "SUCCESSFUL_UPDATE",
"display": "Update succeeded."
}
]
},
"diagnostics": "Successfully updated resource \"Organization/122/_history/2\"."
}
]
}
}
},
{
"response": {
"status": "201 Created",
"location": "https://organization.cit-organization-1209.local/fhir/Provenance/123/_history/1",
"etag": "1",
"lastModified": "2024-07-29T09:15:11.086+00:00",
"outcome": {
"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>Successfully created resource "Provenance/123/_history/1". Took 2ms.</td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"details": {
"coding": [
{
"system": "https://hapifhir.io/fhir/CodeSystem/hapi-fhir-storage-response-code",
"code": "SUCCESSFUL_CREATE",
"display": "Create succeeded."
}
]
},
"diagnostics": "Successfully created resource \"Provenance/123/_history/1\". Took 2ms."
}
]
}
}
}
]
}