{
"resourceType" : "OperationDefinition",
"id" : "-s-create-episode-of-care",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>create-episode-of-care</h2><p>OPERATION: create-episode-of-care</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-create-episode-of-care</pre><div><p>The input Bundle must contain at least one Provenance and only one EpisodeOfCare. At least one Provenance must be a "GDPR"-provenance. The server will automatically add and return an origin Provenance.</p>\n</div><p>URL: [base]/$create-episode-of-care</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>episodeOfCareAndProvenances</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/STU3/bundle.html\">Bundle</a></td><td/><td/></tr></table></div>"
},
"url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-create-episode-of-care",
"version" : "1.0.0",
"name" : "create-episode-of-care",
"status" : "active",
"kind" : "operation",
"date" : "2019-03-06T14:43:56+00:00",
"description" : "The input Bundle must contain at least one Provenance and only one EpisodeOfCare. At least one Provenance must be a \"GDPR\"-provenance. The server will automatically add and return an origin Provenance.",
"idempotent" : false,
"code" : "create-episode-of-care",
"system" : true,
"type" : false,
"instance" : false,
"parameter" : [
{
"name" : "episodeOfCareAndProvenances",
"use" : "in",
"min" : 1,
"max" : "1",
"type" : "Bundle"
}
]
}