-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: get all resources recorded within an encounter
- Loading branch information
1 parent
8cdca53
commit 60f4eb6
Showing
16 changed files
with
2,309 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package dto | ||
|
||
// Consent models a fhir consent resource. | ||
type Consent struct { | ||
ID *string `json:"id,omitempty"` | ||
Status *ConsentStatusEnum `json:"status"` | ||
Provision *ConsentProvision `json:"provision,omitempty"` | ||
Patient *Reference `json:"patient,omitempty"` | ||
} | ||
|
||
// ConsentProvision models a consent provision | ||
type ConsentProvision struct { | ||
ID *string `json:"id,omitempty"` | ||
Type *ConsentProvisionTypeEnum `json:"type,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package dto | ||
|
||
// RiskAssessment ... | ||
type RiskAssessment struct { | ||
ID *string `json:"id,omitempty" mapstructure:"id"` | ||
Subject Reference `json:"subject,omitempty"` | ||
Encounter *Reference `json:"encounter,omitempty"` | ||
Prediction []RiskAssessmentPrediction `json:"prediction,omitempty"` | ||
Note []Annotation `json:"note,omitempty"` | ||
} | ||
|
||
// RiskAssessmentPrediction describes the predicted outcome | ||
type RiskAssessmentPrediction struct { | ||
ID *string `json:"id,omitempty"` | ||
Outcome *CodeableConcept `json:"outcome,omitempty"` | ||
ProbabilityDecimal *float64 `json:"probabilityDecimal,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ enum EncounterStatusEnum { | |
CANCELLED | ||
} | ||
|
||
enum EncounterClass { | ||
enum EncounterClassEnum { | ||
AMBULATORY | ||
} | ||
|
||
|
Oops, something went wrong.