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

CapabilityStatement - references to operations #127

Closed
KevinMayfield opened this issue Oct 22, 2018 · 2 comments
Closed

CapabilityStatement - references to operations #127

KevinMayfield opened this issue Oct 22, 2018 · 2 comments

Comments

@KevinMayfield
Copy link

Reference implementation CapabilityStatement (GET /metadata) currently returns:

"operation": [
{
"name": "gpc.getstructuredrecord",
"definition": {
"reference": "OperationDefinition/Patient--gpc.getstructuredrecord"
}
},
{
"name": "gpc.registerpatient",
"definition": {
"reference": "OperationDefinition/Patient--gpc.registerpatient"
}
}
]

The references should be to

https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-RegisterPatient-Operation-1
and
https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1
respectively

@KevinMayfield
Copy link
Author

oops ... the other way around, not respectively

@jonnyry jonnyry added the bug label Oct 22, 2018
@jonnyry
Copy link
Member

jonnyry commented Oct 22, 2018

See example response in the spec:

https://nhsconnect.github.io/gpconnect/foundations_use_case_get_the_fhir_capability_statement.html#payload-response-body

"operation": [
        {
          "name": "gpc.registerpatient",
          "definition": {
            "reference": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-RegisterPatient-Operation-1"
          }
        },
        {
          "name": "gpc.getstructuredrecord",
          "definition": {
            "reference": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1"
          }
        }

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

No branches or pull requests

4 participants