Add history to show how it works

This commit is contained in:
Grahame Grieve 2020-04-29 09:57:18 +10:00
parent 6aa1e4dcd5
commit fe8f50b8f2
2 changed files with 60 additions and 0 deletions

40
input/history/h1.json Normal file
View File

@ -0,0 +1,40 @@
{
"resourceType" : "Bundle",
"id" : "h1",
"type" : "collection",
"entry" : [{
"resource" : {
"resourceType" : "AuditEvent",
"id" : "h1-1",
"type" : {
"system": "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
"code" : "amend"
},
"action" : "U",
"period" : { "end" : "2015-11-30" },
"purposeOfEvent" : [{
"text": "Add \"conductible\" property to ActRelationshipType and ParticipationType codes.for ContextConduction RIM Change. And create Concept domain CodeSystem and ValueSet for ContextConductionStyle"
}],
"agent" : [{
"type" : {
"coding": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code":"AUT"
}
},
"name" : "Rob Hausam"
},{
"type" : {
"coding": {
"system": "http://terminology.hl7.org/CodeSystem/contractsignertypecodes",
"code":"REVIEWER"
}
},
"name" : "Vocab"
}],
"entity" : [{
"what" : { "reference" : "StructureDefinition/myObservation" }
}]
}
}]
}

View File

@ -38,6 +38,11 @@
<license value="CC0-1.0"/>
<!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
<fhirVersion value="4.0.1"/>
<!-- <dependsOn>
<uri value="http://somethign"/>
<packageId value="de.basisprofil.r4"/>
<version value="0.9.2"/>
</dependsOn> -->
<definition>
<!-- You don't need to define any groupings. The IGPublisher will define them for you. You only need to do so if your IG is 'special' and it's
inappropriate to use the defaults. Feel free to provide feedback about the defaults... -->
@ -47,6 +52,11 @@
</reference>
<description value="Overriding description because we can"/>
</resource>
<!--<resource>
<reference>
<reference value="MyLogicalModel/AS"/>
</reference>
</resource> -->
<resource>
<reference>
<reference value="Patient/example"/>
@ -55,6 +65,12 @@
<description value="A simple example showing how examples are defined and referenced"/>
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
</resource>
<resource>
<reference>
<reference value="Bundle/h1"/>
</reference>
<name value="History"/>
</resource>
<!-- <resource>
<reference>
<reference value="Library/example"/>
@ -107,6 +123,10 @@
<code value="find-other-resources"/>
<value value="true"/>
</parameter>
<parameter>
<code value="path-resource"/>
<value value="input\history"/>
</parameter>
<parameter>
<code value="path-binary"/>
<value value="input\cql"/>