Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling of Bundle with PATCH is not aligning with example #222

Closed
JohnMoehrke opened this issue Feb 29, 2024 · 3 comments
Closed

Profiling of Bundle with PATCH is not aligning with example #222

JohnMoehrke opened this issue Feb 29, 2024 · 3 comments

Comments

@JohnMoehrke
Copy link
Contributor

== fsh-generated\resources\Parameters-ex-patchParameters.json ==
ERROR: Parameters/ex-patchParameters: Parameters.parameter[0].part[0].name: Value is 'type' but must be 'operation'
ERROR: Parameters/ex-patchParameters: Parameters.parameter[0].part[1].name: Value is 'path' but must be 'operation'
ERROR: Parameters/ex-patchParameters: Parameters.parameter[0].part[2].name: Value is 'value' but must be 'operation'

== fsh-generated\resources\Bundle-ex-comprehensiveProvideDocumentBundleReplace.json ==
ERROR: Bundle/ex-comprehensiveProvideDocumentBundleReplace: Bundle.entry[1]: This element does not match any known slice defined in the profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle|4.2.2-current and slicing is CLOSED: Bundle.entry[1]: Does not match slice 'SubmissionSet' (discriminator: resource.conformsTo('https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet') and request.method.where(value = 'POST').exists()), Bundle.entry[1]: Details for Bundle matching against profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet|4.2.2-current, Bundle.entry[1]: Does not match slice 'DocumentRefs' (discriminator: resource.conformsTo('https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference') and request.method.where(value = 'POST').exists()), Bundle.entry[1]: Details for Bundle matching against profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference|4.2.2-current, Bundle.entry[1]: Does not match slice 'UpdateDocumentRefs' (discriminator: resource.conformsTo('https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Patch.Parameters') and request.method.where(value = 'PATCH').exists()), Bundle.entry[1]: Details for Bundle matching against profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Patch.Parameters|4.2.2-current, Bundle.entry[1]: Does not match slice 'Documents' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Binary') and (request.method memberOf 'http://hl7.org/fhir/ValueSet/http-verb|4.0.1')), Bundle.entry[1]: Details for Bundle matching against profile http://hl7.org/fhir/StructureDefinition/Binary|4.0.1, Bundle.entry[1]: Does not match slice 'FhirDocuments' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Bundle') and request.method.where(value = 'POST').exists()), Bundle.entry[1]: Details for Bundle matching against profile http://hl7.org/fhir/StructureDefinition/Bundle|4.0.1, Bundle.entry[1]: Does not match slice 'Folders' (discriminator: resource.conformsTo('https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder') and (request.method memberOf 'https://profiles.ihe.net/ITI/MHD/ValueSet/MHDprovideFolderActions')), Bundle.entry[1]: Details for Bundle matching against profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder|4.2.2-current, Bundle.entry[1]: Does not match slice 'Patient' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Patient') and (request.method memberOf 'https://profiles.ihe.net/ITI/MHD/ValueSet/MHDprovidePatientActions')), Bundle.entry[1]: Details for Bundle matching against profile http://hl7.org/fhir/StructureDefinition/Patient|4.0.1
ERROR: Bundle/ex-comprehensiveProvideDocumentBundleReplace: Bundle.entry[1].resource.parameter[0].part[0].name: Value is 'type' but must be 'operation'
ERROR: Bundle/ex-comprehensiveProvideDocumentBundleReplace: Bundle.entry[1].resource.parameter[0].part[1].name: Value is 'path' but must be 'operation'
ERROR: Bundle/ex-comprehensiveProvideDocumentBundleReplace: Bundle.entry[1].resource.parameter[0].part[2].name: Value is 'value' but must be 'operation'

@JohnMoehrke
Copy link
Contributor Author

@oliveregger can you look at this?

@JohnMoehrke
Copy link
Contributor Author

is the PatchParameters (documentReference.fsh) not defined right?

@JohnMoehrke
Copy link
Contributor Author

@oliveregger this ERROR will prevent us from publishing. I would rather remove the ability to use patch, than leave these errors in the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant