Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. See the Directory of published versions
Active as of 2020-07-31 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:PlanDefinition ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "medmorph-plandefinition-example"] ; #
fhir:meta [
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition> ] [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-plandefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-plandefinition> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>MedMorph PlanDefinition Example</b></p></div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-receiver-jwks-url"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://example.org/jwks/123"^^xsd:anyURI ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-data-encryption-algorithm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "RSA384" ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-plandefinition-example"^^xsd:anyURI] ; #
fhir:version [ fhir:v "1.0.0"] ; #
fhir:name [ fhir:v "MedMorphPlanDefinitionExample"] ; #
fhir:title [ fhir:v "MedMorph PlanDefinition Example"] ; #
fhir:type [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "workflow-definition" ] ;
fhir:display [ fhir:v "Workflow Definition" ] ] )
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "true"^^xsd:boolean] ; #
fhir:date [ fhir:v "2020-07-31T12:32:29.858-05:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International - Public Health Work Group"] ; #
fhir:contact ( [
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/Special/committees/pher" ] ] )
] ) ; #
fhir:description [ fhir:v "An example MedMorph PlanDefinition"] ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ] ] )
] ) ; #
fhir:effectivePeriod [
fhir:start [ fhir:v "2020-12-01"^^xsd:date ]
] ; #
fhir:relatedArtifact ( [
fhir:type [ fhir:v "depends-on" ] ;
fhir:label [ fhir:v "Value Set Library of Trigger Codes" ] ;
fhir:resource [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ]
] ) ; #
fhir:action ( [
fhir:id [ fhir:v "start-workflow" ] ;
fhir:description [ fhir:v "This action represents the start of the reporting workflow in response to the encounter-start event. Other named events can be used instead of encounter-start." ] ;
fhir:textEquivalent [ fhir:v "Start the reporting workflow in response to an encounter-start event" ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initiate-reporting-workflow" ] ;
fhir:display [ fhir:v "Initiate a reporting workflow" ] ] ) ] ) ;
( fhir:trigger [
fhir:id [ fhir:v "encounter-start" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-named-eventtype"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents"^^xsd:anyURI ] ;
fhir:code [ fhir:v "encounter-start" ] ;
fhir:display [ fhir:v "Indicates the start of an encounter" ] ] ) ] ] ) ;
fhir:type [ fhir:v "named-event" ] ;
fhir:name [ fhir:v "encounter-start" ] ] ) ;
( fhir:input [
fhir:id [ fhir:v "patient" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "Patient" ] ] [
fhir:id [ fhir:v "encounter" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter/{{context.encounterId}}" ] ] ) ;
fhir:type [ fhir:v "Encounter" ] ] ) ;
( fhir:relatedAction [
fhir:actionId [ fhir:v "check-reportability" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "60"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "s" ] ] ] )
] [
fhir:id [ fhir:v "check-reportability" ] ;
fhir:description [ fhir:v "This action represents the start of the check for reportable conditions in response to the encounter-start event. This is an example of executing a reporting workflow with other actions." ] ;
fhir:textEquivalent [ fhir:v "Check Reportability and setup jobs for future reportability checks." ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "execute-reporting-workflow" ] ] ) ] ) ;
( fhir:action [
fhir:id [ fhir:v "is-encounter-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability to create the Report." ] ;
fhir:textEquivalent [ fhir:v "Check Trigger Codes based on Value sets." ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "check-trigger-codes" ] ] ) ] ) ;
( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%encounter.where(%encounterStartDate + 1 day * %normalReportingDuration >= now()).select(true) and (%conditions.exists() or %encounters.exists() or %immunizations.exists() or %procedures.exists() or %procedureOrders.exists() or %labOrders.exists() or %labTests.exists() or %labResults.exists() or %medicationAdministrations.exists() or %medicationOrders.exists() or %medicationDispenses.exists())" ] ] ] ) ;
( fhir:input [
fhir:id [ fhir:v "conditions" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Condition?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "Condition" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "encounters" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "encounter" ] ] ) ;
fhir:type [ fhir:v "Encounter" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "reasonCode" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "immunizations" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Immunization?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "Immunization" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "vaccineCode" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "labOrders" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ServiceRequest?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "ServiceRequest" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "labTests" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Observation?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "Observation" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "diagnosticOrders" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DiagnosticReport?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "DiagnosticReport" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "procedureOrders" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ServiceRequest?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "ServiceRequest" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "procedures" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Procedure?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "Procedure" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "medicationOrders" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MedicationRequest?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "MedicationRequest" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "medication" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "medicationDispenses" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MedicationDispense?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "MedicationDispense" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "medication" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "medicationAdministrations" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MedicationAdministration?patient=Patient/{{context.patientId}}" ] ] ) ;
fhir:type [ fhir:v "MedicationAdministration" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "medication" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "labResults" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "labTests" ] ] ) ;
fhir:type [ fhir:v "Observation" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "value" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] [
fhir:id [ fhir:v "diagnosticResults" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "diagnosticOrders" ] ] ) ;
fhir:type [ fhir:v "DiagnosticReport" ] ;
( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example> ] ] ) ] ) ;
( fhir:relatedAction [
fhir:actionId [ fhir:v "create-report" ] ;
fhir:relationship [ fhir:v "before-start" ] ] ) ] )
] [
fhir:id [ fhir:v "create-report" ] ;
fhir:description [ fhir:v "This action represents the creation of the Report. It subsequently calls validate." ] ;
fhir:textEquivalent [ fhir:v "Create Report" ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "create-report" ] ] ) ] ) ;
( fhir:input [
fhir:id [ fhir:v "patientdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "patient" ] ] ) ;
fhir:type [ fhir:v "Patient" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient> ] ) ] [
fhir:id [ fhir:v "conditiondata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "conditions" ] ] ) ;
fhir:type [ fhir:v "Condition" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition> ] ) ] [
fhir:id [ fhir:v "encounterdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "encounter" ] ] ) ;
fhir:type [ fhir:v "Encounter" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter> ] ) ] [
fhir:id [ fhir:v "mrdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "medicationOrders" ] ] ) ;
fhir:type [ fhir:v "MedicationRequest" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest> ] ) ] [
fhir:id [ fhir:v "immzdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "immunizations" ] ] ) ;
fhir:type [ fhir:v "Immunization" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization> ] ) ] [
fhir:id [ fhir:v "procdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "procedures" ] ] ) ;
fhir:type [ fhir:v "Procedure" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure> ] ) ] [
fhir:id [ fhir:v "labResultdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "labResults" ] ] ) ;
fhir:type [ fhir:v "Observation" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab> ] ) ] [
fhir:id [ fhir:v "labOrderdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "labOrders" ] ] ) ;
fhir:type [ fhir:v "ServiceRequest" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest> ] ) ] [
fhir:id [ fhir:v "diagnosticResultdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "diagnosticResults" ] ] ) ;
fhir:type [ fhir:v "DiagnosticReport" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab> ] ) ] [
fhir:id [ fhir:v "diagnosticOrderdata" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "diagnosticOrders" ] ] ) ;
fhir:type [ fhir:v "DiagnosticReport" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab> ] ) ] ) ;
( fhir:output [
fhir:id [ fhir:v "output-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] ) ;
( fhir:relatedAction [
fhir:actionId [ fhir:v "validate-report" ] ;
fhir:relationship [ fhir:v "before-start" ] ] ) ;
( fhir:action [
fhir:id [ fhir:v "anonymize-report" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-trust-service-endpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Endpoint/example-ph-endpoint" ] ] ] ) ;
fhir:description [ fhir:v "This action is used to anonymize a identifiable report" ] ;
fhir:textEquivalent [ fhir:v "Anonymize the report." ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "anonymize-report" ] ] ) ] ) ;
( fhir:input [
fhir:id [ fhir:v "report-to-be-anonymized" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "output-report" ] ] ) ;
fhir:type [ fhir:v "Bundle" ] ] ) ;
( fhir:output [
fhir:id [ fhir:v "anonymized-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] ) ] )
] [
fhir:id [ fhir:v "validate-report" ] ;
fhir:description [ fhir:v "This action represents the validation of the Report. It subsequently calls route-and-send." ] ;
fhir:textEquivalent [ fhir:v "Validate Report" ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "validate-report" ] ] ) ] ) ;
( fhir:input [
fhir:id [ fhir:v "generated-report" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "output-report" ] ] ) ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] ) ;
( fhir:output [
fhir:id [ fhir:v "valid-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] ) ;
( fhir:relatedAction [
fhir:actionId [ fhir:v "route-and-send-report" ] ;
fhir:relationship [ fhir:v "before-start" ] ] )
] [
fhir:id [ fhir:v "route-and-send-report" ] ;
fhir:description [ fhir:v "This action represents the routing and sending of the Report." ] ;
fhir:textEquivalent [ fhir:v "Route and send Report" ] ;
( fhir:code [
( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "submit-report" ] ] ) ] ) ;
( fhir:input [
fhir:id [ fhir:v "validated-report" ] ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "valid-report" ] ] ) ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] ) ;
( fhir:output [
fhir:id [ fhir:v "submitted-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle> ] ) ] )
] ) . #
IG © 2020+ HL7 International - Public Health Work Group. Package hl7.fhir.us.medmorph#1.0.0 based on FHIR 4.0.1. Generated 2023-06-08
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change