Skip to content

Commit

Permalink
Add more example for FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
breverseau committed Nov 26, 2024
1 parent 93f3a07 commit ea591bb
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Instance: ExamplePractitionerRegul
Instance: ExamplePractitionerRegul1
InstanceOf: FrPractitionerRegul
Description: "Exemple 1 practitioner flux régulateur"
Usage: #example
Expand Down
15 changes: 15 additions & 0 deletions input/fsh/examples/example-practitioner-regul2.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

Instance: ExamplePractitionerRegul2
InstanceOf: FrPractitionerRegul
Description: "Exemple 2 practitioner flux régulateur"
Usage: #example

* id = "1"
* identifier.type = $fr-v2-0203#IDNPS
* identifier.system = "urn:oid:1.2.250.1.71.4.2.1"
* identifier.value = "810002673899"

* active = true
* name.family = "MARIUS"
* name.given = "Jules"
* telecom.value = "jules.marius@test.com"
15 changes: 15 additions & 0 deletions input/fsh/examples/example-practitioner-regul3.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

Instance: ExamplePractitionerRegul3
InstanceOf: FrPractitionerRegul
Description: "Exemple 3 practitioner flux régulateur"
Usage: #example

* id = "1"
* identifier.type = $fr-v2-0203#IDNPS
* identifier.system = "urn:oid:1.2.250.1.71.4.2.1"
* identifier.value = "810002673899"

* active = false
* name.family = "MARIUS"
* name.given = "Jules"
* telecom.value = "jules.marius@test.com"
7 changes: 3 additions & 4 deletions input/pagecontent/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ curl -X PUT EDITEUR.fr/Practitioner?identifier=urn:oid:1.2.250.1.213.3.6|b6e3935

<ins>Résultat</ins>
<code>
`{"resourceType": "Practitioner",
{"resourceType": "Practitioner",
"id": "1",
"meta": {
"profile": [
Expand Down Expand Up @@ -639,7 +639,7 @@ curl -X PUT EDITEUR.fr/Practitioner?identifier=urn:oid:1.2.250.1.213.3.6|b6e3935
"system": "email",
"value": "jules.marius@test.com"
}
]}`
]}
</code>

**Pourrions-nous avoir un exemple d’appel dans le cas d’une modification de l’identifiant d’un compte régulateur ?**
Expand All @@ -650,7 +650,7 @@ L’exemple ci-dessous concerne la désactivation du compte du régulateur Jules
curl -X PUT EDITEUR.fr/Practitioner?identifier=urn:oid:1.2.250.1.71.4.2.1|810002673899 -H 'Accept: application/json+fhir' -d

<ins>Résultat</ins>
<code><pre>
<code>
{"resourceType": "Practitioner",
"id": "1",
"meta": {
Expand Down Expand Up @@ -688,7 +688,6 @@ curl -X PUT EDITEUR.fr/Practitioner?identifier=urn:oid:1.2.250.1.71.4.2.1|810002
"value": "jules.marius@test.com"
}
]}
</pre>
</code>

**Est-il nécessaire d’utiliser un nouveau endpoint pour la création des comptes régulateurs dans la solution logicielle éditeur ?**
Expand Down

0 comments on commit ea591bb

Please sign in to comment.