Skip to content

Commit

Permalink
Merge pull request #9 from BBMRI-cz/CI_pipeline
Browse files Browse the repository at this point in the history
add specimen reference to observation
  • Loading branch information
SimonKonar authored Oct 14, 2024
2 parents 5fdca16 + 4e37f74 commit a820ebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions MiabisOnFHIR/input/fsh/instances/observationInstance.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Description: "Example instance of an Observation"

* effectiveDateTime = "2020-01-01"
* subject = Reference(Patient/donorId)
* specimen = Reference(Sample/sampleId)
* status = #final
* code.coding[+].system = "http://loinc.org"
* code.coding[=].code = #52797-8
3 changes: 3 additions & 0 deletions MiabisOnFHIR/input/fsh/profiles/observation.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Description: "Observation containing ICD-10 code of diagnosis"
* subject 1..1 MS
* subject ^short = "Subject (donor) that the observation is about."
* subject ^definition = "Subject (donor) that the observation is about."
* specimen only Reference(Sample)
* specimen 1..1 MS
* specimen ^short = "Specimen used for this observation"
* value[x] from DiagnosisVS
* value[x] 1..1 MS
* value[x] ^short = "Diagnosis code"
Expand Down

0 comments on commit a820ebb

Please sign in to comment.