mastering bridging
This commit is contained in:
29
internal/constant/const.go
Normal file
29
internal/constant/const.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
AllergyIntoleranceResourceType = "AllergyIntolerance"
|
||||
ClinicalImpressionResourceType = "ClinicalImpression"
|
||||
ServiceRequestResourceType = "ServiceRequest"
|
||||
EpisodeOfCareResourceType = "EpisodeOfCare"
|
||||
SpecimenResourceType = "Specimen"
|
||||
DiagnosticReportResourceType = "DiagnosticReport"
|
||||
ObservationResourceType = "Observation"
|
||||
OrganizationResourceType = "Organization"
|
||||
CarePlanResourceType = "CarePlan"
|
||||
QuestionnaireResponseResourceType = "QuestionnaireResponse"
|
||||
MedicationStatementResourceType = "MedicationStatement"
|
||||
ImmunizationResourceType = "Immunization"
|
||||
ImagingStudyResourceType = "ImagingStudy"
|
||||
MedicationRequestResourceType = "MedicationRequest"
|
||||
MedicationDispenseResourceType = "MedicationDispense"
|
||||
ProcedureResourceType = "Procedure"
|
||||
GoalResourceType = "Goal"
|
||||
PatientResourceType = "Patient"
|
||||
EncounterResourceType = "Encounter"
|
||||
)
|
||||
|
||||
const (
|
||||
ContentTypeFHIRJSON = "application/fhir+json"
|
||||
PatientProfile = "https://fhir.kemkes.go.id/r4/StructureDefinition/Patient"
|
||||
FHIRMedicationProfile = "https://fhir.kemkes.go.id/r4/StructureDefinition/Medication"
|
||||
)
|
||||
5
internal/constant/error.go
Normal file
5
internal/constant/error.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
ErrGenerateToken = "failed to generate access token"
|
||||
)
|
||||
Reference in New Issue
Block a user