Coder Social home page Coder Social logo

hl7sweden / basprofiler-r4 Goto Github PK

View Code? Open in Web Editor NEW
8.0 15.0 6.0 8.56 MB

Repository for suggested base profiles withing the r4 release

GLSL 6.50% CSS 5.88% HTML 4.73% Batchfile 3.17% Shell 1.86% ColdFusion 0.15% JavaScript 77.71%
fhir sweden hl7 fhir-profiles

basprofiler-r4's Introduction

basprofiler-r4

Repository for suggested Swedish base profiles withing the r4 release

CI Build: http://build.fhir.org/ig/HL7Sweden/basprofiler-r4/

Release process Prereq: https://github.com/HL7/fhir-ig-history-template.git and https://github.com/FHIR/ig-registry.git have been added as git submodules. Ensure they have been retrieved before running npm run build

  1. Create release branch for version
  2. Change version and status in sushi-config.yaml
  3. Update publication-request.json in /
  4. Run "npm run build" and "npm run publish"
  5. Test by "npm run serve"
  • If something goes wrong - delete version folder in /published and delete version in package-list.json
  1. Upload published/base and published/*.xml to the webserver /ig folder.
  2. Commit and push to origin
  3. Checkout master
  4. Merge release branch into master locally
  5. Change version and status in sushi-config.yaml and push to origin.

basprofiler-r4's People

Contributors

arvidt avatar danka74 avatar emmeligross avatar hl7sverige avatar peturv avatar vikjer avatar vjernelov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

basprofiler-r4's Issues

Mappings?

Hej,
hur stor är aptiten för att lägga till mappings till profilerna? Ex. mappning till NI, NIM:ar eller existerande tjänstekontrakt? Det finns olika nivåer man kan mappa på, från informella till användning av FHIR Mapping Language.

Practitioner - Qualification

Kristofer - ta fram förslag på kodverk för legitimerade yrkeskoder och hur det ska refereras
Emmeli - Beskriv hur förskrivningsrätt uttryckt i NLL

Fix QA errors/warnings

There are quite a few errors in the QA report and leaving fixing them off for later is a world of pain. Also, publishing an IG with HL7 International requires that all errors and warnings are fixed - I'm not certain if that applies to affiliates, but nonetheless the issues the QA report highlights are valid.

I recommend fixing them now and making it a priority not to introduce any new ones in the future - that is, addressing them as soon as they show up. In my experience it is much easier that way to stay on top!

Organization - type

Finns behov av att kunna uttrycka:
HSA verksamhetskoder (Arvid)
SoS verksamhetsområde (Rikard)
IVO verksamhetskoder (Rikard)

Utred om det finns OID eller motsvarande för dessa som vi kan använda

PractitionerRole - code

SKRs kodverk för yrkeskoder - ej färdigt, men kan tas med i exempel
SoSNyk - etablerat kodverk som kan läggas in i profilen
HSA befattningskoder - etablerat kodverk som kan läggas in i profilen

Patient - enable the use of Swedish official addresses

  1. Create a (one) CodeSystem containing the official Swedish address types for patients/citizens + the unofficial Swedish address type(s) for patients commonly used in healthcare. This will in effect be the address types used by the PU service + one additional address type used in EHRs.

  2. Create a ValueSet consisting of the codes from 1

  3. Create an extension on Address with a valueSet binding to 2

  4. Profile the AddressType with a patient/person flavour to include the extension in 3

  5. Bind Patient.address to 4

HL7 FHIR Arbetsgrupp Basprofil Patient - Adress.pdf

Organization: har behov av information om status

Anger status för organisationen. 
Kan vara:

  • Aktiv 
  • Vilande
  • Avregistrerad

Organization.active (boolean) fungerar inte då den är boolean och då det rör information om organisationen ("Whether the organization's record is still in active use"), inte organisationen i sig.

Patient - enable the use of Swedish ID types in Patient.identifier

Slice the Patient.identifier using the Patient.identifier.system as the discriminator.

Add one slice for each of the following types:

  • Personnummer (1.2.752.129.2.1.3.1)
  • Samordningsnummer (1.2.752.129.2.1.3.3)
  • Nationellt reservnummer (OID saknas?)

(Lokalt reservnummer?)

Add personnummer and samordningsnummer to SEBasePractitioner

In the private sector in Sweden it's pretty common for practitioners to not have an HSA-id, but instead be identified using personnummer or even samordningsnummer (for instance medical doctors coming in from Norway). This is currently not explicitly expressed in SEBasePractitioner.

Suggested solution is to add additional slices for samordningsnummer and personnummer in parallell to the HSA-id slice.

Egen kod för "skyddad folkbokföring"?

Det finns tre typer av skyddade personuppgifter, se https://www.skatteverket.se/privat/folkbokforing/skyddadepersonuppgifter.4.18e1b10334ebe8bc80001711.html?q=skyddad+folkbokf%C3%B6ring
Lösningen för att kommunicera skyddade personuppgifter är att vi anger koder i meta.security.
Vi har i basprofilen för Patient enbart stöd för att kommunicera "sekretessmarkering" med en egen svensk kod.
Borde vi ha en kod för "skyddad folkbokföring"? ("fingerade personuppgifter" bör väl inte kommuniceras?)

Slicing cannot be evaluated in http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension

Profile: https://hl7.se/fhir/ig/base/1.0.0/StructureDefinition-SEBaseHumanName.html
When use the given example in https://hl7.se/fhir/ig/base/1.0.0/Patient-PatientExample1.json.html it gives the following validation errors.

  • "Slicing cannot be evaluated: Problem with use of resolve() - profile [CanonicalType[http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension]] on HumanName.extension:middleName could not be resolved (@char 1)"
  • "Slicing cannot be evaluated: Problem with use of resolve() - profile [CanonicalType[http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseOwnFamilyExtension]] on HumanName.extension:ownFamily could not be resolved (@char 1)"
  • "Slicing cannot be evaluated: Problem with use of resolve() - profile [CanonicalType[http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseAddressPersonExtension]] on Patient.address.extension:officialAddressType could not be resolved (@char 1)"

I used hapi-fhir 6.10.2 version for validation.

Patient - MaritalStatus

Utred hur vi kan representera Skatteverkets koder för civilstånd genom utökning eller conceptMap

FHIR R5

Since HL7 released FHIR 5.0.0 (R5) on 2023-03-26, software vendors on the Swedish market looking to support the new major version while also extending their profiles from the base profiles need R5 versions of all FHIR artefacts in the basprofiler-r4 repo.

What's HL7 Sweden's plan for making this happen?

Synpunkter organization profil inför godkännande

Synpunkt från Cambio:
Lägg value set för HSA verksamhetskod bundet till en slice på Organization.type istället för att ligga direkt bundet till attributet.
image

Bakgrund:
Cambio har tillsammans med ett par andra leverantörer jobbat fram en implementationsprofil för Organization. Denna skulle vi nu vilja deriva från den nationella men vi får problem då vi p.g.a. av avsaknad av nationell implementationsguide för PDL i FHIR valt att använda type för att representera VG/VE kod för organisationen. Eftersom HSA verksamhetskod ligger bundet som required till Organization.type kan vi alltså inte lägga till andra koder på organization.type i derivade profiler.
Länk till leverantörsgemensam profil: http://build.fhir.org/ig/SvenskaIndustriProfiler/fhir/branches/master/StructureDefinition-OrganizationSEVendorLite.html

Practitioner - hur ska vi använda urvalen ur SKR yrkeskoder

Föreslå hur vi kan använda de olika yrkeskodverken eller urval ur dessa för att beskriva specialty eller role-code.
Se urval från SCT (ur SKR yrkeskoder):

Lägg till under practitioner - qualification
67031000052107 - urval legitimerade yrken
68581000052104 - urval yrken

practitionerRole - code
68661000052109 - urval specialiseringstjänstgöring läkare ()
68591000052102 - urval ej legitimerade yrken
68581000052104 - urval yrken

Lägg till under specialty och practitioner - qualification
67081000052106 - urval specialistyrken läkare
67051000052103 - urval specialistyrken sjuksköterska
67071000052109 - urval specialistyrken tandläkare

Formal build and upload to fhir registry

@danka74 or @peturv - I have been struggling with making a correct formal build for the se-base that can be uploaded to the webserver and registered to the fhir-registry following the great instructions you make Petur. There seems to be some issue with linebreaks that I can´t get by head around.

Can one of you give it a try and make a zip of the web structure that I can upload to hl7.se/fhir?

Ta fram profil för Medication

Förslag på innehåll till nästa möte (Juni):
Kodning av substanser
NPL ID och NPL pack ID
Ta med expertis från Läkemedelsverket och ehm @emmeligross kollar vilka som kan vara med

Patient - NamePartQualifierVS

Finns behov av att använda andra koder från NamePartQualifier?
Finns behov av att kunna använda utökningen på andra namn-delar?

Update IG to use Swedish SNOMED edition

Part of the issues mentioned in #56 is due to the IG not having been configured to use the Swedish edition of SNOMED. Configuring that should make the issues with validating the code's display value go away.

This previously set via the sct-edition option but things seem to have changed and now a Parameters resource with the equivalent property should be passed in.

Restrict the personnummer slice of Patient.identifier.value to only allow digits? Add regex for all known identifier types used nationally?

Currently the personnummer slice for Patient.identifier.value is a string type which opens up for arbitrary use (for example 19121212-1212, 191212121212 or 121212-1212 or 1212121212) which could mean problems for applications and FHIR Servers alike.

Given that the PU service expects a strict YYYYMMDDXXXX format, I suggest we enforce the same rule/restriction for the personnummer slice as well in the base profile.

Patient Adress

Utred adresskoder igen efter synpunkter från VGR och EHM
image
image

Tilltalsnamn hanteras inte? Dubbelnamn ("Knut-Christer")?

given är en samling strängar där ordningen är signifikant. Finns idag inget sätt att ange vilket namn som är tilltalsnamn, inte alltid det första. Förtydligande om hur dubbelnamn representeras behövs också.

https://informationsstruktur.socialstyrelsen.se/ModelViewer?page=ClassDiagram_hloUpWKFYEBgdAUY.html

"Angivelse av tilltalsnamnsmarkering, som används för att markera vilket av de angivna förnamnen som är personens tilltalsnamn. Giltiga värden är 10-99 där den första siffran anger vilket av de angivna förnamnen som är tilltalsnamnet (1 motsvarar första namnet osv.) och den andra siffran anger det eventuella andra tilltalsnamnet om dubbelnamn är aktuellt. Om inte är den andra siffran 0"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.