{
"description": null,
"_filename": "example/PlanDefinition-cpg-common-registration.json",
"package_name": "hl7.fhir.uv.cpg",
"date": "2019-05-15",
"publisher": null,
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"name": "PlanDefinition_CPG_Common_Registration",
"copyright": "© WHO 2019+.",
"type": "{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/plan-definition-type\\\", :code \\\"workflow-definition\\\", :display \\\"Workflow Definition\\\"}]}",
"experimental": null,
"resourceType": "PlanDefinition",
"title": "PlanDefinition - CPG Common Registration",
"package_version": "1.0.0",
"status": "draft",
"id": "0d085edc-fbc0-4537-8ad6-9cedd509ad15",
"kind": null,
"url": "http://hl7.org/fhir/uv/cpg/PlanDefinition/cpg-common-registration",
"action": [ {
"code": [ {
"coding": [ {
"code": "registration",
"system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-process"
} ]
} ],
"title": "Registration",
"action": [ {
"title": "Gather identifying information",
"output": [ {
"type": "QuestionnaireResponse"
} ],
"participant": [ {
"role": {
"coding": [ {
"code": "C000",
"system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona"
} ]
},
"type": "patient"
} ],
"definitionCanonical": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity"
}, {
"input": [ {
"type": "QuestionnaireResponse",
"codeFilter": [ {
"code": [ {
"code": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity",
"system": "urn:ietf:rfc:3986"
} ],
"path": "questionnaire"
} ]
} ],
"title": "Patient match",
"output": [ {
"type": "Bundle"
} ],
"participant": [ {
"type": "device",
"extension": [ {
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement",
"valueCanonical": "http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"
} ]
} ],
"definitionUri": "http://hl7.org/fhir/OperationDefinition/Patient-match"
}, {
"input": [ {
"type": "Bundle"
} ],
"title": "Resolve patient match results",
"output": [ {
"type": "Patient"
} ],
"participant": [ {
"role": {
"coding": [ {
"code": "W000",
"system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona",
"display": "Clerical support worker"
} ]
},
"type": "practitioner"
} ],
"definitionCanonical": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-resolve-patient-match"
}, {
"input": [ {
"type": "Patient"
} ],
"title": "New patient",
"action": [ {
"input": [ {
"type": "QuestionnaireResponse",
"codeFilter": [ {
"code": [ {
"code": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity",
"system": "urn:ietf:rfc:3986"
} ],
"path": "questionnaire"
} ]
} ],
"title": "Gather patient information",
"output": [ {
"type": "QuestionnaireResponse"
} ],
"definitionCanonical": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"
}, {
"input": [ {
"type": "QuestionnaireResponse",
"codeFilter": [ {
"code": [ {
"code": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile",
"system": "urn:ietf:rfc:3986"
} ],
"path": "questionnaire"
} ]
} ],
"title": "Record patient data",
"output": [ {
"type": "Patient"
} ],
"participant": [ {
"type": "device",
"extension": [ {
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement",
"valueCanonical": "http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"
} ]
} ],
"definitionUri": "http://hl7.org/fhir/restful-interaction#create"
} ],
"condition": [ {
"kind": "applicability",
"expression": {
"language": "text/cql",
"expression": "not exists %input i where i is Patient"
}
} ]
}, {
"input": [ {
"type": "Patient"
} ],
"title": "Existing patient",
"action": [ {
"input": [ {
"type": "QuestionnaireResponse",
"codeFilter": [ {
"code": [ {
"code": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity",
"system": "urn:ietf:rfc:3986"
} ],
"path": "questionnaire"
} ]
} ],
"title": "Ensure patient information is up to date",
"output": [ {
"type": "QuestionnaireResponse"
} ],
"definitionCanonical": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"
}, {
"input": [ {
"type": "QuestionnaireResponse",
"codeFilter": [ {
"code": [ {
"code": "http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile",
"system": "urn:ietf:rfc:3986"
} ],
"path": "questionnaire"
} ]
} ],
"title": "Record patient data",
"output": [ {
"type": "Patient"
} ],
"participant": [ {
"type": "device",
"extension": [ {
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement",
"valueCanonical": "http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"
} ]
} ],
"definitionUri": "http://hl7.org/fhir/restful-interaction#update"
} ],
"condition": [ {
"kind": "applicability",
"expression": {
"language": "text/cql",
"expression": "exists %input i where i is Patient"
}
} ]
}, {
"input": [ {
"type": "Patient"
} ],
"title": "Patient summary lookup",
"output": [ {
"type": "Bundle"
} ],
"participant": [ {
"type": "device",
"extension": [ {
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement",
"valueCanonical": "http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"
} ]
} ],
"definitionUri": "http://hl7.org/fhir/uv/cpg/OperationDefinition/cpg-common-patient-summary"
} ],
"participant": [ {
"role": {
"coding": [ {
"code": "C000",
"system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona"
} ]
},
"type": "patient"
}, {
"role": {
"coding": [ {
"code": "W000",
"system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona",
"display": "Clerical support worker"
} ]
},
"type": "practitioner"
} ]
} ],
"version": "1.0.0"
}