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

Création d'exemples #142

Merged
merged 31 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
508f3bc
Début exemple professionnel
paulineheurtebise Nov 3, 2023
d5dc10e
Exemples - 1ere version
paulineheurtebise Nov 14, 2023
3b8b378
add example
nriss Apr 10, 2024
195cfed
update example
nriss Apr 10, 2024
9afa224
fix code
nriss Apr 10, 2024
9b9a6b7
change name
nriss Apr 10, 2024
a2741a6
update
nriss Apr 10, 2024
bdbcd94
ajout-hopital-fictif
nriss Apr 10, 2024
a90b32e
Merge branch 'main' into 110-creation-exemples
nriss Apr 23, 2024
a0815ad
Merge branch 'nr-add-example' into 110-creation-exemples
nriss Apr 23, 2024
ff01a0a
update examples
nriss Apr 23, 2024
5b11125
correct URLs
nriss Apr 23, 2024
f7ea7e4
update prac
nriss Jun 3, 2024
478b5e1
rm interopsante old url
nriss Jul 1, 2024
6a867e8
update urls and extensions
nriss Jul 2, 2024
3e0da8d
Merge branch 'main' into 110-creation-exemples
nriss Jul 2, 2024
c848d1d
update resources
nriss Jul 2, 2024
41eddcf
update examples
nriss Jul 2, 2024
b42aecf
fix examples
nriss Jul 2, 2024
186abe0
update mapping
nriss Jul 2, 2024
4b5a225
fix examples
nriss Jul 2, 2024
39e50e3
update discriminator
nriss Jul 2, 2024
315dcdc
update discr
nriss Jul 2, 2024
c2bd93e
resolve errors
nriss Jul 2, 2024
8a9055f
modify discriminator Practitioner.qualification
nriss Jul 2, 2024
fdfbfa0
modify qualif place
nriss Jul 2, 2024
c7701a0
resolve errors
nriss Jul 2, 2024
a57754d
add mailbox mss
nriss Jul 2, 2024
e2aa982
correct error
nriss Jul 2, 2024
461c62b
add note
nriss Jul 9, 2024
78a1a33
Merge branch 'main' into 110-creation-exemples
nriss Jul 9, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
validator_cli: "true"
publish_repo: "ansforge/IG-website-release"
publish_repo_token : ${{ secrets.ANS_IG_API_TOKEN }}
publish_path_outpout : "./IG-website-release/www/ig/fhir"
publish_path_outpout : "./IG-website-release/www/ig/fhir"
42 changes: 42 additions & 0 deletions input/fsh/examples/AsOrganizationExampleFictive.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Instance: example-organization-fictive
InstanceOf: AsOrganizationProfile
* meta.profile = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-organization"

* identifier[idNatSt].use = #official
* identifier[idNatSt].type = https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203#IDNST
* identifier[idNatSt].system = "urn:oid:1.2.250.1.71.4.2.2"
* identifier[idNatSt].value = "1458174839"

* identifier[finess].type = https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203#FINEG
* identifier[finess].system = "https://finess.esante.gouv.fr"
* identifier[finess].value = "458174839"


* active = true

* name = "Hôpital fictif"
* alias = "Hôpital fictif pour le guide d'implémentation de l'annuaire"

* address.city = "BOURGES"
* address.postalCode = "18000"
* address.district = "18"

* address.extension[0].url = "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-address-insee-code"
* address.extension[0].valueCoding = https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune#18000

* address.line = "R DE LA LIBERTE, 18000 BOURGES"
* address.line.extension[0].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"
* address.line.extension[0].valueString = "R"

* address.line.extension[1].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"
* address.line.extension[1]..valueString = "DE LA LIBERTE"

* telecom[0].system = #phone
* telecom[0].value = "0248391028"
* telecom[0].rank = 1

* telecom[1].system = #fax
* telecom[1].value = "0248391029"

* telecom[2].system = #email
* telecom[2].value = "[email protected]"
41 changes: 41 additions & 0 deletions input/fsh/examples/AsOrganizationExampleNancy.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Instance: example-organization-nancy
InstanceOf: AsOrganizationProfile
* meta.profile = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-organization"

* identifier[idNatSt].use = #official
* identifier[idNatSt].type = https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203#IDNST
* identifier[idNatSt].system = "urn:oid:1.2.250.1.71.4.2.2"
* identifier[idNatSt].value = "1540002698"

* identifier[finess].type = https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203#FINEG
* identifier[finess].system = "https://finess.esante.gouv.fr"
* identifier[finess].value = "540002698"


* active = true

* name = "CHRU NANCY - HOPITAUX DE BRABOIS"

