Update CompartmentDefinition Resource
put
/oracle-fhir-server/fhir/CompartmentDefinition/{id}
This api lets you create a new current version for an existing CompartmentDefinition resource or creates an initial version if no CompartmentDefinition resource already exists for the given id.
Request
Path Parameters
Root Schema : CompartmentDefinition
Type:
Show Source
object
-
code:
string
Minimum Length:
1
-
contact:
array contact
Minimum Number of Items:
1
Unique Items Required:true
-
date:
string
Minimum Length:
1
-
description:
string
Minimum Length:
1
-
experimental:
boolean
-
id:
string
Minimum Length:
1
-
name:
string
Minimum Length:
1
-
publisher:
string
Minimum Length:
1
-
purpose:
string
Minimum Length:
1
-
resource:
array resource
Minimum Number of Items:
1
Unique Items Required:true
-
resourceType:
string
Minimum Length:
1
-
search:
boolean
-
status:
string
Minimum Length:
1
-
text:
object Account_text
-
url:
string
Minimum Length:
1
-
useContext:
array useContext
Minimum Number of Items:
1
Unique Items Required:true
Nested Schema : contact
Type:
array
Minimum Number of Items:
1
Unique Items Required:
Show Source
true
Nested Schema : resource
Type:
array
Minimum Number of Items:
1
Unique Items Required:
Show Source
true
Nested Schema : Account_text
Type:
Show Source
object
-
div:
string
Minimum Length:
1
-
status:
string
Minimum Length:
1
Nested Schema : useContext
Type:
array
Minimum Number of Items:
1
Unique Items Required:
Show Source
true
Nested Schema : CapabilityStatement_contact
Type:
Show Source
object
-
name:
string
Minimum Length:
1
-
telecom(optional):
array telecom
Minimum Number of Items:
1
Unique Items Required:true
Nested Schema : telecom
Type:
array
Minimum Number of Items:
1
Unique Items Required:
Show Source
true
Nested Schema : Account_identifier
Type:
Show Source
object
-
system:
string
Minimum Length:
1
-
value:
string
Minimum Length:
1
Nested Schema : CompartmentDefinition_resource
Type:
Show Source
object
-
code:
string
Minimum Length:
1
-
documentation:
string
Minimum Length:
1
-
param(optional):
array param
Nested Schema : ActivityDefinition_code
Type:
Show Source
object
-
code:
string
Minimum Length:
1
-
system:
string
Minimum Length:
1
Nested Schema : Basic_code
Type:
Show Source
object
-
coding:
array coding
Minimum Number of Items:
1
Unique Items Required:true
Nested Schema : coding
Type:
array
Minimum Number of Items:
1
Unique Items Required:
Show Source
true
Response
200 Response
Success