Skip to content

Commit 3efb97d

Browse files
regenerate docs (codegen and SPECITS-66)
1 parent 062886c commit 3efb97d

12 files changed

Lines changed: 182 additions & 95 deletions

computable/OAS/definition-codegen.openapi.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ info:
192192
193193
### Status
194194
195-
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in yaml format) [for validation](computable/OAS/definition-validation.openapi.yaml), or [for code generators](computable/OAS/definition-codegen.openapi.yaml).
195+
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in YAML format) [for validation](computable/OAS/definition-validation.openapi.yaml), or [for code generators](computable/OAS/definition-codegen.openapi.yaml).
196196
Users are encouraged to comment on and/or advise on these paragraphs as well as the main content.
197197
198198
The development version of this document can be found at <https://specifications.openehr.org/releases/ITS-REST/latest/definition.html>.
@@ -538,31 +538,27 @@ tags:
538538
- name: TemplateList_schema
539539
x-displayName: Template list
540540
description: |
541-
This represents a list of Template meta information associated with uploaded templates.
541+
This resource represents the list of `Template` meta-information associated with uploaded templates - see also [Service Model - Definition Package](https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_definition_package).
542542
543543
<SchemaDefinition schemaRef="#/components/schemas/TemplateList" />
544544
- name: Template_schema
545545
x-displayName: Template
546546
description: |
547-
This is related to [AOM and ADL 1.4](https://specifications.openehr.org/releases/AM/latest) Operational Templates (OPTs) and [AOM2](https://specifications.openehr.org/releases/AM/latest/AOM2.html#_templates) templates.
548-
549-
## AOM/ADL 1.4 OPERATIONAL_TEMPLATE
547+
The following resources are formally specified in the [Archetype Model](https://specifications.openehr.org/releases/AM/latest) as AOM/ADL 1.4 Operational Templates (OPTs) and as [AOM2 templates](https://specifications.openehr.org/releases/AM/latest/AOM2.html#_templates).
548+
<div class="mb-5"></div>
550549
550+
The AOM/ADL 1.4 `OPERATIONAL_TEMPLATE` resource:
551551
<SchemaDefinition schemaRef="#/components/schemas/OperationalTemplate" />
552552
553-
## AOM/ADL 2 OPERATIONAL_TEMPLATE
554-
553+
The AOM/ADL 2 `OPERATIONAL_TEMPLATE` resource:
555554
<SchemaDefinition schemaRef="#/components/schemas/OperationalTemplateV2" />
556555
557-
## Web Template
558-
556+
The `WebTemplate` alternative resource:
559557
<SchemaDefinition schemaRef="#/components/schemas/WebTemplate" />
560558
- name: StoredQuery_schema
561559
x-displayName: Stored Query
562560
description: |
563-
The following schemas are also related to [AQL queries](https://specifications.openehr.org/releases/QUERY/latest/AQL.html).
564-
565-
### Stored Query schema
561+
This resource represents the definition of a stored Query and is formally specified in the Service Model as [Registered Queries](https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_registered_queries).
566562
567563
<SchemaDefinition schemaRef="#/components/schemas/StoredQuery" />
568564
x-tagGroups:

computable/OAS/definition-validation.openapi.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ info:
192192
193193
### Status
194194
195-
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in yaml format) [for validation](computable/OAS/definition-validation.openapi.yaml), or [for code generators](computable/OAS/definition-codegen.openapi.yaml).
195+
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in YAML format) [for validation](computable/OAS/definition-validation.openapi.yaml), or [for code generators](computable/OAS/definition-codegen.openapi.yaml).
196196
Users are encouraged to comment on and/or advise on these paragraphs as well as the main content.
197197
198198
The development version of this document can be found at <https://specifications.openehr.org/releases/ITS-REST/latest/definition.html>.
@@ -538,31 +538,27 @@ tags:
538538
- name: TemplateList_schema
539539
x-displayName: Template list
540540
description: |
541-
This represents a list of Template meta information associated with uploaded templates.
541+
This resource represents the list of `Template` meta-information associated with uploaded templates - see also [Service Model - Definition Package](https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_definition_package).
542542
543543
<SchemaDefinition schemaRef="#/components/schemas/TemplateList" />
544544
- name: Template_schema
545545
x-displayName: Template
546546
description: |
547-
This is related to [AOM and ADL 1.4](https://specifications.openehr.org/releases/AM/latest) Operational Templates (OPTs) and [AOM2](https://specifications.openehr.org/releases/AM/latest/AOM2.html#_templates) templates.
548-
549-
## AOM/ADL 1.4 OPERATIONAL_TEMPLATE
547+
The following resources are formally specified in the [Archetype Model](https://specifications.openehr.org/releases/AM/latest) as AOM/ADL 1.4 Operational Templates (OPTs) and as [AOM2 templates](https://specifications.openehr.org/releases/AM/latest/AOM2.html#_templates).
548+
<div class="mb-5"></div>
550549
550+
The AOM/ADL 1.4 `OPERATIONAL_TEMPLATE` resource:
551551
<SchemaDefinition schemaRef="#/components/schemas/OperationalTemplate" />
552552
553-
## AOM/ADL 2 OPERATIONAL_TEMPLATE
554-
553+
The AOM/ADL 2 `OPERATIONAL_TEMPLATE` resource:
555554
<SchemaDefinition schemaRef="#/components/schemas/OperationalTemplateV2" />
556555
557-
## Web Template
558-
556+
The `WebTemplate` alternative resource:
559557
<SchemaDefinition schemaRef="#/components/schemas/WebTemplate" />
560558
- name: StoredQuery_schema
561559
x-displayName: Stored Query
562560
description: |
563-
The following schemas are also related to [AQL queries](https://specifications.openehr.org/releases/QUERY/latest/AQL.html).
564-
565-
### Stored Query schema
561+
This resource represents the definition of a stored Query and is formally specified in the Service Model as [Registered Queries](https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_registered_queries).
566562
567563
<SchemaDefinition schemaRef="#/components/schemas/StoredQuery" />
568564
x-tagGroups:

computable/OAS/ehr-codegen.openapi.yaml

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ info:
202202
203203
### Status
204204
205-
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in yaml format) [for validation](computable/OAS/ehr-validation.openapi.yaml), or [for code generators](computable/OAS/ehr-codegen.openapi.yaml).
205+
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in YAML format) [for validation](computable/OAS/ehr-validation.openapi.yaml), or [for code generators](computable/OAS/ehr-codegen.openapi.yaml).
206206
Users are encouraged to comment on and/or advise on these paragraphs as well as the main content.
207207
208208
The development version of this document can be found at <https://specifications.openehr.org/releases/ITS-REST/latest/ehr.html>.
@@ -838,40 +838,53 @@ tags:
838838
- name: EHR_schema
839839
x-displayName: EHR
840840
description: |
841-
This is related to [EHR](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_class).
841+
This resource is formally specified in Reference Model as the [EHR](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_class) class.
842842
843843
<SchemaDefinition schemaRef="#/components/schemas/Ehr" />
844844
- name: EHR_STATUS_schema
845845
x-displayName: EHR_STATUS
846846
description: |
847-
This is related to [EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_status_class) and [VERSIONED_EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_ehr_status_class).
847+
The following resources are formally specified in the Reference Model as [EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_status_class) and [VERSIONED_EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_ehr_status_class) classes.
848+
<div class="mb-5"></div>
848849
850+
The `EHR_STATUS` resource:
849851
<SchemaDefinition schemaRef="#/components/schemas/EhrStatus" />
852+
853+
The `VERSIONED_EHR_STATUS` resource:
850854
<SchemaDefinition schemaRef="#/components/schemas/VersionedEhrStatus" />
851855
- name: COMPOSITION_schema
852856
x-displayName: COMPOSITION
853857
description: |
854-
This is related to [COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_composition_class) and [VERSIONED_COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_composition_class).
858+
The following resources are formally specified in the Reference Model as [COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_composition_class) and [VERSIONED_COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_composition_class) classes.
859+
<div class="mb-5"></div>
855860
861+
The `COMPOSITION` resource:
856862
<SchemaDefinition schemaRef="#/components/schemas/Composition" />
863+
864+
The abstract `CONTENT_ITEM` class, used in `COMPOSITION`:
865+
<SchemaDefinition schemaRef="#/components/schemas/ContentItem" />
866+
867+
The abstract `ITEM_STRUCTURE` class, used in `CONTENT_ITEM`:
868+
<SchemaDefinition schemaRef="#/components/schemas/ItemStructure" />
869+
870+
The `VERSIONED_COMPOSITION` resource:
857871
<SchemaDefinition schemaRef="#/components/schemas/VersionedComposition" />
858872
- name: DIRECTORY_schema
859873
x-displayName: DIRECTORY
860874
description: |
861-
This is related to [directory](https://specifications.openehr.org/releases/RM/latest/ehr.html#_directory) [FOLDER](https://specifications.openehr.org/releases/RM/latest/common.html#_folder_class).
875+
This resource is formally specified in Reference Model in the [directory](https://specifications.openehr.org/releases/RM/latest/ehr.html#_directory) section, using [FOLDER](https://specifications.openehr.org/releases/RM/latest/common.html#_folder_class) class.
862876
863877
<SchemaDefinition schemaRef="#/components/schemas/Folder" />
864-
- name: ITEM_STRUCTURE_schema
865-
x-displayName: ITEM_STRUCTURE
866-
description: |
867-
This is related to [ITEM_STRUCTURE](https://specifications.openehr.org/releases/RM/latest/data_structures.html#_item_structure_class).
868-
869-
<SchemaDefinition schemaRef="#/components/schemas/ItemStructure" />
870878
- name: CONTRIBUTION_schema
871879
x-displayName: CONTRIBUTION
872880
description: |
873-
This is related to [CONTRIBUTION](https://specifications.openehr.org/releases/RM/latest/common.html#_contribution_class).
881+
The following resources are formally specified in the Reference Model as the [CONTRIBUTION](https://specifications.openehr.org/releases/RM/latest/common.html#_contribution_class) class.
882+
<div class="mb-5"></div>
883+
884+
A new `CONTRIBUTION` to be committed:
885+
<SchemaDefinition schemaRef="#/components/schemas/NewContribution" />
874886
887+
A retrieved `CONTRIBUTION`:
875888
<SchemaDefinition schemaRef="#/components/schemas/Contribution" />
876889
x-tagGroups:
877890
- name: Resource endpoints
@@ -887,7 +900,6 @@ x-tagGroups:
887900
- EHR_STATUS_schema
888901
- COMPOSITION_schema
889902
- DIRECTORY_schema
890-
- ITEM_STRUCTURE_schema
891903
- CONTRIBUTION_schema
892904
components:
893905
schemas:
@@ -2185,7 +2197,9 @@ components:
21852197
discriminator:
21862198
propertyName: _type
21872199
mapping:
2200+
ENTRY: '#/components/schemas/AbstractEntry'
21882201
ADMIN_ENTRY: '#/components/schemas/AdminEntry'
2202+
CARE_ENTRY: '#/components/schemas/CareEntry'
21892203
OBSERVATION: '#/components/schemas/Observation'
21902204
EVALUATION: '#/components/schemas/Evaluation'
21912205
INSTRUCTION: '#/components/schemas/Instruction'
@@ -2218,6 +2232,7 @@ components:
22182232
propertyName: _type
22192233
mapping:
22202234
ADMIN_ENTRY: '#/components/schemas/AdminEntry'
2235+
CARE_ENTRY: '#/components/schemas/CareEntry'
22212236
OBSERVATION: '#/components/schemas/Observation'
22222237
EVALUATION: '#/components/schemas/Evaluation'
22232238
INSTRUCTION: '#/components/schemas/Instruction'

computable/OAS/ehr-validation.openapi.yaml

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ info:
202202
203203
### Status
204204
205-
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in yaml format) [for validation](computable/OAS/ehr-validation.openapi.yaml), or [for code generators](computable/OAS/ehr-codegen.openapi.yaml).
205+
This specification is in the `STABLE` state, and can be downloaded as [OpenAPI specification](https://spec.openapis.org/oas/v3.0.3) file (in YAML format) [for validation](computable/OAS/ehr-validation.openapi.yaml), or [for code generators](computable/OAS/ehr-codegen.openapi.yaml).
206206
Users are encouraged to comment on and/or advise on these paragraphs as well as the main content.
207207
208208
The development version of this document can be found at <https://specifications.openehr.org/releases/ITS-REST/latest/ehr.html>.
@@ -838,40 +838,53 @@ tags:
838838
- name: EHR_schema
839839
x-displayName: EHR
840840
description: |
841-
This is related to [EHR](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_class).
841+
This resource is formally specified in Reference Model as the [EHR](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_class) class.
842842
843843
<SchemaDefinition schemaRef="#/components/schemas/Ehr" />
844844
- name: EHR_STATUS_schema
845845
x-displayName: EHR_STATUS
846846
description: |
847-
This is related to [EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_status_class) and [VERSIONED_EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_ehr_status_class).
847+
The following resources are formally specified in the Reference Model as [EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_ehr_status_class) and [VERSIONED_EHR_STATUS](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_ehr_status_class) classes.
848+
<div class="mb-5"></div>
848849
850+
The `EHR_STATUS` resource:
849851
<SchemaDefinition schemaRef="#/components/schemas/EhrStatus" />
852+
853+
The `VERSIONED_EHR_STATUS` resource:
850854
<SchemaDefinition schemaRef="#/components/schemas/VersionedEhrStatus" />
851855
- name: COMPOSITION_schema
852856
x-displayName: COMPOSITION
853857
description: |
854-
This is related to [COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_composition_class) and [VERSIONED_COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_composition_class).
858+
The following resources are formally specified in the Reference Model as [COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_composition_class) and [VERSIONED_COMPOSITION](https://specifications.openehr.org/releases/RM/latest/ehr.html#_versioned_composition_class) classes.
859+
<div class="mb-5"></div>
855860
861+
The `COMPOSITION` resource:
856862
<SchemaDefinition schemaRef="#/components/schemas/Composition" />
863+
864+
The abstract `CONTENT_ITEM` class, used in `COMPOSITION`:
865+
<SchemaDefinition schemaRef="#/components/schemas/UContentItem" />
866+
867+
The abstract `ITEM_STRUCTURE` class, used in `CONTENT_ITEM`:
868+
<SchemaDefinition schemaRef="#/components/schemas/UItemStructure" />
869+
870+
The `VERSIONED_COMPOSITION` resource:
857871
<SchemaDefinition schemaRef="#/components/schemas/VersionedComposition" />
858872
- name: DIRECTORY_schema
859873
x-displayName: DIRECTORY
860874
description: |
861-
This is related to [directory](https://specifications.openehr.org/releases/RM/latest/ehr.html#_directory) [FOLDER](https://specifications.openehr.org/releases/RM/latest/common.html#_folder_class).
875+
This resource is formally specified in Reference Model in the [directory](https://specifications.openehr.org/releases/RM/latest/ehr.html#_directory) section, using [FOLDER](https://specifications.openehr.org/releases/RM/latest/common.html#_folder_class) class.
862876
863877
<SchemaDefinition schemaRef="#/components/schemas/Folder" />
864-
- name: ITEM_STRUCTURE_schema
865-
x-displayName: ITEM_STRUCTURE
866-
description: |
867-
This is related to [ITEM_STRUCTURE](https://specifications.openehr.org/releases/RM/latest/data_structures.html#_item_structure_class).
868-
869-
<SchemaDefinition schemaRef="#/components/schemas/UItemStructure" />
870878
- name: CONTRIBUTION_schema
871879
x-displayName: CONTRIBUTION
872880
description: |
873-
This is related to [CONTRIBUTION](https://specifications.openehr.org/releases/RM/latest/common.html#_contribution_class).
881+
The following resources are formally specified in the Reference Model as the [CONTRIBUTION](https://specifications.openehr.org/releases/RM/latest/common.html#_contribution_class) class.
882+
<div class="mb-5"></div>
883+
884+
A new `CONTRIBUTION` to be committed:
885+
<SchemaDefinition schemaRef="#/components/schemas/NewContribution" />
874886
887+
A retrieved `CONTRIBUTION`:
875888
<SchemaDefinition schemaRef="#/components/schemas/Contribution" />
876889
x-tagGroups:
877890
- name: Resource endpoints
@@ -887,13 +900,15 @@ x-tagGroups:
887900
- EHR_STATUS_schema
888901
- COMPOSITION_schema
889902
- DIRECTORY_schema
890-
- ITEM_STRUCTURE_schema
891903
- CONTRIBUTION_schema
892904
components:
893905
schemas:
894906
UAbstractItemStructure:
895907
title: ITEM_STRUCTURE
896908
type: object
909+
UAbstractContentItem:
910+
title: CONTENT_ITEM
911+
type: object
897912
HierObjectId:
898913
title: HIER_OBJECT_ID
899914
required:

0 commit comments

Comments
 (0)