* address.city = "VANDOEUVRE LES NANCY CEDEX"
* address.postalCode = "54511"
* address.district = "52"
* address.extension[0].url = "https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-address-insee-code"
* address.extension[0].valueCoding = https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune#54547


* address.line = "R DU MORVAN, 54511 VANDOEUVRE LES NANCY CEDEX"
* address.line.extension[0].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"
* address.line.extension[0].valueString = "R"

* address.line.extension[1].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"
* address.line.extension[1]..valueString = "DU MORVAN"

* telecom[0].system = #phone
* telecom[0].value = "0383153030"
* telecom[0].rank = 1

* telecom[1].system = #fax
* telecom[1].value = "0383153522"

* telecom[2].system = #email
* telecom[2].value = "[email protected]"
66 changes: 66 additions & 0 deletions input/fsh/examples/DP/PP16DP-Organization.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Instance: pp16dp-organization
InstanceOf: AsDpOrganizationProfile
Usage: #example
// Basé sur le fichier tests-Platines-rass\Services_delta_donnees_actives\lot_complet\detail_jdd\4-Delta_jour2\PM\PM2PM2.json

// Identifiant technique
* id = "481677DP"

// Métadonnées
* meta
* versionId = "0.1"
* source = "https://annuaire.sante.fr"
* lastUpdated = "2019-09-02T01:00:00.000+01:00"
* profile[+] = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-dr-organization"

// Actif
* active = true

// Identifiant fonctionnel
* identifier[+][idNatSt]
* system = "urn:oid:1.2.250.1.71.4.2.2"
* use = #official
* value = "1580008803"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #IDNST
* identifier[+][finess]
* system = "https://finess.esante.gouv.fr"
* use = #official
* value = "580008803"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #FINEJ
* identifier[+][rppsRang]
* system = "https://rppsrang.esante.gouv.fr"
* use = #official
* value = "F58000880311022013"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #INTRN

// Nom
* name = "PHARMACIE NOLOT"

// Langage
* language = #fr

// Type
* type[organizationType][+]
* extension[as-ext-organization-types].valueCode = #organizationType
* coding
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-3307"
* code = #LEGAL-ENTITY
* type[secteurActiviteRASS][+]
* extension[as-ext-organization-types].valueCode = #secteurActiviteRASS
* coding
* system = "https://mos.esante.gouv.fr/NOS/TRE_R02-SecteurActivite/FHIR/TRE-R02-SecteurActivite"
* code = #SA33

// Période
* extension[usePeriod]
* valuePeriod
* start = "2019-09-02"
74 changes: 74 additions & 0 deletions input/fsh/examples/DP/PP16DP-Practitioner.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
Instance: pp16dp-practitioner
InstanceOf: AsDpPractitionerProfile
Usage: #example
// Basé sur le fichier tests-Platines-rass\Services_delta_donnees_actives\lot_complet\detail_jdd\1-Full_jour0\PP\PP16\Practitioner_PP16.json

// Identifiant technique
* id = "3719500DP"

// Métadonnées
* meta
* versionId = "0.1"
* source = "https://annuaire.sante.fr"
* lastUpdated = "2019-08-31T01:00:00.000+01:00"
* profile[+] = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-dr-practitioner"

// Actif
* active = true

// Identifiant fonctionnel
* identifier[idNatPs][+]
* system = "urn:oid:1.2.250.1.71.4.2.1"
* use = #official
* value = "810102727017"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #IDNPS
* identifier[rpps][+]
* system = "https://rpps.esante.gouv.fr"
* use = #official
* value = "10102727017"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #RPPS

// Nom
* name[+]
* prefix = "M"
* use = #usual
* family = "CHATELIER"
* given[+] = "David"


// Langage
* language = #fr

// Télécommunication
* telecom[mailbox-mss][+]
* system = #email
* value = "[email protected]"
* rank = 1
* telecom[+]
* system = #phone
* value = "0612122216"
* rank = 1
* telecom[+]
* system = #email
* value = "[email protected]"

// Qualification
* qualification[degree][+]
* code
* coding[+][degree]
* system = "https://mos.esante.gouv.fr/NOS/TRE_R48-DiplomeEtatFrancais/FHIR/TRE-R48-DiplomeEtatFrancais"
* code = #DE01
* coding[+][degreeType]
* system = "https://mos.esante.gouv.fr/NOS/TRE_R14-TypeDiplome/FHIR/TRE-R14-TypeDiplome"
* code = #DE

