Skip to content

Commit

Permalink
#133 orderer with minimal info
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed Jan 9, 2025
1 parent adb89fe commit 3156331
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Instance: 1c-DocumentReferenceStrict
InstanceOf: PublishDocumentReferenceStrict
Usage: #example
Title: "Publish 1cDoc-NeisseriaGonorrhoeae (Strict)"
Description: "Reporting Neisseria Gonorhoeae with minimal orderer information (name, plz, city)"
* contained = 1cDoc-NeisseriaGonorrhoeae
* status = #current
* identifier[0].system = "urn:ietf:rfc:3986"
* identifier[0].value = "urn:uuid:1901332d-6012-443f-9690-9291adb2e19d"
* content.attachment.language = #de-CH
* content.attachment.url = "#1cDoc-NeisseriaGonorrhoeae"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Instance: 1cPR-KsAbc
InstanceOf: ChElmPractitionerRoleOrderer
Usage: #example
Title: "1PR - Monika Giacometti @ Kantonsspital ABC"
Description: "Example for a CH ELM PractitionerRole: Orderer where the organization is not known, only the prtactitioner"
* practitioner = Reference(1cPract-KsAbc)

Instance: 1cPract-KsAbc
InstanceOf: ChElmPractitionerOrderer
Usage: #example
Title: "1Pract - Giacometti"
Description: "Example for a CH ELM Practitioner: Orderer where only the name, plz and city is known"
* name.family = "Giacometti"
* name.given.extension[dataabsentreason].valueCode = #unknown
* address.postalCode = "3000"
* address.city = "Bern"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Instance: 1cDR-NeisseriaGonorrhoeae
InstanceOf: ChElmDiagnosticReport
Usage: #example
Title: "1cDR - Neisseria Gonorrhoeae"
Description: "Example for a CH ELM DiagnosticReport: Laboratory Report"
* extension[DiagnosticReportCompositionR5].url = $diagnostic-report-composition-r5
* extension[DiagnosticReportCompositionR5].valueReference = Reference(Composition/1Comp-NeisseriaGonorrhoeae)
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:1901332d-6012-443f-9690-9291adb2e19d"
* status = #final
* code = $loinc#11502-2 "Laboratory report"
* subject = Reference(Pat-001)
* result = Reference(1Obs-NeisseriaGonorrhoeae)
* performer = Reference(1Org-Labor)
* basedOn = Reference(1cSR-Order)
* specimen = Reference(1Spec-Specimen)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Instance: 1cDoc-NeisseriaGonorrhoeae
InstanceOf: ChElmDocumentStrict
Usage: #example
Title: "1 Doc - Neisseria Gonorrhoeae"
Description: "Example for a CH ELM Document: Laboratory Report (where the 'Lab' is the same as the 'Author')"

* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:1901332d-6012-443f-9690-9291adb2e19d"
* type = #document
* timestamp = "2023-07-14T16:00:00+02:00"

* entry[Composition].fullUrl = "http://test.fhir.ch/r4/Composition/1Comp-NeisseriaGonorrhoeae"
* entry[Composition].resource = 1Comp-NeisseriaGonorrhoeae
* entry[DiagnosticReport].fullUrl = "http://test.fhir.ch/r4/DiagnosticReport/1cDR-NeisseriaGonorrhoeae"
* entry[DiagnosticReport].resource = 1cDR-NeisseriaGonorrhoeae
* entry[Patient].fullUrl = "http://test.fhir.ch/r4/Patient/Pat-001"
* entry[Patient].resource = Pat-001
* entry[Observation].fullUrl = "http://test.fhir.ch/r4/Observation/1Obs-NeisseriaGonorrhoeae"
* entry[Observation].resource = 1Obs-NeisseriaGonorrhoeae
* entry[Specimen][0].fullUrl = "http://test.fhir.ch/r4/Specimen/1Spec-Specimen"
* entry[Specimen][=].resource = 1Spec-Specimen
* entry[ServiceRequest][0].fullUrl = "http://test.fhir.ch/r4/ServiceRequest/1cSR-Order"
* entry[ServiceRequest][=].resource = 1cSR-Order

* entry[PractitionerRole][0].fullUrl = "http://test.fhir.ch/r4/PractitionerRole/1cPR-KsAbc"
* entry[PractitionerRole][=].resource = 1cPR-KsAbc

