CompartmentDefinition
A compartment definition that defines how resources are accessed on a server.
Endpoints
alpha
https://api.dev.ovok.com/fhir/R4/CompartmentDefinition| Interaction | Method | Path |
|---|---|---|
| Read | GET | /fhir/R4/CompartmentDefinition/[id] |
| Vread | GET | /fhir/R4/CompartmentDefinition/[id]/_history/[vid] |
| Update | PUT | /fhir/R4/CompartmentDefinition/[id] |
| Patch | PATCH | /fhir/R4/CompartmentDefinition/[id] |
| Delete | DELETE | /fhir/R4/CompartmentDefinition/[id] |
| Create | POST | /fhir/R4/CompartmentDefinition |
| Search | GET | /fhir/R4/CompartmentDefinition |
| History | GET | /fhir/R4/CompartmentDefinition/[id]/_history |
Top-level elements
| Element | Type(s) | Cardinality | Description |
|---|---|---|---|
url | uri | 1..1 | Canonical identifier for this compartment definition, represented as a URI (globally unique) |
version | string | 0..1 | Business version of the compartment definition |
name | string | 1..1 | Name for this compartment definition (computer friendly) |
status | code | 1..1 | draft | active | retired | unknown modifier |
experimental | boolean | 0..1 | For testing purposes, not real usage |
date | dateTime | 0..1 | Date last changed |
publisher | string | 0..1 | Name of the publisher (organization or individual) |
contact | ContactDetail | 0..* | Contact details for the publisher |
description | markdown | 0..1 | Natural language description of the compartment definition |
useContext | UsageContext | 0..* | The context that the content is intended to support |
purpose | markdown | 0..1 | Why this compartment definition is defined |
code | code | 1..1 | Patient | Encounter | RelatedPerson | Practitioner | Device |
search | boolean | 1..1 | Whether the search syntax is supported |
resource | BackboneElement | 0..* | How a resource is related to the compartment |
Resource-specific search parameters
Reference
- Official FHIR R4 spec:
CompartmentDefinition - Maturity: Trial Use 1 (FMM 1).