* qualification[exercicePro]
* code
* coding[profession] = https://mos.esante.gouv.fr/NOS/TRE_G15-ProfessionSante/FHIR/TRE-G15-ProfessionSante#21
* coding[categorieProfession] = https://mos.esante.gouv.fr/NOS/TRE_R09-CategorieProfessionnelle/FHIR/TRE-R09-CategorieProfessionnelle#C
40 changes: 40 additions & 0 deletions input/fsh/examples/DP/PP16DP-PractitionerRole.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Instance: pp16dp-practitioner-role
InstanceOf: AsDpPractitionerRoleProfile
Usage: #example
// Basé sur les fichiers :
// tests-Platines-rass\Services_delta_donnees_actives\lot_complet\detail_jdd\1-Full_jour0\PP\PP16\professionalRole_ExePro_PP16.json
// tests-Platines-rass\Services_delta_donnees_actives\lot_complet\detail_jdd\1-Full_jour0\PP\PP16\organizationalRole_SituExe_PP16.json --> modif : organization.identifier.value

// Identifiant technique
* id = "5015602DP"

// Métadonnées
* meta
* versionId = "0.1"
* source = "https://annuaire.sante.fr"
* lastUpdated = "2019-08-31T01:00:00.000+01:00"
* profile[+] = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-dr-practitionerrole"

// Actif
* active = true

// Identifiant fonctionnel
* identifier[+]
* system = "https://annuaire.sante.fr"
* value = "1001500032"

// Lien professionnel
* practitioner = Reference(Practitioner/3719500)

// Lien EG
* organization = Reference(Organization/481677)

// Code
* code[genreActivite] = https://mos.esante.gouv.fr/NOS/TRE_R22-GenreActivite/FHIR/TRE-R22-GenreActivite#GENR01
* code[modeExercice] = https://mos.esante.gouv.fr/NOS/TRE_R23-ModeExercice/FHIR/TRE-R23-ModeExercice#L
* code[fonction] = https://mos.esante.gouv.fr/NOS/TRE_R21-Fonction/FHIR/TRE-R21-Fonction#FON-AU

// Langage
* language = #fr


99 changes: 99 additions & 0 deletions input/fsh/examples/DP/PP19DP-Organization-EG-CH.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
Instance: pp19dp-organization-eg-cab
InstanceOf: AsDpOrganizationProfile
Usage: #example
// Basé sur le fichier tests-Platines-rass\Services_delta_donnees_actives\lot_complet\detail_jdd\2-Full_jour1\PM\PM1\PM1.json

// Identifiant technique
* id = "158480DP"

// Métadonnées
* meta
* versionId = "0.1"
* source = "https://annuaire.sante.fr"
* lastUpdated = "2019-09-01T01:00:00.000+01:00"
* profile[+] = "https://interop.esante.gouv.fr/ig/fhir/annuaire/StructureDefinition/as-dr-organization"

// Actif
* active = true

// Identifiant fonctionnel
* identifier[idNatSt][+]
* system = "urn:oid:1.2.250.1.71.4.2.2"
* use = #official
* value = "1754567860"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #IDNST
* identifier[+][finess]
* system = "https://finess.esante.gouv.fr"
* use = #official
* value = "754567860"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #FINEG
* identifier[rppsRang][+]
* system = "https://rppsrang.esante.gouv.fr"
* use = #official
* value = "F754567860"
* type
* coding[+]
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"
* code = #INTRN

// Nom
* name = "CH EURE-SEINE"

// Langage
* language = #fr

// Type
* type[organizationType][+]
* extension[as-ext-organization-types].valueCode = #organizationType
* coding
* system = "https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-3307"
* code = #GEOGRAPHICAL-ENTITY
* type[secteurActiviteRASS][+]
* extension[as-ext-organization-types].valueCode = #secteurActiviteRASS
* coding
* system = "https://mos.esante.gouv.fr/NOS/TRE_R02-SecteurActivite/FHIR/TRE-R02-SecteurActivite"
* code = #SA01
* type[activiteINSEE][+]
* extension[as-ext-organization-types].valueCode = #activiteINSEE
* coding
* system = "https://mos.esante.gouv.fr/NOS/TRE_R75-InseeNAFrev2Niveau5/FHIR/TRE-R75-InseeNAFrev2Niveau5/"
* code = #86.10Z

// Télécommunication
* telecom[+]
* system = #phone
* value = "0450636363"
* rank = 1
* telecom[+]
* system = #fax
* value = "0450455933"

// Adresse
* address
* city = "PARIS"
* postalCode = "75014"
* extension[inseeCode]
* valueCoding
* system = "https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune"
* code = #75114
* line
* extension[houseNumber]
* url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"
* valueString = "96"
* extension[streetNameType]
* url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"
* valueString = "R"
* extension[streetNameBase]
* url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"
* valueString = "DIDOT"

// Période
* extension[usePeriod]
* valuePeriod
* start = "2019-06-01"
Loading
Loading