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

v. 1 0 0 approval #167

Merged
merged 8 commits into from
Sep 2, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ This repo contains the source code for the Finnish FHIR base profiles.
The profiling work is performed in a project driven by [HL7 Finland](https://www.hl7.fi).
See the
[announcement](https://www.hl7.fi/hl7-fhir-profilointityo-kaynnistyy-tule-mukaan-vaikuttamaan-kansalliseen-tekemiseen/),
the [running
memo](https://docs.google.com/document/d/1yNq6XMLhWJqi6OELQtWC1DFwdtD9CQulzVOfz-zZCko/edit#), and
[some more details](https://fhir.fi).
the
[running memo](https://docs.google.com/document/d/1yNq6XMLhWJqi6OELQtWC1DFwdtD9CQulzVOfz-zZCko/edit#),
and [some more details](https://fhir.fi).

The profiles are based on R4, [FHIR 4.0.1](http://hl7.org/fhir/R4/).

Expand All @@ -17,8 +17,9 @@ Read more about the profiling work in the [index page](input/pagecontent/index.m

### On build.fhir.org
The results of each commit to this repository are published automatically at the build.fhir.org
infrastructure. You can locate the built snapshot with the branch name. For instance, the latest
commit to the `master` branch is published at
infrastructure. You can select a built snapshot from the
[list of branches](https://build.fhir.org/ig/fhir-fi/finnish-base-profiles/branches/). For
instance, the latest commit to the `master` branch is published at
[https://build.fhir.org/ig/fhir-fi/finnish-base-profiles/branches/master](https://build.fhir.org/ig/fhir-fi/finnish-base-profiles/branches/master).

You can also browse the [list of all IG builds](https://fhir.github.io/auto-ig-builder/builds.html).
Expand Down Expand Up @@ -56,7 +57,7 @@ See also the repo for
* Java 17
* Jekyll (ruby)

Or you can use docker, see [Dockerfile](Dockerfile).
Or you can use Docker, see [Dockerfile](Dockerfile).

### Quick Start

Expand All @@ -77,7 +78,7 @@ npm install -g fsh-sushi@3.1.0
.\_genonce.bat
```

### Using Docker
#### Using Docker

Run

Expand All @@ -86,4 +87,6 @@ docker-compose run runner bash -c "cd /workdir && ./_updatePublisher.sh --yes"
docker-compose run runner bash -c "cd /workdir && ./_genonce.sh"
```

#### Results

The implementation guide will be generated to the `output/` directory.
1 change: 0 additions & 1 deletion input/fsh/appointment.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: Appointment
Id: fi-base-appointment
Title: "FI Base Appointment"
Description: "This is the Finnish base profile for the Appointment resource."
* ^status = #draft
* reasonReference only Reference(FiBaseCondition or FiBaseProcedure or FiBaseObservation or ImmunizationRecommendation)
* participant.actor only Reference(FiBasePatient or FiBasePractitioner or FiBasePractitionerRole or RelatedPerson or Device or HealthcareService or FiBaseLocation)
* slot only Reference(FiBaseSlot)
1 change: 0 additions & 1 deletion input/fsh/condition.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition
Id: fi-base-condition
Title: "FI Base Condition"
Description: "This is the Finnish base profile for the Condition resource."
* ^status = #draft
* subject only Reference(FiBasePatient)
1 change: 0 additions & 1 deletion input/fsh/encounter.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: Encounter
Id: fi-base-encounter
Title: "FI Base Encounter"
Description: "This is the Finnish base profile for the Encounter resource."
* ^status = #draft
* subject only Reference(FiBasePatient or Group)
* episodeOfCare only Reference(FiBaseEpisodeOfCare)
* participant.individual only Reference(FiBasePractitioner or FiBasePractitionerRole or RelatedPerson)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/episodeOfCare.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: EpisodeOfCare
Id: fi-base-episode-of-care
Title: "FI Base EpisodeOfCare"
Description: "This is the Finnish base profile for the EpisodeOfCare resource."
* ^status = #draft
* diagnosis.condition only Reference(FiBaseCondition)
* patient only Reference(FiBasePatient)
* managingOrganization only Reference(FiBaseOrganization)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/healthcareService.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: HealthcareService
Id: fi-base-healthcare-service
Title: "FI Base HealthcareService"
Description: "This is the Finnish base profile for the HealthcareService resource."
* ^status = #draft
* providedBy only Reference(FiBaseOrganization)
* location only Reference(FiBaseLocation)
* coverageArea only Reference(FiBaseLocation)
1 change: 0 additions & 1 deletion input/fsh/immunization.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: IPAImmunization
Id: fi-base-immunization
Title: "Fi Base Immunization"
Description: "This is a base profile for Finnish Immunization resource."
* ^status = #draft
* patient only Reference(FiBasePatient)
* encounter only Reference(FiBaseEncounter)
* location only Reference(FiBaseLocation)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/location.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Parent: Location
Id: fi-base-location
Title: "FI Base Location"
Description: "This is the Finnish base profile for the Location resource."
* ^status = #draft
* managingOrganization only Reference(FiBaseOrganization)
* partOf only Reference(FiBaseLocation)
1 change: 0 additions & 1 deletion input/fsh/medication.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Parent: Medication
Id: fi-base-medication
Title: "FI Base Medication"
Description: "This is the Finnish base profile for the Medication resource for other than patient access use cases."
* ^status = #draft
* manufacturer only Reference(FiBaseOrganization)
* ingredient.itemReference only Reference(Substance or FiBaseMedication or FiBasePatientMedication)
1 change: 0 additions & 1 deletion input/fsh/medicationAdministration.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: MedicationAdministration
Id: fi-base-medication-administration
Title: "FI Base MedicationAdministration"
Description: "This is the Finnish base profile for the MedicationAdministration resource."
* ^status = #draft
* partOf only Reference(FiBaseProcedure or FiBaseMedicationAdministration)
* medicationReference only Reference(FiBasePatientMedication)
* subject only Reference(FiBasePatient or Group)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/medicationRequest.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: MedicationRequest
Id: fi-base-medication-request
Title: "FI Base MedicationRequest"
Description: "This is the Finnish base profile for the MedicationRequest resource, for other than patient access use cases."
* ^status = #draft
* reportedReference only Reference(FiBasePatient or FiBasePractitioner or FiBasePractitionerRole)
* medicationReference only Reference(FiBaseMedication or FiBasePatientMedication)
* subject only Reference(FiBasePatient)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/medicationStatement.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement
Id: fi-base-medication-statement
Title: "FI Base MedicationStatement"
Description: "This is the Finnish base profile for the MedicationStatement resource."
* ^status = #draft
* basedOn only Reference(FiBaseMedicationRequest or CarePlan or ServiceRequest)
* partOf only Reference(FiBaseMedicationAdministration or MedicationDispense or FiBaseMedicationStatement or FiBaseProcedure or FiBaseObservation)
* medicationReference only Reference(FiBasePatientMedication)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/observation.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation
Id: fi-base-observation
Title: "FI Base Observation"
Description: "This is the Finnish base profile for the Observation resource."
* ^status = #draft
* basedOn only Reference(CarePlan or DeviceRequest or ImmunizationRecommendation or FiBaseMedicationRequest or NutritionOrder or ServiceRequest)
* partOf only Reference(FiBaseMedicationAdministration or MedicationDispense or FiBaseMedicationStatement or FiBaseProcedure or FiBaseImmunization or ImagingStudy)
* subject only Reference(FiBasePatient)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/organization.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Parent: Organization
Id: fi-base-organization
Title: "FI Base Organization"
Description: "This is the Finnish base profile for the Organization resource."
* ^status = #draft
* partOf only Reference(FiBaseOrganization)
9 changes: 5 additions & 4 deletions input/fsh/patient.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: IPAPatient
Id: fi-base-patient
Title: "FI Base Patient"
Description: "This is the Finnish base profile for the Patient resource."
* ^status = #draft
* generalPractitioner only Reference(FiBaseOrganization or FiBasePractitioner or FiBasePractitionerRole)
* managingOrganization only Reference(FiBaseOrganization)
* link.other only Reference(FiBasePatient or RelatedPerson)
Expand All @@ -21,8 +20,9 @@ Description: "This is the Finnish base profile for the Patient resource."
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "use"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "When using the official Finnish personal identifier code (PIC, also known as HETU), identifier.system SHALL be #urn:oid:1.2.246.21."
* identifier ^slicing.description = "When using the official Finnish personal identifier code (PIC, also known as HETU), identifier.system SHALL be urn:oid:1.2.246.21."
* identifier ^slicing.ordered = false
* ^definition = "When using the official Finnish personal identifier code (PIC, also known as *HETU*), identifier.system SHALL be `urn:oid:1.2.246.21`."
* ^short = "Identifier contains Finnish personal identity code which can be official or temporary. Other identifier may also be included."

* identifier contains PIC 0..1
Expand All @@ -34,12 +34,13 @@ Description: "This is the Finnish base profile for the Patient resource."

* extension contains MunicipalityCode named municipality 0..1
* extension contains interpreterRequired named interpreterRequired 0..1
* extension contains PatientProfession named patientProfession 0..1

Extension: MunicipalityCode
Id: municipality-code
Title: "Municipality Code"
Description: "Extension for home municipality"
* . ^short = "Municipality presents the home municipality of the patients. This information is relevant for ex. in billing and listing available healthcare services."
Description: "Extension for home municipality. Home municipality is relevant for ex. in billing and listing available healthcare services, and for statistical purposes. It it not necessarily the place where a patient lives, rather closer to where they pay their taxes."
* . ^short = "The home municipality of the patient (not necessarily where they live)."
* ^context.type = #element
* ^context.expression = "Patient"
* value[x] only Coding
Expand Down
1 change: 0 additions & 1 deletion input/fsh/patientMedication.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication
Id: fi-base-patient-medication
Title: "FI Base Patient Medication"
Description: "This is the Finnish base profile for the Medication resource for patient access use case."
* ^status = #draft
* manufacturer only Reference(FiBaseOrganization)
* ingredient.itemReference only Reference(Substance or FiBasePatientMedication)
1 change: 0 additions & 1 deletion input/fsh/patientMedicationRequest.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest
Id: fi-base-patient-medication-request
Title: "FI Base Patient MedicationRequest"
Description: "This is the Finnish base profile for the MedicationRequest resource for the patient access use case."
* ^status = #draft
* reportedReference only Reference(FiBasePatient or FiBasePractitioner or FiBasePractitionerRole)
* medicationReference only Reference(FiBasePatientMedication)
* subject only Reference(FiBasePatient)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/practitioner.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner
Id: fi-base-practitioner
Title: "FI Base Practitioner"
Description: "This is the Finnish base profile for the Practitioner resource."
* ^status = #draft
* qualification.issuer only Reference(FiBaseOrganization)

* identifier ^slicing.discriminator.type = #value
Expand Down
1 change: 0 additions & 1 deletion input/fsh/practitionerRole.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole
Id: fi-base-practitioner-role
Title: "FI Base PractitionerRole"
Description: "This is the Finnish base profile for the PractitionerRole resource."
* ^status = #draft
* practitioner only Reference(FiBasePractitioner)
* organization only Reference(FiBaseOrganization)
* location only Reference(FiBaseLocation)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/procedure.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: Procedure
Id: fi-base-procedure
Title: "Fi Base Procedure"
Description: "The Base profile for Finnish Procedure resource."
* ^status = #draft
* partOf only Reference(FiBaseProcedure or FiBaseObservation or FiBaseMedicationAdministration)
* subject only Reference(FiBasePatient or Group)
* encounter only Reference(FiBaseEncounter)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/provenance.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: Provenance
Id: fi-base-provenance
Title: "FI Base Provenance"
Description: "This is the Finnish base profile for the Provenance resource."
* ^status = #draft

* location only Reference(FiBaseLocation)
* agent.who only Reference(FiBasePractitioner or FiBasePractitionerRole or FiBasePatient or RelatedPerson or Device or FiBaseOrganization)
Expand Down
1 change: 0 additions & 1 deletion input/fsh/reasonForCare.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Parent: FiBaseCondition
Id: fi-base-reason-for-care
Title: "FI Base Reason for Care (encounter-diagnosis and reason for visit)"
Description: "This is the Finnish base profile for the encounter-diagnosis and (nurse asserted) reason for visit Conditions."
* ^status = #draft

* subject only Reference(FiBasePatient)

Expand Down
1 change: 0 additions & 1 deletion input/fsh/schedule.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Parent: Schedule
Id: fi-base-schedule
Title: "FI Base Schedule"
Description: "This is the Finnish base profile for the Schedule resource."
* ^status = #draft
* actor only Reference(FiBasePatient or FiBasePractitioner or FiBasePractitionerRole or RelatedPerson or Device or FiBaseHealthcareService or FiBaseLocation)
1 change: 0 additions & 1 deletion input/fsh/slot.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Parent: Slot
Id: fi-base-slot
Title: "FI Base Slot"
Description: "This is the Finnish base profile for the Slot resource."
* ^status = #draft
* schedule only Reference(FiBaseSchedule)
8 changes: 4 additions & 4 deletions input/pagecontent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ See the [presentation slides](Vitalis2023-Nordic_harmonization_of_health_data.pd

Other notable national base profiles under our radar are
<ul style="list-style: uscachau">
<li>the [US Core](https://hl7.org/fhir/us/core/)</li>
<li>the [Canadian baseline](https://build.fhir.org/ig/HL7-Canada/ca-baseline/)</li>
<li>the Swiss [CH Core](http://fhir.ch/ig/ch-core/index.html)</li>
<li>the Australian [AU Base](http://hl7.org.au/fhir/4.0.0/)</li>
<li>the <a href="https://hl7.org/fhir/us/core/">US Core</a></li>
<li>the <a href="https://build.fhir.org/ig/HL7-Canada/ca-baseline/">Canadian baseline</a></li>
<li>the Swiss <a href="http://fhir.ch/ig/ch-core/index.html">CH Core</a></li>
<li>the Australian <a href="http://hl7.org.au/fhir/4.0.0/">AU Base</a></li>
</ul>

Many of the Finnish FHIR base profiles derive from the
Expand Down
2 changes: 1 addition & 1 deletion sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: FinnishBaseProfiles
title: Finnish Base Profiles
description: A core set of FHIR resources profiled for use in Finland, published and maintained by HL7 Finland
status: draft # draft | active | retired | unknown
version: 1.0.0-rc19
version: 1.0.0-rc20
fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html
copyrightYear: 2022+
releaseLabel: qa-preview # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use
Expand Down