Skip to main content

CompartmentDefinition

Trial Use 1 Conformance

A compartment definition that defines how resources are accessed on a server.

Endpoints​

alphahttps://api.dev.ovok.com/fhir/R4/CompartmentDefinition
InteractionMethodPath
ReadGET/fhir/R4/CompartmentDefinition/[id]
VreadGET/fhir/R4/CompartmentDefinition/[id]/_history/[vid]
UpdatePUT/fhir/R4/CompartmentDefinition/[id]
PatchPATCH/fhir/R4/CompartmentDefinition/[id]
DeleteDELETE/fhir/R4/CompartmentDefinition/[id]
CreatePOST/fhir/R4/CompartmentDefinition
SearchGET/fhir/R4/CompartmentDefinition
HistoryGET/fhir/R4/CompartmentDefinition/[id]/_history

Top-level elements​

ElementType(s)CardinalityDescription
urluri1..1Canonical identifier for this compartment definition, represented as a URI (globally unique)
versionstring0..1Business version of the compartment definition
namestring1..1Name for this compartment definition (computer friendly)
statuscode1..1draft | active | retired | unknown modifier
experimentalboolean0..1For testing purposes, not real usage
datedateTime0..1Date last changed
publisherstring0..1Name of the publisher (organization or individual)
contactContactDetail0..*Contact details for the publisher
descriptionmarkdown0..1Natural language description of the compartment definition
useContextUsageContext0..*The context that the content is intended to support
purposemarkdown0..1Why this compartment definition is defined
codecode1..1Patient | Encounter | RelatedPerson | Practitioner | Device
searchboolean1..1Whether the search syntax is supported
resourceBackboneElement0..*How a resource is related to the compartment

Resource-specific search parameters​

ParameterTypeDescription
_compartmentstring
_countstringhttps://www.hl7.org/fhir/search.html#_count
_elementsstringhttps://www.hl7.org/fhir/search.html#_elements
_idstring
_lastUpdatedstring
_profilestring
_securitystring
_sortstringhttps://www.hl7.org/fhir/search.html#_sort
_sourcestring
_summarystringhttps://www.hl7.org/fhir/search.html#_summary
_tagstring
_totalstringhttps://www.hl7.org/fhir/search.html#_total
codestringhttp://hl7.org/fhir/SearchParameter/CompartmentDefinition-code
contextstringhttp://hl7.org/fhir/SearchParameter/conformance-context
context-quantitystringhttp://hl7.org/fhir/SearchParameter/conformance-context-quantity
context-typestringhttp://hl7.org/fhir/SearchParameter/conformance-context-type
context-type-quantitystringhttp://hl7.org/fhir/SearchParameter/conformance-context-type-quantity
context-type-valuestringhttp://hl7.org/fhir/SearchParameter/conformance-context-type-value
datestringhttp://hl7.org/fhir/SearchParameter/conformance-date
descriptionstringhttp://hl7.org/fhir/SearchParameter/conformance-description
namestringhttp://hl7.org/fhir/SearchParameter/conformance-name
publisherstringhttp://hl7.org/fhir/SearchParameter/conformance-publisher
resourcestringhttp://hl7.org/fhir/SearchParameter/CompartmentDefinition-resource
statusstringhttp://hl7.org/fhir/SearchParameter/conformance-status
urlstringhttp://hl7.org/fhir/SearchParameter/conformance-url
versionstringhttp://hl7.org/fhir/SearchParameter/conformance-version

Reference​