Skip to content
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
45 changes: 45 additions & 0 deletions schemas/graph/Annotation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@ 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: Practitioner/{id}
rel: authorReference_Practitioner
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Practitioner.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
- href: PractitionerRole/{id}
rel: authorReference_PractitionerRole
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: PractitionerRole.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
- href: Patient/{id}
rel: authorReference_Patient
targetHints:
Expand All @@ -18,6 +48,21 @@ links:
id: /authorReference/reference
templateRequired:
- id
- href: Organization/{id}
rel: authorReference_Organization
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Organization.yaml
templatePointers:
id: /authorReference/reference
templateRequired:
- id
properties:
_authorString:
$ref: FHIRPrimitiveExtension.yaml
Expand Down
20 changes: 20 additions & 0 deletions schemas/graph/BodyStructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ 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: Patient/{id}
rel: patient
targetHints:
backref:
- body_structure
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Patient.yaml
templatePointers:
id: /patient/reference
templateRequired:
- id
properties:
_active:
$ref: FHIRPrimitiveExtension.yaml
Expand Down Expand Up @@ -115,6 +131,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
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $id: BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark
additionalProperties: false
description: Landmark relative location. The distance in centimeters a certain observation
is made from a body landmark. [See https://hl7.org/fhir/R5/BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark.html]
links: []
properties:
device:
backref: device_body_structure_included_structure_body_landmark_orientation_distance_from_landmark
Expand Down Expand Up @@ -43,6 +44,10 @@ properties:
pattern: '[ \r\n\t\S]+'
title: Unique id for inter-element referencing
type: string
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
127 changes: 127 additions & 0 deletions schemas/graph/Condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ description: Detailed information about conditions, problems or diagnoses. A cli
condition, problem, diagnosis, or other event, situation, issue, or clinical concept
that has risen to a level of concern. [See https://hl7.org/fhir/R5/Condition.html]
links:
- href: Encounter/{id}
rel: encounter
targetHints:
backref:
- condition
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Encounter.yaml
templatePointers:
id: /encounter/reference
templateRequired:
- id
- href: Patient/{id}
rel: subject_Patient
targetHints:
Expand All @@ -19,6 +34,38 @@ links:
id: /subject/reference
templateRequired:
- id
- $comment: From Annotation/note
href: Practitioner/{id}
rel: note_authorReference_Practitioner
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Practitioner.yaml
templatePointers:
id: /note/-/authorReference/reference
templateRequired:
- id
- $comment: From Annotation/note
href: PractitionerRole/{id}
rel: note_authorReference_PractitionerRole
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: PractitionerRole.yaml
templatePointers:
id: /note/-/authorReference/reference
templateRequired:
- id
- $comment: From Annotation/note
href: Patient/{id}
rel: note_authorReference_Patient
Expand All @@ -35,6 +82,54 @@ links:
id: /note/-/authorReference/reference
templateRequired:
- id
- $comment: From Annotation/note
href: Organization/{id}
rel: note_authorReference_Organization
targetHints:
backref:
- annotation
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Organization.yaml
templatePointers:
id: /note/-/authorReference/reference
templateRequired:
- id
- $comment: From ConditionParticipant/participant
href: Practitioner/{id}
rel: participant_actor_Practitioner
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Practitioner.yaml
templatePointers:
id: /participant/-/actor/reference
templateRequired:
- id
- $comment: From ConditionParticipant/participant
href: PractitionerRole/{id}
rel: participant_actor_PractitionerRole
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: PractitionerRole.yaml
templatePointers:
id: /participant/-/actor/reference
templateRequired:
- id
- $comment: From ConditionParticipant/participant
href: Patient/{id}
rel: participant_actor_Patient
Expand All @@ -51,6 +146,38 @@ links:
id: /participant/-/actor/reference
templateRequired:
- id
- $comment: From ConditionParticipant/participant
href: Organization/{id}
rel: participant_actor_Organization
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Organization.yaml
templatePointers:
id: /participant/-/actor/reference
templateRequired:
- id
- $comment: From ConditionStage/stage
href: DiagnosticReport/{id}
rel: stage_assessment_DiagnosticReport
targetHints:
backref:
- assessment_condition_stage
direction:
- outbound
multiplicity:
- has_many
targetSchema:
$ref: DiagnosticReport.yaml
templatePointers:
id: /stage/-/assessment/-/reference
templateRequired:
- id
- $comment: From ConditionStage/stage
href: Observation/{id}
rel: stage_assessment_Observation
Expand Down
45 changes: 45 additions & 0 deletions schemas/graph/ConditionParticipant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,36 @@ description: Who or what participated in the activities related to the condition
how they were involved. Indicates who or what participated in the activities related
to the condition and how they were involved. [See https://hl7.org/fhir/R5/ConditionParticipant.html]
links:
- href: Practitioner/{id}
rel: actor_Practitioner
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Practitioner.yaml
templatePointers:
id: /actor/reference
templateRequired:
- id
- href: PractitionerRole/{id}
rel: actor_PractitionerRole
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: PractitionerRole.yaml
templatePointers:
id: /actor/reference
templateRequired:
- id
- href: Patient/{id}
rel: actor_Patient
targetHints:
Expand All @@ -19,6 +49,21 @@ links:
id: /actor/reference
templateRequired:
- id
- href: Organization/{id}
rel: actor_Organization
targetHints:
backref:
- condition_participant
direction:
- outbound
multiplicity:
- has_one
targetSchema:
$ref: Organization.yaml
templatePointers:
id: /actor/reference
templateRequired:
- id
properties:
actor:
$ref: Reference.yaml
Expand Down
15 changes: 15 additions & 0 deletions schemas/graph/ConditionStage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ description: Stage/grade, usually assessed formally. A simple summary of the sta
such as cancer, retinopathy of prematurity, kidney diseases, Alzheimer's, or Parkinson
disease. [See https://hl7.org/fhir/R5/ConditionStage.html]
links:
- href: DiagnosticReport/{id}
rel: assessment_DiagnosticReport
targetHints:
backref:
- assessment_condition_stage
direction:
- outbound
multiplicity:
- has_many
targetSchema:
$ref: DiagnosticReport.yaml
templatePointers:
id: /assessment/-/reference
templateRequired:
- id
- href: Observation/{id}
rel: assessment_Observation
targetHints:
Expand Down
Loading