generated from openhie/empty-fhir-ig-custom
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from jembi/hpv-bundles
hpv-bundles
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 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,42 @@ | ||
Instance: HPVFullBundleExample | ||
InstanceOf: HPVFullBundle | ||
Usage: #example | ||
Title: "HPV Bundle" | ||
Description: "A bundle containing all HPV FHIR resources." | ||
* type = #transaction | ||
* timestamp = "2024-02-18T09:30:00+02:00" | ||
|
||
* entry[Patient][+].fullUrl = "http://hapi-fhir:8080/Patient/HPVImmunizationPatientExample" | ||
* entry[Patient][=].resource = HPVImmunizationPatientExample | ||
* entry[Patient][=].request.method = #PUT | ||
* entry[Patient][=].request.url = "Patient/HPVImmunizationPatientExample" | ||
|
||
* entry[Encounter][+].fullUrl = "http://hapi-fhir:8080/Encounter/HPVTargetFacilityEncounterExample" | ||
* entry[Encounter][=].resource = HPVTargetFacilityEncounterExample | ||
* entry[Encounter][=].request.method = #PUT | ||
* entry[Encounter][=].request.url = "Encounter/HPVTargetFacilityEncounterExample" | ||
|
||
* entry[Guardian][+].fullUrl = "http://hapi-fhir:8080/RelatedPerson/HPVGuardianRelatedPersonExample" | ||
* entry[Guardian][=].resource = HPVGuardianRelatedPersonExample | ||
* entry[Guardian][=].request.method = #PUT | ||
* entry[Guardian][=].request.url = "RelatedPerson/HPVGuardianRelatedPersonExample" | ||
|
||
* entry[Immunocomprommised][+].fullUrl = "http://hapi-fhir:8080/Observation/HPVImmunocomprommisedExample" | ||
* entry[Immunocomprommised][=].resource = HPVImmunocomprommisedExample | ||
* entry[Immunocomprommised][=].request.method = #PUT | ||
* entry[Immunocomprommised][=].request.url = "Observation/HPVImmunocomprommisedExample" | ||
|
||
* entry[Vaccines][+].fullUrl = "http://hapi-fhir:8080/Immunization/HPVImmunizationExample" | ||
* entry[Vaccines][=].resource = HPVImmunizationExample | ||
* entry[Vaccines][=].request.method = #PUT | ||
* entry[Vaccines][=].request.url = "Immunization/HPVImmunizationExample" | ||
|
||
* entry[Medication][+].fullUrl = "http://hapi-fhir:8080/Medication/HPVVaccineExample" | ||
* entry[Medication][=].resource = HPVVaccineExample | ||
* entry[Medication][=].request.method = #PUT | ||
* entry[Medication][=].request.url = "Medication/HPVVaccineExample" | ||
|
||
* entry[SiteType][+].fullUrl = "http://hapi-fhir:8080/Organization/HPVVaccinationSiteTypeExample" | ||
* entry[SiteType][=].resource = HPVVaccinationSiteTypeExample | ||
* entry[SiteType][=].request.method = #PUT | ||
* entry[SiteType][=].request.url = "Organization/HPVVaccinationSiteTypeExample" |
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,34 @@ | ||
Profile: HPVFullBundle | ||
Parent: Bundle | ||
Id: hpv-full-bundle | ||
Title: "HPV Full Bundle" | ||
Description: "This bundle contains all of the HPV resources." | ||
* type 1..1 | ||
* type = #transaction | ||
* timestamp 1..1 | ||
* entry 1..* | ||
* entry ^definition = | ||
"reason(s) why this should be supported." | ||
* entry ^slicing.discriminator[+].type = #type | ||
* entry ^slicing.discriminator[=].path = "resource" | ||
* entry ^slicing.discriminator[+].type = #profile | ||
* entry ^slicing.discriminator[=].path = "resource" | ||
* entry ^slicing.rules = #open | ||
* entry ^slicing.ordered = false | ||
* entry ^slicing.description = "An entry resource included in HPV's full document bundle resource." | ||
* entry contains | ||
Patient 1..1 and | ||
Encounter 1..1 and | ||
Guardian 0..1 MS and | ||
Immunocomprommised 0..1 MS and | ||
Medication 0..1 MS and | ||
Vaccines 1..1 and | ||
SiteType 0..1 MS | ||
|
||
* insert BundleEntry(HPVImmunizationPatient, Patient, reason why this should be supported.) | ||
* insert BundleEntry(TargetFacilityEncounter, Encounter, reason why this should be supported.) | ||
* insert BundleEntry(GuardianRelatedPerson, Guardian, reason why this should be supported.) | ||
* insert BundleEntry(HPVImmunocomprommised, Immunocomprommised, reason why this should be supported.) | ||
* insert BundleEntry(HPVImmunization, Vaccines, reason why this should be supported.) | ||
* insert BundleEntry(HPVVaccine, Medication, reason why this should be supported.) | ||
* insert BundleEntry(HPVVaccinationSiteType, SiteType, reason why this should be supported.) |