Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds FHIR infos to graph schema #16

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion schemas/graph/Annotation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,41 @@ additionalProperties: false
description: Text node with attribution. A text note which also contains information
about who made the statement and when. [See https://hl7.org/fhir/R5/Annotation.html]
links:
- href: Patient/{id}
- href: '{id}'
rel: authorReference_Practitioner
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
regex_match:
- Practitioner/*
targetSchema:
$ref: Practitioner.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
- href: '{id}'
rel: authorReference_PractitionerRole
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
regex_match:
- PractitionerRole/*
targetSchema:
$ref: PractitionerRole.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
- href: '{id}'
rel: authorReference_Patient
targetHints:
backref:
Expand All @@ -12,12 +46,31 @@ links:
- outbound
multiplicity:
- has_one
regex_match:
- Patient/*
targetSchema:
$ref: Patient.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
- href: '{id}'
rel: authorReference_Organization
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
regex_match:
- Organization/*
targetSchema:
$ref: Organization.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
properties:
_authorString:
$ref: FHIRPrimitiveExtension.yaml
Expand Down
22 changes: 22 additions & 0 deletions schemas/graph/BodyStructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@ additionalProperties: false
description: Specific and identified anatomical structure. Record details about an
anatomical structure. This resource may be used when a coded concept does not provide
the necessary detail needed for the use case. [See https://hl7.org/fhir/R5/BodyStructure.html]
links:
- href: '{id}'
rel: patient
targetHints:
backref:
- body_structure
direction:
- outbound
multiplicity:
- has_one
regex_match:
- Patient/*
targetSchema:
$ref: Patient.yaml
templatePointers:
id: /patient/reference
templateRequired:
- id
properties:
_active:
$ref: FHIRPrimitiveExtension.yaml
Expand Down Expand Up @@ -115,6 +133,10 @@ properties:
pattern: ^[^\s]+(\s[^\s]+)*$
title: Language of the resource content
type: string
links:
items:
$ref: https://json-schema.org/draft/2020-12/links
type: array
meta:
$ref: Meta.yaml
description: The metadata about the resource. This is content that is maintained
Expand Down
5 changes: 5 additions & 0 deletions schemas/graph/BodyStructureIncludedStructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $id: BodyStructureIncludedStructure
additionalProperties: false
description: Included anatomic location(s). The anatomical location(s) or region(s)
of the specimen, lesion, or body structure. [See https://hl7.org/fhir/R5/BodyStructureIncludedStructure.html]
links: []
properties:
bodyLandmarkOrientation:
description: Body locations in relation to a specific body landmark (tatoo, scar,
Expand Down Expand Up @@ -45,6 +46,10 @@ properties:
binding_version: null
element_property: true
title: Code that represents the included structure laterality
links:
items:
$ref: https://json-schema.org/draft/2020-12/links
type: array
modifierExtension:
description: May be used to represent additional information that is not part
of the basic definition of the element and that modifies the understanding of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $id: BodyStructureIncludedStructureBodyLandmarkOrientation
additionalProperties: false
description: Landmark relative location. Body locations in relation to a specific
body landmark (tatoo, scar, other body structure). [See https://hl7.org/fhir/R5/BodyStructureIncludedStructureBodyLandmarkOrientation.html]
links: []
properties:
clockFacePosition:
binding_description: Select SNOMED CT codes. A set of codes that describe a things
Expand Down Expand Up @@ -63,6 +64,10 @@ properties:
$ref: CodeableConcept.yaml
title: Body ]andmark description
type: array
links:
items:
$ref: https://json-schema.org/draft/2020-12/links
type: array
modifierExtension:
description: May be used to represent additional information that is not part
of the basic definition of the element and that modifies the understanding of
Expand Down
Loading