Skip to content

Commit ebbe131

Browse files
committed
Added instructions
1 parent eda77e9 commit ebbe131

6 files changed

+33
-6
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
temp
2+
fsh-generated
3+
template

_gencontinuous.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@ECHO OFF
2+
CALL ./_genonce.bat -watch

_gencontinuous.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
./_genonce.sh -watch

input/fsh/patient.fsh

+25-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,33 @@
22
// This file can be renamed, and additional FSH files can be added.
33
// SUSHI will look for definitions in any file using the .fsh ending.
44
Profile: MyPatient
5-
Parent: Patient
5+
Parent: ehealth-patient
66
Description: "An example profile of the Patient resource."
77
* name 1..* MS
88

99
Instance: PatientExample
1010
InstanceOf: MyPatient
11-
Description: "An example of a patient with a license to krill."
12-
* name
13-
* given[0] = "James"
14-
* family = "Pond"
11+
Usage: #example
12+
* meta.profile = "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
13+
* identifier.use = #official
14+
* identifier.system = "urn:oid:1.2.208.176.1.2"
15+
* identifier.value = "2512489996"
16+
* name.use = #official
17+
* name.family = "Berggren"
18+
* name.given[0] = "Nancy"
19+
* name.given[+] = "Ann"
20+
* telecom[0].system = #other
21+
* telecom[=].value = "NemSMS"
22+
* telecom[+].system = #other
23+
* telecom[=].value = "eBoks"
24+
* gender = #unknown
25+
* address.extension[0].url = "http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes"
26+
* address.extension[=].valueCodeableConcept = http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes#0330
27+
* address.extension[+].url = "http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes"
28+
* address.extension[=].valueCodeableConcept = http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes#DK-85
29+
* address.use = #home
30+
* address.line[0] = "Tårnhøjvej 47"
31+
* address.line[+] = "Landet"
32+
* address.city = "Aalborg Øst"
33+
* address.postalCode = "9220"
34+
* address.country = "Danmark"

readme.md

Whitespace-only changes.

sushi-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ publisher:
2727
dependencies:
2828
# hl7.fhir.us.core: 3.1.0
2929
dk.ehealth.sundhed.fhir.ig.core:
30-
id: dk.ehealth.sundhed.fhir.ig.core
30+
id: dk_ehealth_sundhed_fhir_ig_core
3131
uri: https://docs.ehealth.sundhed.dk/latest/ig/package.tgz
3232
version: 1.0.0
3333
#

0 commit comments

Comments
 (0)