This page is part of the Data Access Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. . For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/us/daf/StructureDefinition/daf-operationdefinition
This profile was published on Fri Aug 12 00:00:00 AEST 2016 as a draft by Health Level Seven International (FHIR Infrastructure WG - Data Access Framework).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from OperationDefinition
This structure is derived from OperationDefinition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationDefinition | 0..* | |||
url | S | 0..1 | uri | |
name | S | 1..1 | string | |
status | S | 1..1 | code | |
kind | S | 1..1 | code | |
description | S | 0..1 | markdown | |
code | S | 1..1 | code | |
comment | S | 0..1 | string | |
base | S | 0..1 | Reference(OperationDefinition) | |
system | S | 1..1 | boolean | |
instance | S | 1..1 | boolean | |
parameter | S | 0..* | BackboneElement | |
name | S | 1..1 | code | |
use | S | 1..1 | code | |
min | S | 1..1 | integer | |
max | S | 1..1 | string | |
documentation | S | 0..1 | string | |
type | S | 0..1 | code | |
daf-data-models | S | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-data-models Binding: DAF Research Data Models (extensible) |
daf-query-formats | S | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-query-formats Binding: DAF Research Query Formats (extensible) |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationDefinition | I | 0..* | Definition of an operation or a named query dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
daf-data-models | SI | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-data-models Binding: DAF Research Data Models (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
daf-query-formats | SI | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-query-formats Binding: DAF Research Query Formats (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | S | 0..1 | uri | Logical URL to reference this operation definition |
version | 0..1 | string | Logical id for this version of the operation definition | |
name | S | 1..1 | string | Informal name for this operation |
status | ?!S | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
kind | S | 1..1 | code | operation | query Binding: OperationKind (required) |
experimental | 0..1 | boolean | If for testing purposes, not real usage | |
date | 0..1 | dateTime | Date for this version of the operation definition | |
publisher | ∑ | 0..1 | string | Name of the publisher (Organization or individual) |
contact | ∑ | 0..* | BackboneElement | Contact details of the publisher |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of an individual to contact |
telecom | ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
description | S | 0..1 | markdown | Natural language description of the operation |
useContext | ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
requirements | 0..1 | markdown | Why this resource has been created | |
idempotent | 0..1 | boolean | Whether content is unchanged by the operation | |
code | S | 1..1 | code | Name used to invoke the operation |
comment | S | 0..1 | string | Additional information about use |
base | S | 0..1 | Reference(OperationDefinition) | Marks this as a profile of the base |
system | S | 1..1 | boolean | Invoke at the system level? |
type | 0..* | code | Invoke at resource level for these type Binding: ResourceType (required) | |
instance | S | 1..1 | boolean | Invoke on an instance? |
parameter | SI | 0..* | BackboneElement | Parameters for the operation/query opd-1: Either a type must be provided, or parts opd-2: A search type can only be specified for parameters of type string |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
name | S | 1..1 | code | Name in Parameters.parameter.name or in URL |
use | S | 1..1 | code | in | out Binding: OperationParameterUse (required) |
min | S | 1..1 | integer | Minimum Cardinality |
max | S | 1..1 | string | Maximum Cardinality (a number or *) |
documentation | S | 0..1 | string | Description of meaning/use |
type | SI | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required) |
searchType | I | 0..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required) |
profile | 0..1 | Reference(StructureDefinition) | Profile on the type | |
binding | 0..1 | BackboneElement | ValueSet details if this is coded | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
strength | 1..1 | code | required | extensible | preferred | example Binding: BindingStrength (required) | |
valueSet[x] | 1..1 | uri, Reference(ValueSet) | Source of value set | |
part | I | 0..* | Unknown reference to #OperationDefinition:dafoperationdefinition.parameter Parts of a nested Parameter | |
Documentation for this format |
yet to be done: Xml template
yet to be done: Json template
This structure is derived from OperationDefinition.
Differential View
This structure is derived from OperationDefinition.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationDefinition | 0..* | |||
url | S | 0..1 | uri | |
name | S | 1..1 | string | |
status | S | 1..1 | code | |
kind | S | 1..1 | code | |
description | S | 0..1 | markdown | |
code | S | 1..1 | code | |
comment | S | 0..1 | string | |
base | S | 0..1 | Reference(OperationDefinition) | |
system | S | 1..1 | boolean | |
instance | S | 1..1 | boolean | |
parameter | S | 0..* | BackboneElement | |
name | S | 1..1 | code | |
use | S | 1..1 | code | |
min | S | 1..1 | integer | |
max | S | 1..1 | string | |
documentation | S | 0..1 | string | |
type | S | 0..1 | code | |
daf-data-models | S | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-data-models Binding: DAF Research Data Models (extensible) |
daf-query-formats | S | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-query-formats Binding: DAF Research Query Formats (extensible) |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationDefinition | I | 0..* | Definition of an operation or a named query dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
daf-data-models | SI | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-data-models Binding: DAF Research Data Models (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
daf-query-formats | SI | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/daf/StructureDefinition/daf-query-formats Binding: DAF Research Query Formats (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | S | 0..1 | uri | Logical URL to reference this operation definition |
version | 0..1 | string | Logical id for this version of the operation definition | |
name | S | 1..1 | string | Informal name for this operation |
status | ?!S | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
kind | S | 1..1 | code | operation | query Binding: OperationKind (required) |
experimental | 0..1 | boolean | If for testing purposes, not real usage | |
date | 0..1 | dateTime | Date for this version of the operation definition | |
publisher | ∑ | 0..1 | string | Name of the publisher (Organization or individual) |
contact | ∑ | 0..* | BackboneElement | Contact details of the publisher |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of an individual to contact |
telecom | ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
description | S | 0..1 | markdown | Natural language description of the operation |
useContext | ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
requirements | 0..1 | markdown | Why this resource has been created | |
idempotent | 0..1 | boolean | Whether content is unchanged by the operation | |
code | S | 1..1 | code | Name used to invoke the operation |
comment | S | 0..1 | string | Additional information about use |
base | S | 0..1 | Reference(OperationDefinition) | Marks this as a profile of the base |
system | S | 1..1 | boolean | Invoke at the system level? |
type | 0..* | code | Invoke at resource level for these type Binding: ResourceType (required) | |
instance | S | 1..1 | boolean | Invoke on an instance? |
parameter | SI | 0..* | BackboneElement | Parameters for the operation/query opd-1: Either a type must be provided, or parts opd-2: A search type can only be specified for parameters of type string |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
name | S | 1..1 | code | Name in Parameters.parameter.name or in URL |
use | S | 1..1 | code | in | out Binding: OperationParameterUse (required) |
min | S | 1..1 | integer | Minimum Cardinality |
max | S | 1..1 | string | Maximum Cardinality (a number or *) |
documentation | S | 0..1 | string | Description of meaning/use |
type | SI | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required) |
searchType | I | 0..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required) |
profile | 0..1 | Reference(StructureDefinition) | Profile on the type | |
binding | 0..1 | BackboneElement | ValueSet details if this is coded | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
strength | 1..1 | code | required | extensible | preferred | example Binding: BindingStrength (required) | |
valueSet[x] | 1..1 | uri, Reference(ValueSet) | Source of value set | |
part | I | 0..* | Unknown reference to #OperationDefinition:dafoperationdefinition.parameter Parts of a nested Parameter | |
Documentation for this format |
XML Template
yet to be done: Xml template
JSON Template
yet to be done: Json template
Path | Name | Conformance | ValueSet |
OperationDefinition.language | Common Languages | extensible | Common Languages |
OperationDefinition.status | ConformanceResourceStatus | required | ConformanceResourceStatus |
OperationDefinition.kind | OperationKind | required | OperationKind |
OperationDefinition.useContext | Context of Use ValueSet | extensible | Context of Use ValueSet |
OperationDefinition.type | ResourceType | required | ResourceType |
OperationDefinition.parameter.use | OperationParameterUse | required | OperationParameterUse |
OperationDefinition.parameter.type | FHIRAllTypes | required | FHIRAllTypes |
OperationDefinition.parameter.searchType | SearchParamType | required | SearchParamType |
OperationDefinition.parameter.binding.strength | BindingStrength | required | BindingStrength |
Id | Path | Details | Requirements |
dom-2 | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources XPath: not(parent::f:contained and f:contained) | |
dom-1 | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative XPath: not(parent::f:contained and f:text) | |
dom-4 | OperationDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated)) | |
dom-3 | OperationDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))])) | |
ele-1 | OperationDefinition.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | OperationDefinition.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | OperationDefinition.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | OperationDefinition.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | OperationDefinition.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | OperationDefinition.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
opd-1 | OperationDefinition.parameter | Either a type must be provided, or parts XPath: exists(f:type) or exists(f:part) | |
opd-2 | OperationDefinition.parameter | A search type can only be specified for parameters of type string XPath: not(exists(f:searchType)) or (f:type/@value = 'string') |