HL7Norway / LMDI

Legemiddeldata fra institusjon til Legemiddelregisteret
https://hl7norway.github.io/LMDI/currentbuild/
1 stars 0 forks source link

Opprette NamingSystem for FEST (Legemiddelvirkestoff, Legemiddelmerkevare, Legemiddelpakning) #12

Closed rockphotog closed 1 month ago

rockphotog commented 2 months ago

Vi trenger dedikerte NamingSystem for hvert konsept, og publisere de i no-basis og/eller kodeverk-repo/IG.

Var dette jeg fant fra Medication, mulig det er det som brukes for Pasientens legemiddelliste?

https://github.com/HL7Norway/Medications/blob/efcdd406a2fc486866a712e0108ff3ecf3499f35/CodeSystems/SFMFestRegistrationtypeCodeSystem.xml

<CodeSystem>
  <id value="sfm-festregistrationtype.codesystem" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2020-06-25T00:00:00.000+00:00" />
  </meta>
  <url value="http://ehelse.no/fhir/CodeSystem/sfm-festregistrationtype" />
  <version value="1.0" />
  <name value="sfm-festregistrationtype.codesystem" />
  <status value="active" />
  <date value="2021-05-01T00:00:00.000+00:00" />
  <publisher value="Direktoratet for e-helse" />
  <content value="complete" />
  <concept>
    <code value="1" />
    <display value="Legemiddelvirkestoff" />
  </concept>
  <concept>
    <code value="2" />
    <display value="Legemiddelmerkevare" />
  </concept>
  <concept>
    <code value="3" />
    <display value="Legemiddelpakning" />
  </concept>
  <concept>
    <code value="4" />
    <display value="Legemiddeldose" />
  </concept>
</CodeSystem>

Benyttes med f.eks. Medication

https://github.com/HL7Norway/LMDI/blob/052f5d494765807df3837d34ef75e473b50f9af4/LMDI/input/fsh/profiles/lmdi-Medication.fsh

rockphotog commented 2 months ago

Utkast ligger her:

https://github.com/HL7Norway/LMDI/tree/main/LMDI/input/fsh/namingsystems

rockphotog commented 2 months ago

Fra SFM

https://github.com/HL7Norway/Medications/blob/master/StructureDefinition/sfm-Medication.StructureDefinition.xml

<element id="Medication.code.coding:FEST-Medication">
      <path value="Medication.code.coding" />
      <sliceName value="FEST-Medication" />
      <definition value="Medication is one of the following types: LegemiddelVirkestoff, LegemiddelMerkevare, Legemiddelpakning, Legemiddeldose. Code is the FEST-id or the &quot;varenummer&quot; for the Medication. FEST-id should be used if available. If not present in FEST, then code is missing and only Display is present." />
    </element>
rockphotog commented 2 months ago

Note to self:

Spesielt viktig er altså LegemiddelPakningMerkevare (LegemiddelPakning) og LegemiddelDose

rockphotog commented 2 months ago

Se også SAFEST (gammel / i bruk?)

https://github.com/HL7Norway/SAFEST/blob/8c6ef49c94b11a698ca0ed722ce7bcd3bcc7d19d/StructureDefinition/safest-legemiddeldoseId.StructureDefinition-extension.xml#L8

http://legemiddelverket.no/fhir/StructureDefinition/safest-legemiddeldoseId

rockphotog commented 2 months ago

Note to self, fra sfm-Medication

<element id="Medication.code.coding:FEST-Medication">
      <path value="Medication.code.coding" />
      <sliceName value="FEST-Medication" />
      <definition value="Medication is one of the following types: LegemiddelVirkestoff, LegemiddelMerkevare, Legemiddelpakning, Legemiddeldose. Code is the FEST-id or the &quot;varenummer&quot; for the Medication. FEST-id should be used if available. If not present in FEST, then code is missing and only Display is present." />
    </element>
rockphotog commented 1 month ago

Løst for Medication, men bør tas opp som no-basis/no-domain.