Skip to content

Commit

Permalink
Merge pull request #17 from bmeg/feature/substance-and-group
Browse files Browse the repository at this point in the history
Add SubstanceDefinition and Group
  • Loading branch information
matthewpeterkort authored Dec 4, 2024
2 parents 849c00c + 7f6cfdb commit ac33505
Show file tree
Hide file tree
Showing 89 changed files with 90,667 additions and 18,326 deletions.
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

0 comments on commit ac33505

Please sign in to comment.