-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: find and replace | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Tabs to spaces | ||
run: find ./ -type f -name *.xml -exec sed -i -e 's/\t/ /g' -e 's/\"\/>/\" \/>/g' {} \; | ||
|
||
- name: Push changes | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
message: 'Find and Replace' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<StructureDefinition xmlns="http://hl7.org/fhir"> | ||
<id value="UKCore-Task" /> | ||
<url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Task"/> | ||
<version value="1.2.0"/> | ||
<name value="UKCoreTask"/> | ||
<title value="UK Core Task"/> | ||
<status value="active"/> | ||
<date value="2022-12-16"/> | ||
<publisher value="HL7 UK"/> | ||
<contact> | ||
<name value="HL7 UK" /> | ||
<telecom> | ||
<system value="email" /> | ||
<value value="[email protected]" /> | ||
<use value="work" /> | ||
<rank value="1" /> | ||
</telecom> | ||
</contact> | ||
<description value="This profile defines the UK constraints and extensions on the International FHIR resource [Task](https://hl7.org/fhir/R4/Task.html)." /> | ||
<purpose value="A task resource describes an activity that can be performed and tracks the state of completion of that activity. It is a representation that an activity should be or has been initiated, and eventually, represents the successful or unsuccessful completion of that activity.

Note that there are a variety of processes associated with making and processing orders. Some orders may be handled immediately by automated systems but most require real world actions by one or more humans. Some orders can only be processed when other real world actions happen, such as a patient presenting themselves so that the action to be performed can actually be performed. Often these real world dependencies are only implicit in the order details." /> | ||
<copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> | ||
<fhirVersion value="4.0.1" /> | ||
<mapping> | ||
<identity value="workflow" /> | ||
<uri value="http://hl7.org/fhir/workflow" /> | ||
<name value="Workflow Pattern" /> | ||
</mapping> | ||
<mapping> | ||
<identity value="rim" /> | ||
<uri value="http://hl7.org/v3" /> | ||
<name value="RIM Mapping" /> | ||
</mapping> | ||
<mapping> | ||
<identity value="w5" /> | ||
<uri value="http://hl7.org/fhir/fivews" /> | ||
<name value="FiveWs Pattern Mapping" /> | ||
</mapping> | ||
<mapping> | ||
<identity value="v2" /> | ||
<uri value="http://hl7.org/v2" /> | ||
<name value="HL7 v2 Mapping" /> | ||
</mapping> | ||
<kind value="resource" /> | ||
<abstract value="false" /> | ||
<type value="Task" /> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Task" /> | ||
<derivation value="constraint" /> | ||
<differential> | ||
<element id="Task.identifier.assigner"> | ||
<path value="Task.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.basedOn.identifier.assigner"> | ||
<path value="Task.basedOn.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.partOf"> | ||
<path value="Task.partOf" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Task" /> | ||
</type> | ||
</element> | ||
<element id="Task.partOf.identifier.assigner"> | ||
<path value="Task.partOf.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.focus.identifier.assigner"> | ||
<path value="Task.focus.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.for.identifier.assigner"> | ||
<path value="Task.for.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.encounter"> | ||
<path value="Task.encounter" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" /> | ||
</type> | ||
</element> | ||
<element id="Task.encounter.identifier.assigner"> | ||
<path value="Task.encounter.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.requester"> | ||
<path value="Task.requester" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" /> | ||
</type> | ||
</element> | ||
<element id="Task.requester.identifier.assigner"> | ||
<path value="Task.requester.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.owner"> | ||
<path value="Task.owner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CareTeam" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService" /> | ||
</type> | ||
</element> | ||
<element id="Task.owner.identifier.assigner"> | ||
<path value="Task.owner.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.location"> | ||
<path value="Task.location" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location" /> | ||
</type> | ||
</element> | ||
<element id="Task.location.identifier.assigner"> | ||
<path value="Task.location.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.reasonReference.identifier.assigner"> | ||
<path value="Task.reasonReference.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.insurance.identifier.assigner"> | ||
<path value="Task.insurance.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.relevantHistory"> | ||
<path value="Task.relevantHistory" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Provenance" /> | ||
</type> | ||
</element> | ||
<element id="Task.relevantHistory.identifier.assigner"> | ||
<path value="Task.relevantHistory.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
<element id="Task.restriction.recipient"> | ||
<path value="Task.restriction.recipient" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" /> | ||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" /> | ||
</type> | ||
</element> | ||
<element id="Task.restriction.recipient.identifier.assigner"> | ||
<path value="Task.restriction.recipient.identifier.assigner" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> | ||
</type> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |