Skip to content

Commit

Permalink
type Party is Versionable, not just Locatable (#99 SPECITS-70)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-iancu committed Dec 4, 2023
1 parent 72e1148 commit b9d7a27
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion specifications/schemas/demographic/Party.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: PARTY
type: object
allOf:
- $ref: ../common/Locatable.yaml
- $ref: ../common/Versionable.yaml
properties:
details:
$ref: ../data_structures/UItemStructure.yaml
Expand Down
21 changes: 21 additions & 0 deletions specifications/schemas/demographic/VersionedParty.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
title: VERSIONED_PARTY
description: A VERSIONED_PARTY resource
type: object
allOf:
- $ref: ../common/VersionedObject.yaml
properties:
_type:
type: string
default: VERSIONED_PARTY
x-discriminator-value: VERSIONED_PARTY
example:
uid:
value: 8849182c-82ad-4088-a07f-48ead4180515
owner_id:
id:
_type: HIER_OBJECT_ID
value: 7d44b88c-4199-4bad-97dc-d78268e01398
namespace: local
type: EHR
time_created:
value: '2015-01-20T19:30:22.765+01:00'

0 comments on commit b9d7a27

Please sign in to comment.