Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Handle import of additional resources #539

Open
elsiehoffet-94 opened this issue Aug 2, 2021 · 0 comments
Open

Handle import of additional resources #539

elsiehoffet-94 opened this issue Aug 2, 2021 · 0 comments

Comments

@elsiehoffet-94
Copy link
Contributor

Description

I wanted to import additional ressources with my mapping to Pyrog (old) on staging, and I got this error :

{ "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Unknown resource type 'upload-bundle' - Server knows how to handle: [Appointment, Account, Invoice, CatalogEntry, EventDefinition, DocumentManifest, MessageDefinition, Goal, MedicinalProductPackaged, Endpoint, EnrollmentRequest, Consent, CapabilityStatement, Measure, Medication, ResearchSubject, Subscription, DocumentReference, GraphDefinition, Parameters, CoverageEligibilityResponse, MeasureReport, PractitionerRole, SubstanceReferenceInformation, RelatedPerson, ServiceRequest, SupplyRequest, Practitioner, VerificationResult, SubstanceProtein, BodyStructure, Slot, Contract, Person, RiskAssessment, Group, PaymentNotice, ResearchDefinition, MedicinalProductManufactured, Organization, CareTeam, ImplementationGuide, ImagingStudy, FamilyMemberHistory, ChargeItem, ResearchElementDefinition, ObservationDefinition, Encounter, Substance, SubstanceSpecification, SearchParameter, ActivityDefinition, Communication, InsurancePlan, Linkage, SubstanceSourceMaterial, ImmunizationEvaluation, DeviceUseStatement, RequestGroup, DeviceRequest, MessageHeader, ImmunizationRecommendation, Provenance, Task, Questionnaire, ExplanationOfBenefit, MedicinalProductPharmaceutical, ResearchStudy, Specimen, AllergyIntolerance, CarePlan, StructureDefinition, ChargeItemDefinition, EpisodeOfCare, OperationOutcome, Procedure, List, ConceptMap, OperationDefinition, ValueSet, Immunization, MedicationRequest, EffectEvidenceSynthesis, BiologicallyDerivedProduct, Device, VisionPrescription, Media, MedicinalProductContraindication, EvidenceVariable, MolecularSequence, MedicinalProduct, DeviceMetric, CodeSystem, Flag, SubstanceNucleicAcid, RiskEvidenceSynthesis, AppointmentResponse, StructureMap, AdverseEvent, GuidanceResponse, Observation, MedicationAdministration, EnrollmentResponse, Binary, Library, MedicinalProductInteraction, MedicationStatement, CommunicationRequest, TestScript, Basic, SubstancePolymer, TestReport, ClaimResponse, MedicationDispense, DiagnosticReport, OrganizationAffiliation, HealthcareService, MedicinalProductIndication, NutritionOrder, TerminologyCapabilities, Evidence, AuditEvent, PaymentReconciliation, Condition, SpecimenDefinition, Composition, DetectedIssue, Bundle, CompartmentDefinition, MedicationKnowledge, MedicinalProductIngredient, Patient, Coverage, QuestionnaireResponse, CoverageEligibilityRequest, NamingSystem, MedicinalProductUndesirableEffect, ExampleScenario, Schedule, SupplyDelivery, ClinicalImpression, DeviceDefinition, PlanDefinition, MedicinalProductAuthorization, Claim, Location]</pre></td>\n\t\t\t</tr>\n\t\t</table>\n\t</div>" }, "issue": [ { "severity": "error", "code": "processing", "diagnostics": "Unknown resource type 'upload-bundle' - Server knows how to handle: [Appointment, Account, Invoice, CatalogEntry, EventDefinition, DocumentManifest, MessageDefinition, Goal, MedicinalProductPackaged, Endpoint, EnrollmentRequest, Consent, CapabilityStatement, Measure, Medication, ResearchSubject, Subscription, DocumentReference, GraphDefinition, Parameters, CoverageEligibilityResponse, MeasureReport, PractitionerRole, SubstanceReferenceInformation, RelatedPerson, ServiceRequest, SupplyRequest, Practitioner, VerificationResult, SubstanceProtein, BodyStructure, Slot, Contract, Person, RiskAssessment, Group, PaymentNotice, ResearchDefinition, MedicinalProductManufactured, Organization, CareTeam, ImplementationGuide, ImagingStudy, FamilyMemberHistory, ChargeItem, ResearchElementDefinition, ObservationDefinition, Encounter, Substance, SubstanceSpecification, SearchParameter, ActivityDefinition, Communication, InsurancePlan, Linkage, SubstanceSourceMaterial, ImmunizationEvaluation, DeviceUseStatement, RequestGroup, DeviceRequest, MessageHeader, ImmunizationRecommendation, Provenance, Task, Questionnaire, ExplanationOfBenefit, MedicinalProductPharmaceutical, ResearchStudy, Specimen, AllergyIntolerance, CarePlan, StructureDefinition, ChargeItemDefinition, EpisodeOfCare, OperationOutcome, Procedure, List, ConceptMap, OperationDefinition, ValueSet, Immunization, MedicationRequest, EffectEvidenceSynthesis, BiologicallyDerivedProduct, Device, VisionPrescription, Media, MedicinalProductContraindication, EvidenceVariable, MolecularSequence, MedicinalProduct, DeviceMetric, CodeSystem, Flag, SubstanceNucleicAcid, RiskEvidenceSynthesis, AppointmentResponse, StructureMap, AdverseEvent, GuidanceResponse, Observation, MedicationAdministration, EnrollmentResponse, Binary, Library, MedicinalProductInteraction, MedicationStatement, CommunicationRequest, TestScript, Basic, SubstancePolymer, TestReport, ClaimResponse, MedicationDispense, DiagnosticReport, OrganizationAffiliation, HealthcareService, MedicinalProductIndication, NutritionOrder, TerminologyCapabilities, Evidence, AuditEvent, PaymentReconciliation, Condition, SpecimenDefinition, Composition, DetectedIssue, Bundle, CompartmentDefinition, MedicationKnowledge, MedicinalProductIngredient, Patient, Coverage, QuestionnaireResponse, CoverageEligibilityRequest, NamingSystem, MedicinalProductUndesirableEffect, ExampleScenario, Schedule, SupplyDelivery, ClinicalImpression, DeviceDefinition, PlanDefinition, MedicinalProductAuthorization, Claim, Location]" } ] }

Reproduction

  1. Download this mapping https://github.com/arkhn/ops-chimio-ap/tree/main/mappings (Chimio_APHP_mapping_20012021.json and Chimio_APHP_additional_resources_20012021.json)
  2. Import it to Pyrog
  3. Add small_mimic database credentials (otherwise I can't add a mapping)
  4. Break pyrog 😢
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant