Skip to content

Commit

Permalink
feat: add specimen reference to observation
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKonar committed Oct 14, 2024
1 parent 018dd12 commit 4e37f74
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 4e37f74

Please sign in to comment.