FHIR Chat · Rendering Device.property error · IG creation

Stream: IG creation

Topic: Rendering Device.property error


view this post on Zulip Brian Reinhold (Sep 14 2018 at 16:55):

The IG Publisher is rendering the Device.property element in the following order:

property.valueQuantity
property.type
property.valueCode

according to the Device structure definition it is

property.type
property.valueQuantity
property.valueCode

My understanding is that order is important.

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:14):

ha it changed between versions?

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:21):

ha it changed between versions?

@Grahame Grieve I will check but I don't think so. The 'type' element kind of tells what the property is and 'types' usually come before the values. The main difference is that it used to be in the DeviceComponent but now the DeviceComponent doesn't exist.

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:23):

ha it changed between versions?

@Grahame Grieve I will check but I don't think so. The 'type' element kind of tells what the property is and 'types' usually come before the values. The main difference is that it used to be in the DeviceComponent but now the DeviceComponent doesn't exist.

Just made a quick check in the version with DeviceComponent's last stand and it is the same as it is now. 'type' is first.

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:24):

how can I reproduce this?

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:26):

how can I reproduce this?

I can zip up my tiny IG with one page and one resource.

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:26):

yes please

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:26):

not in github?

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:29):

not in github?

Not yet. Not exactly sure how to get it in github.. Working on it. Lloyd siad he would help with that. My IG is under the same administration as the PoCD IG with DoF and HCD (health care devices). So it is 'sponsered' if that is the correct terminology. I need a github id but I am not yet sure how to get that. That's where we are at the moment.

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:34):

you need a git hub user id? just register....

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:35):

you need a git hub user id? just register....

Okay. I thought I might need some kind of authorization from HCD to get on the HL7 group

view this post on Zulip Grahame Grieve (Sep 17 2018 at 09:43):

no. when I create the repository, I'll give you access

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:46):

yes please

PhdIG.zip

The examples directory is full of files (from Simplifier) but nothing in it is used. The 'resources' directory also has several files but only the PhdimplementationGuide and PhdDeviceStructureDefinition are used. The latter has the Device.property element. I put empty text files in the directories needed by the publisher so you should be able to run the publisher without doing anything.
The single page renders the structure definition in the various manners that I now know of. Also checking out 'liquid'. So viewing the rendered index.html file should show the diff and other renderings (all on one page).

view this post on Zulip Brian Reinhold (Sep 17 2018 at 09:46):

no. when I create the repository, I'll give you access

Okay, I will register now
Funny, it looks like my attempt to create a repo actually worked

https://github.com/brianreinhold/PhdIG

But I am sure that is not what I want. I don't know what my id is. I don't even know how I was allowed to do it. Going to delete it (has only a readme) if I can.

Okay, here is what I got. I already have a profile and user name (brianreinhold). Not sure why. I never signed up for anything. After a stack overflow check, I found a way to get my id. Here is what github gave me

{
  "login": "brianreinhold",
  "id": 39335803,
  "node_id": "MDQ6VXNlcjM5MzM1ODAz",
  "avatar_url": "https://avatars0.githubusercontent.com/u/39335803?v=4",
  "gravatar_id": "",
  "url": "https://api.github.com/users/brianreinhold",
  "html_url": "https://github.com/brianreinhold",
  "followers_url": "https://api.github.com/users/brianreinhold/followers",
  "following_url": "https://api.github.com/users/brianreinhold/following{/other_user}",
  "gists_url": "https://api.github.com/users/brianreinhold/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/brianreinhold/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/brianreinhold/subscriptions",
  "organizations_url": "https://api.github.com/users/brianreinhold/orgs",
  "repos_url": "https://api.github.com/users/brianreinhold/repos",
  "events_url": "https://api.github.com/users/brianreinhold/events{/privacy}",
  "received_events_url": "https://api.github.com/users/brianreinhold/received_events",
  "type": "User",
  "site_admin": false,
  "name": null,
  "company": null,
  "blog": "",
  "location": null,
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 0,
  "public_gists": 0,
  "followers": 0,
  "following": 0,
  "created_at": "2018-05-16T11:46:22Z",
  "updated_at": "2018-05-16T11:46:22Z"
}

By the way, I deleted that repository

view this post on Zulip Lloyd McKenzie (Sep 17 2018 at 14:46):

Ok, https://github.com/HL7/PHD now exists and you should have received an invite.


Last updated: Apr 12 2022 at 19:14 UTC