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

POST / PUT for StructureMap should return HTTP error code 404 instead of 200 in deployment mode #133

Closed
oliveregger opened this issue Sep 14, 2023 · 0 comments

Comments

@oliveregger
Copy link
Member

@host = https://test.ahdis.ch/matchboxv3/fhir

POST {{host}}/StructureMap HTTP/1.1
Accept: application/fhir+xml
Content-Type: text/fhir-mapping

map "http://ahdis.ch/matchbox/fml/qr2patgender" = "qr2patgender"
uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source
uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target
group QuestionnaireResponse(source src : QuestionnaireResponse, target tgt : Patient) {
src.item as item -> tgt as patient then item(item, patient);
}
group item(source src, target tgt: Patient) {
src.item as item where linkId.value in ('patient.sex') -> tgt.gender = (item.answer.valueString);
}

--> for matchboxv3 this should return HTTP error code 404 instead of 200 in deployment

we should also adjust the capabiltiy statement

oliveregger added a commit that referenced this issue Sep 20, 2023
oliveregger added a commit that referenced this issue Sep 20, 2023
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

No branches or pull requests

1 participant