Guide d'implémentation du médicament
0.1.0 - ci-build

Guide d'implémentation du médicament, published by Interop'Santé. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Interop-Sante/hl7.fhir.fr.medication/ and changes regularly. See the Directory of published versions

: Conversion PN13 vers FHIR pour un patient avec INS qualifiée d'une prescription de médicaments - JSON Representation

Draft as of 2024-12-26

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "PN13-FHIR-prescmed-patient-avec-INS-conceptmap",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap PN13-FHIR-prescmed-patient-avec-INS-conceptmap</b></p><a name=\"PN13-FHIR-prescmed-patient-avec-INS-conceptmap\"> </a><a name=\"hcPN13-FHIR-prescmed-patient-avec-INS-conceptmap\"> </a><a name=\"PN13-FHIR-prescmed-patient-avec-INS-conceptmap-en-US\"> </a><p>Mapping from https://interopsante.org/pn13/xsd to <a href=\"https://hl7.fr/ig/fhir/core/2.1.0/StructureDefinition-fr-core-patient-ins.html\">FR Core Patient INS Profile</a></p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"5\"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan=\"5\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.identifier.type.coding.code</b></td><td><b>Patient.identfier.use</b></td><td><b>Patient.identifier.type.coding.system</b></td><td/></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Ipp</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.identifier.value</td><td style=\"border-left-width: 0px\"></td><td>PI</td><td>usual</td><td>http://terminology.hl7.org/CodeSystem/v2-0203</td><td/></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/DI</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">Patient.identifier.system</td><td style=\"border-left-width: 0px\"></td><td/><td/><td/><td>Le domaine d'identification PN13 doit être exprimé sous le format uri pour alimenter patient.identifer.system. Par exemple, les domaines d'identification sous forme d'OID doivent être préfixés par urn:oid:</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"6\"><b>Target Concept Details</b></td><td colspan=\"6\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>INS_OID</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.identifier.system</b></td><td><b>Patient.identifier.type.coding.code</b></td><td><b>Patient.identfier.use</b></td><td><b>Patient.identifier.type.coding.system</b></td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/INS</td><td style=\"border-left-width: 0px\"></td><td>1.2.250.1.213.1.4.8</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.identifier.value</td><td style=\"border-left-width: 0px\"></td><td>urn:oid:1.2.250.1.213.1.4.8</td><td>INS-NIR</td><td>official</td><td>https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"6\"><b>Target Concept Details</b></td><td colspan=\"6\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>INS_OID</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.identifier.system</b></td><td><b>Patient.identifier.type.coding.code</b></td><td><b>Patient.identfier.use</b></td><td><b>Patient.identifier.type.coding.system</b></td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/INS</td><td style=\"border-left-width: 0px\"></td><td>1.2.250.1.213.1.4.9</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.identifier.value</td><td style=\"border-left-width: 0px\"></td><td>urn:oid:1.2.250.1.213.1.4.9</td><td>INS-NIA</td><td>official</td><td>https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"4\"><b>Target Concept Details</b></td><td colspan=\"4\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.name.extension.url</b></td><td><b>Patient.name.use</b></td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Nom_naissance</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.name.family</td><td style=\"border-left-width: 0px\"></td><td/><td>official</td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Premier_prénom</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.name.given</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Prénoms</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.name.extension.valueString</td><td style=\"border-left-width: 0px\"></td><td>https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient-birth-list-given-name</td><td/></tr></table><hr/><p><b>Group 5 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Target Concept Details</b></td><td colspan=\"3\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.name.use</b></td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Nom_usuel</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.name.family</td><td style=\"border-left-width: 0px\"></td><td>usual</td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Prénom_usuel</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.name.given</td><td style=\"border-left-width: 0px\"></td><td/></tr></table><hr/><p><b>Group 6 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Messages/M_prescription_médicaments/Patient/Date_naissance</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Patient.birthDate</td><td>La date doit être transformée du format AAAAMMJJ[HH[MM[SS]]] au format YYYY-MM-DDTHH:MM:SS+ZZ:ZZ. L'offset de fuseau horaire n'est à intégrer que si au moin une heure est fournie.</td></tr><tr><td>Messages/M_prescription_médicaments/Patient/Sexe</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Patient.gender</td><td>le code est à traduire en utilisant MedicationRequest.medicationReference.reference</td></tr></table><hr/><p><b>Group 7 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"4\"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan=\"4\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.extension.url</b></td><td><b>Patient.extension.valueAddress.extension.url</b></td><td/></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Lieu_naissance</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.extension.valueAddress.extension.valueCoding.code</td><td style=\"border-left-width: 0px\"></td><td>http://hl7.org/fhir/StructureDefinition/patient-birthPlace</td><td>https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-address-insee-code</td><td>L'élément FHIR Patient.extension.valueAddress.extension.valueCoding.system dépend de la valeur du code. Pour les codes commençant par 99, le system est https://mos.esante.gouv.fr/NOS/TRE_R20-Pays/FHIR/TRE-R13-Pays ; pour le code 01 https://mos.esante.gouv.fr/NOS/TRE_R302-ContexteCodeComplementaire/FHIR/TRE-R302-ContexteCodeComplementaire; pour les autres codes le system est est https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune</td></tr></table><hr/><p><b>Group 8 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"5\"><b>Target Concept Details</b></td><td colspan=\"5\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>Patient.extension.url</b></td><td><b>Patient.extension.extension.valueCoding.system</b></td><td><b>Patient.extension.extension.url</b></td></tr><tr><td style=\"border-right-width: 0px\">Messages/M_prescription_médicaments/Patient/Statut_idpat</td><td style=\"border-left-width: 0px\"></td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equal\" title=\"equal\">is equal to</a></td><td style=\"border-right-width: 0px\">Patient.extension.extension.valueCoding.code</td><td style=\"border-left-width: 0px\"></td><td>https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-identity-reliability</td><td>https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0445</td><td>identityStatus</td></tr></table><hr/><p><b>Group 9 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td></tr><tr><td>Messages/M_prescription_médicaments/Patient/Date_lunaire</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td></tr></table></div>"
  },
  "url" : "https://hl7.fr/fhir/fr/medication/ConceptMap/PN13-FHIR-prescmed-patient-avec-INS-conceptmap",
  "version" : "0.1.0",
  "name" : "FrPN13FHIRMedicationPrescriptionPatientINSConceptMap",
  "title" : "Conversion PN13 vers FHIR pour un patient avec INS qualifiée d'une prescription de médicaments",
  "status" : "draft",
  "date" : "2024-12-26T13:24:49+00:00",
  "publisher" : "Interop'Santé",
  "contact" : [
    {
      "name" : "Interop'Santé",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://interopsante.org/"
        }
      ]
    }
  ],
  "description" : "ConceptMap pour la conversion PN13 vers FHIR d'un patient avec INS qualifiée d'une prescritpion de médicament",
  "sourceUri" : "https://interopsante.org/pn13/xsd",
  "targetUri" : "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient-ins",
  "group" : [
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Ipp",
          "target" : [
            {
              "code" : "Patient.identifier.value",
              "equivalence" : "equal",
              "product" : [
                {
                  "property" : "Patient.identfier.use",
                  "value" : "usual"
                },
                {
                  "property" : "Patient.identifier.type.coding.code",
                  "value" : "PI"
                },
                {
                  "property" : "Patient.identifier.type.coding.system",
                  "value" : "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            }
          ]
        },
        {
          "code" : "Messages/M_prescription_médicaments/Patient/DI",
          "target" : [
            {
              "code" : "Patient.identifier.system",
              "equivalence" : "equivalent",
              "comment" : "Le domaine d'identification PN13 doit être exprimé sous le format uri pour alimenter patient.identifer.system. Par exemple, les domaines d'identification sous forme d'OID doivent être préfixés par urn:oid:"
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/INS",
          "target" : [
            {
              "code" : "Patient.identifier.value",
              "equivalence" : "equal",
              "dependsOn" : [
                {
                  "property" : "M_prescription_médicaments/Patient/INS_OID",
                  "value" : "1.2.250.1.213.1.4.8"
                }
              ],
              "product" : [
                {
                  "property" : "Patient.identfier.use",
                  "value" : "official"
                },
                {
                  "property" : "Patient.identifier.type.coding.code",
                  "value" : "INS-NIR"
                },
                {
                  "property" : "Patient.identifier.type.coding.system",
                  "value" : "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
                },
                {
                  "property" : "Patient.identifier.system",
                  "value" : "urn:oid:1.2.250.1.213.1.4.8"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/INS",
          "target" : [
            {
              "code" : "Patient.identifier.value",
              "equivalence" : "equal",
              "dependsOn" : [
                {
                  "property" : "M_prescription_médicaments/Patient/INS_OID",
                  "value" : "1.2.250.1.213.1.4.9"
                }
              ],
              "product" : [
                {
                  "property" : "Patient.identfier.use",
                  "value" : "official"
                },
                {
                  "property" : "Patient.identifier.type.coding.code",
                  "value" : "INS-NIA"
                },
                {
                  "property" : "Patient.identifier.type.coding.system",
                  "value" : "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
                },
                {
                  "property" : "Patient.identifier.system",
                  "value" : "urn:oid:1.2.250.1.213.1.4.9"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Nom_naissance",
          "target" : [
            {
              "code" : "Patient.name.family",
              "equivalence" : "equal",
              "product" : [
                {
                  "property" : "Patient.name.use",
                  "value" : "official"
                }
              ]
            }
          ]
        },
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Premier_prénom",
          "target" : [
            {
              "code" : "Patient.name.given",
              "equivalence" : "equal"
            }
          ]
        },
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Prénoms",
          "target" : [
            {
              "code" : "Patient.name.extension.valueString",
              "equivalence" : "equal",
              "product" : [
                {
                  "property" : "Patient.name.extension.url",
                  "value" : "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient-birth-list-given-name"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Nom_usuel",
          "target" : [
            {
              "code" : "Patient.name.family",
              "equivalence" : "equal",
              "product" : [
                {
                  "property" : "Patient.name.use",
                  "value" : "usual"
                }
              ]
            }
          ]
        },
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Prénom_usuel",
          "target" : [
            {
              "code" : "Patient.name.given",
              "equivalence" : "equal"
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Date_naissance",
          "target" : [
            {
              "code" : "Patient.birthDate",
              "equivalence" : "equivalent",
              "comment" : "La date doit être transformée du format AAAAMMJJ[HH[MM[SS]]] au format YYYY-MM-DDTHH:MM:SS+ZZ:ZZ. L'offset de fuseau horaire n'est à intégrer que si au moin une heure est fournie."
            }
          ]
        },
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Sexe",
          "target" : [
            {
              "code" : "Patient.gender",
              "equivalence" : "equivalent",
              "comment" : "le code est à traduire en utilisant MedicationRequest.medicationReference.reference"
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Lieu_naissance",
          "target" : [
            {
              "code" : "Patient.extension.valueAddress.extension.valueCoding.code",
              "equivalence" : "equal",
              "comment" : "L'élément FHIR Patient.extension.valueAddress.extension.valueCoding.system dépend de la valeur du code. Pour les codes commençant par 99, le system est https://mos.esante.gouv.fr/NOS/TRE_R20-Pays/FHIR/TRE-R13-Pays ; pour le code 01 https://mos.esante.gouv.fr/NOS/TRE_R302-ContexteCodeComplementaire/FHIR/TRE-R302-ContexteCodeComplementaire; pour les autres codes le system est est https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune",
              "product" : [
                {
                  "property" : "Patient.extension.url",
                  "value" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
                },
                {
                  "property" : "Patient.extension.valueAddress.extension.url",
                  "value" : "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-address-insee-code"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Statut_idpat",
          "target" : [
            {
              "code" : "Patient.extension.extension.valueCoding.code",
              "equivalence" : "equal",
              "product" : [
                {
                  "property" : "Patient.extension.url",
                  "value" : "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-identity-reliability"
                },
                {
                  "property" : "Patient.extension.extension.url",
                  "value" : "identityStatus"
                },
                {
                  "property" : "Patient.extension.extension.valueCoding.system",
                  "value" : "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0445"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "element" : [
        {
          "code" : "Messages/M_prescription_médicaments/Patient/Date_lunaire",
          "target" : [
            {
              "equivalence" : "unmatched",
              "comment" : "Les dates luanires ne sont pas à indiquer dans les ressources FHIR"
            }
          ]
        }
      ]
    }
  ]
}