* entry[Practitioner][0].fullUrl = "http://test.fhir.ch/r4/Practitioner/1cPract-KsAbc"
* entry[Practitioner][=].resource = 1cPract-KsAbc

* entry[Organization][0].fullUrl = "http://test.fhir.ch/r4/Organization/1Org-Labor"
* entry[Organization][=].resource = 1Org-Labor
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Instance: 1cSR-Order
InstanceOf: ChElmServiceRequestLaboratoryOrder
Usage: #example
Title: "1cSR - Order"
Description: "Example for a CH ELM ServiceRequest: Laboratory Order"
* identifier.value = "22000938108"
* status = #completed
* intent = #order
* code = $loinc#697-3 "Neisseria gonorrhoeae [Presence] in Urethra by Organism specific culture"
* subject = Reference(Pat-001)
* specimen = Reference(1Spec-Specimen)
* requester = Reference(1cPR-KsAbc)
1 change: 1 addition & 0 deletions input/fsh/profiles/Practitioner.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Description: "This CH ELM base profile constrains the Practitioner resource for
* name ..1
* name.given ..1 MS
* name.given ^maxLength = 100
* name.given.extension contains $data-absent-reason named dataabsentreason 0..1
* name.family MS
* name.family ^maxLength = 100
* telecom[email] MS
Expand Down
1 change: 1 addition & 0 deletions input/ignoreWarnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ This element does not match any known slice defined in the profile http://hl7.eu
# Based on the design choice from HL7 Europe Laboratory Report (https://hl7.eu/fhir/laboratory/design-choice.html)
Entry 'http://test.fhir.ch/r4/DiagnosticReport/1DR-NeisseriaGonorrhoeae' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Entry 'http://test.fhir.ch/r4/DiagnosticReport/1bDR-NeisseriaGonorrhoeae' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Entry 'http://test.fhir.ch/r4/DiagnosticReport/1cDR-NeisseriaGonorrhoeae' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Entry 'urn:uuid:2f69f609-e3bf-4863-bc42-3cbf0568cab1' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Entry 'urn:uuid:9f5bb881-80f5-4962-8885-df6439ebe154' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Entry 'http://test.fhir.ch/r4/DiagnosticReport/3DR-CPE' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)
Expand Down
1 change: 1 addition & 0 deletions input/pagecontent/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All significant changes to this FHIR implementation guide will be documented on
* additional publication examples
* [#131](https://github.com/ahdis/ch-elm/issues/131) add check for ZSR number is valid
* [#31](https://github.com/ahdis/ch-elm/issues/31) Reduction min cardinality Specimen.type from 1 to 0
* [#133](https://github.com/ahdis/ch-elm/issues/133) Example for for an Practitioner Orderer with only a last name and no org, see example [Bundle](DocumentReference-1c-DocumentReferenceStrict.html) or [DocumentReference](DocumentReference-1c-DocumentReferenceStrict.html)

### 1.7.0 2024/11/28

Expand Down
30 changes: 30 additions & 0 deletions input/pagecontent/document.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,36 @@ See the examples in chapter 2.2 to learn how to use the resource profiles for di
</tbody>
</table>

#### Example withh minimal practitioner orderer information (only name, plz, city)

<table class="grid">
<colgroup>
<col style="width:25%" />
<col style="width:50%" />
<col style="width:15%" />
<col style="width:10%" />
</colgroup>
<thead>
<tr>
<th>Disease</th>
<th>observation.code display</th>
<th>LOINC observation.code<br />(leading code)</th>
<th>FHIR Document</th>
</tr>
</thead>
<tbody>
<tr>
<td>Gonorrhoea</td>
<td>Neisseria gonorrhoeae [Presence] in Urethra by Organism specific culture</td>
<td>697-3</td>
<td>
<a href="Bundle-1cDoc-NeisseriaGonorrhoeae.json.html">JSON</a>,
<a href="Bundle-1cDoc-NeisseriaGonorrhoeae.xml.html">XML</a>
</td>
</tr>
</tbody>
</table>

#### Scenario for confirmation tests

<table class="grid">
Expand Down

0 comments on commit 3156331

Please sign in to comment.